Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 173 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9612/0.9612, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.006656/0.006656, allocations: 0.976 MB / 261.2 MB, free: 12.08 MB / 250.7 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 278 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.359e-05, allocations: 2.312 kB / 278 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.006625/0.006649, allocations: 2.866 MB / 280.9 MB, free: 8.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00526/0.01191, allocations: 1.662 MB / 282.5 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.01207, allocations: 7.938 kB / 282.5 MB, free: 6.746 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005831/0.01265, allocations: 198.9 kB / 282.7 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.01286, allocations: 99.06 kB / 282.8 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005855/0.01344, allocations: 307 kB / 283.1 MB, free: 6.152 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004071/0.01385, allocations: 398.2 kB / 283.5 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003169/0.01702, allocations: 83.98 kB / 283.6 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003281/0.01735, allocations: 219.5 kB / 283.8 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.01754, allocations: 123.6 kB / 283.9 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.01758, allocations: 28 kB / 284 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.0179, allocations: 175.6 kB / 284.1 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.987e-05/0.01798, allocations: 87.67 kB / 284.2 MB, free: 5.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.01808, allocations: 111.7 kB / 284.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.01849, allocations: 354.6 kB / 284.7 MB, free: 4.602 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.0185, allocations: 0 / 284.7 MB, free: 4.602 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.0185, allocations: 0 / 284.7 MB, free: 4.602 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.0185, allocations: 4 kB / 284.7 MB, free: 4.598 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0007243/0.01923, allocations: 0.5658 MB / 285.2 MB, free: 4.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.01927, allocations: 8.031 kB / 285.2 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.01942, allocations: 52.89 kB / 285.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.01968, allocations: 204.6 kB / 285.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.01971, allocations: 21.03 kB / 285.5 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.01974, allocations: 32.38 kB / 285.5 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.02009, allocations: 227.8 kB / 285.8 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.0201, allocations: 4.188 kB / 285.8 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.02012, allocations: 8.375 kB / 285.8 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.02012, allocations: 11.94 kB / 285.8 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.02023, allocations: 72.55 kB / 285.9 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008317/0.02106, allocations: 0.6707 MB / 286.5 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.02124, allocations: 148.1 kB / 286.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.23e-05/0.02132, allocations: 64.81 kB / 286.7 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/0.02136, allocations: 12 kB / 286.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.02139, allocations: 42.44 kB / 286.8 MB, free: 2.336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.562e-06/0.02139, allocations: 4 kB / 286.8 MB, free: 2.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.002295/0.02368, allocations: 1.156 MB / 288 MB, free: 1.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.02372, allocations: 55.41 kB / 288 MB, free: 1.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.02388, allocations: 246.9 kB / 288.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.02389, allocations: 33.7 kB / 288.3 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.02398, allocations: 176.9 kB / 288.5 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.02404, allocations: 122.9 kB / 288.6 MB, free: 492 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/0.02411, allocations: 69.67 kB / 288.6 MB, free: 416 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.02421, allocations: 346.7 kB / 289 MB, free: 60 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.02426, allocations: 30.81 kB / 289 MB, free: 28 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1049/0.1291, allocations: 81.02 kB / 289.1 MB, free: 24.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.1294, allocations: 146.4 kB / 289.2 MB, free: 24.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1294, allocations: 0 / 289.2 MB, free: 24.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008322/0.1302, allocations: 382.3 kB / 289.6 MB, free: 24.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1302, allocations: 9.656 kB / 289.6 MB, free: 24.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1302, allocations: 6.062 kB / 289.6 MB, free: 24.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.1317, allocations: 0.4946 MB / 290.1 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.132, allocations: 72.47 kB / 290.2 MB, free: 24.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003907/0.1323, allocations: 1.13 MB / 291.3 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.1325, allocations: 14.84 kB / 291.3 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.1325, allocations: 8.844 kB / 291.3 MB, free: 23.11 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.1326, allocations: 132.6 kB / 291.5 MB, free: 22.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.1326, allocations: 32.81 kB / 291.5 MB, free: 22.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007071/0.1334, allocations: 360 kB / 291.9 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1334, allocations: 3.406 kB / 291.9 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1334, allocations: 0 / 291.9 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1334, allocations: 7.188 kB / 291.9 MB, free: 22.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009381/0.1343, allocations: 0.6198 MB / 292.5 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1343, allocations: 2.719 kB / 292.5 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.1345, allocations: 56.81 kB / 292.5 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/0.1358, allocations: 0.4925 MB / 293 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1359, allocations: 7.203 kB / 293 MB, free: 22.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003446/0.1362, allocations: 1.145 MB / 294.2 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1362, allocations: 6.406 kB / 294.2 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.1369, allocations: 0.5194 MB / 294.7 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.137, allocations: 32.05 kB / 294.7 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.137, allocations: 9.031 kB / 294.8 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/0.1371, allocations: 14.36 kB / 294.8 MB, free: 21.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.1371, allocations: 21.42 kB / 294.8 MB, free: 21.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1371, allocations: 9.766 kB / 294.8 MB, free: 21.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.392e-05/0.1372, allocations: 87.88 kB / 294.9 MB, free: 21.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1372, allocations: 0 / 294.9 MB, free: 21.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002777/0.1375, allocations: 88.97 kB / 295 MB, free: 21.32 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001639/0.1377, allocations: 116.9 kB / 295.1 MB, free: 21.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003266/0.138, allocations: 175.1 kB / 295.3 MB, free: 21.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.138, allocations: 3.406 kB / 295.3 MB, free: 21.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.1382, allocations: 118.9 kB / 295.4 MB, free: 21.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.1384, allocations: 44.77 kB / 295.4 MB, free: 21.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1395, allocations: 0.6611 MB / 296.1 MB, free: 20.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.306e-05/0.1395, allocations: 98.59 kB / 296.2 MB, free: 20.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.24e-05/0.1396, allocations: 31.27 kB / 296.2 MB, free: 20.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.1397, allocations: 79.25 kB / 296.3 MB, free: 20.73 MB / 266.7 MB Notification: Performance of SimCode: time 1.523e-06/0.1397, allocations: 0 / 296.3 MB, free: 20.73 MB / 266.7 MB Notification: Performance of Templates: time 0.006751/0.1465, allocations: 3.549 MB / 299.8 MB, free: 20.44 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.651188906747848]