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.001286/0.001286, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001361/0.001361, allocations: 177 kB / 23.36 MB, free: 1.125 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.985/0.985, allocations: 177.2 MB / 203.8 MB, free: 5.457 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.005055/0.005055, allocations: 0.9739 MB / 261.2 MB, free: 12.05 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.493e-06/1.493e-06, allocations: 0 / 277.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.493e-05, allocations: 6.312 kB / 278 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.004528/0.004553, allocations: 2.826 MB / 280.8 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.007539, allocations: 1.662 MB / 282.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.007762, allocations: 11.94 kB / 282.5 MB, free: 6.797 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007672/0.00853, allocations: 190.9 kB / 282.6 MB, free: 6.609 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.008833, allocations: 107 kB / 282.7 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/0.00964, allocations: 307 kB / 283 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005526/0.01019, allocations: 398.3 kB / 283.4 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.01038, allocations: 87.98 kB / 283.5 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.01076, allocations: 227.4 kB / 283.7 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.01098, allocations: 123.6 kB / 283.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.01103, allocations: 28 kB / 283.9 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.01138, allocations: 171.6 kB / 284.1 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.799e-05/0.01148, allocations: 79.69 kB / 284.1 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.01185, allocations: 111.7 kB / 284.2 MB, free: 5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005241/0.01237, allocations: 350.7 kB / 284.6 MB, free: 4.656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.01238, allocations: 4 kB / 284.6 MB, free: 4.652 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01238, allocations: 0 / 284.6 MB, free: 4.652 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.01239, allocations: 7.938 kB / 284.6 MB, free: 4.645 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.0008665/0.01325, allocations: 0.558 MB / 285.2 MB, free: 4.062 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.01329, allocations: 8.031 kB / 285.2 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.01349, allocations: 52.89 kB / 285.2 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.01378, allocations: 208.6 kB / 285.4 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.01382, allocations: 21.03 kB / 285.4 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.01386, allocations: 28.38 kB / 285.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.01421, allocations: 223.8 kB / 285.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.01422, allocations: 192 / 285.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.01424, allocations: 8.375 kB / 285.7 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.01425, allocations: 11.94 kB / 285.7 MB, free: 3.469 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.01441, allocations: 76.48 kB / 285.8 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.01561, allocations: 0.663 MB / 286.4 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.01586, allocations: 167.5 kB / 286.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.01597, allocations: 60.81 kB / 286.7 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/0.01602, allocations: 12 kB / 286.7 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.01605, allocations: 46.5 kB / 286.7 MB, free: 2.387 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 3.377e-06/0.01606, allocations: 3.984 kB / 286.7 MB, free: 2.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.005409/0.02147, allocations: 1.14 MB / 287.9 MB, free: 1.203 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.0215, allocations: 59.39 kB / 287.9 MB, free: 1.133 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.02172, allocations: 258.9 kB / 288.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.02174, allocations: 29.7 kB / 288.2 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.02185, allocations: 176.9 kB / 288.4 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.7e-05/0.02193, allocations: 122.9 kB / 288.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.485e-05/0.02203, allocations: 69.66 kB / 288.6 MB, free: 472 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.02214, allocations: 346.7 kB / 288.9 MB, free: 116 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.587e-05/0.02222, allocations: 34.8 kB / 288.9 MB, free: 80 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1213/0.1435, allocations: 84.83 kB / 289 MB, free: 24.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.1437, allocations: 142.2 kB / 289.2 MB, free: 24.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1437, allocations: 0 / 289.2 MB, free: 24.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008249/0.1445, allocations: 387.3 kB / 289.5 MB, free: 24.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1446, allocations: 8.375 kB / 289.5 MB, free: 24.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.1446, allocations: 5.781 kB / 289.6 MB, free: 24.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.146, allocations: 0.495 MB / 290 MB, free: 24.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.1462, allocations: 58.03 kB / 290.1 MB, free: 24.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003754/0.1465, allocations: 1.138 MB / 291.2 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1467, allocations: 10.5 kB / 291.3 MB, free: 23.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.1467, allocations: 9.125 kB / 291.3 MB, free: 23.21 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.0001005/0.1468, allocations: 129.1 kB / 291.4 MB, free: 23.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.1468, allocations: 28.69 kB / 291.4 MB, free: 23.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.1475, allocations: 355.6 kB / 291.8 MB, free: 23.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1475, allocations: 3.469 kB / 291.8 MB, free: 23.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.1475, allocations: 1.281 kB / 291.8 MB, free: 23.03 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1475, allocations: 5.484 kB / 291.8 MB, free: 23.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008642/0.1483, allocations: 0.629 MB / 292.4 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1483, allocations: 5.094 kB / 292.4 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.1484, allocations: 41.88 kB / 292.4 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.1497, allocations: 499.4 kB / 292.9 MB, free: 22.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1497, allocations: 7.672 kB / 292.9 MB, free: 22.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003122/0.1501, allocations: 1.146 MB / 294.1 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1501, allocations: 1.219 kB / 294.1 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.1507, allocations: 0.5277 MB / 294.6 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.1508, allocations: 24.33 kB / 294.6 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.1508, allocations: 10 kB / 294.7 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.1509, allocations: 15.12 kB / 294.7 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1509, allocations: 24.86 kB / 294.7 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1509, allocations: 5.094 kB / 294.7 MB, free: 21.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.764e-05/0.151, allocations: 89.31 kB / 294.8 MB, free: 21.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.151, allocations: 0.5469 kB / 294.8 MB, free: 21.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002869/0.1513, allocations: 92.92 kB / 294.9 MB, free: 21.42 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.0001649/0.1515, allocations: 114.5 kB / 295 MB, free: 21.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.1518, allocations: 174.4 kB / 295.2 MB, free: 21.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.1518, allocations: 2.156 kB / 295.2 MB, free: 21.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.1519, allocations: 126.1 kB / 295.3 MB, free: 21.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.1522, allocations: 36.11 kB / 295.3 MB, free: 21.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1532, allocations: 0.6592 MB / 296 MB, free: 20.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.215e-05/0.1532, allocations: 104.1 kB / 296.1 MB, free: 20.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.1533, allocations: 25.94 kB / 296.1 MB, free: 20.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.027e-05/0.1534, allocations: 83.22 kB / 296.2 MB, free: 20.83 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1534, allocations: 1.062 kB / 296.2 MB, free: 20.83 MB / 266.7 MB Notification: Performance of Templates: time 0.006322/0.1597, allocations: 3.411 MB / 299.6 MB, free: 20.55 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 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7423472106456757]