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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 111.2 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 186.5 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007996/0.007996, allocations: 1.237 MB / 292.4 MB, free: 13.64 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 404 MB, free: 31.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06574/0.06695, allocations: 49.7 MB / 453.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.003568/0.07055, allocations: 2.8 MB / 456.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.07285, allocations: 1.643 MB / 458.1 MB, free: 9.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.07299, allocations: 4 kB / 458.1 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00061/0.07361, allocations: 202.9 kB / 458.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.07382, allocations: 91.25 kB / 458.4 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.07441, allocations: 283.1 kB / 458.7 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.07486, allocations: 398.5 kB / 459.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.07506, allocations: 113.7 kB / 459.2 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.07521, allocations: 143.4 kB / 459.3 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.07541, allocations: 163.2 kB / 459.5 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.07547, allocations: 28 kB / 459.5 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.0758, allocations: 195.6 kB / 459.7 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.777e-05/0.0759, allocations: 79.73 kB / 459.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.07605, allocations: 175.1 kB / 459.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.07651, allocations: 454.5 kB / 460.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.07652, allocations: 0 / 460.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07653, allocations: 0 / 460.4 MB, free: 7.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.07654, allocations: 4 kB / 460.4 MB, free: 7.18 MB / 334.1 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.0009487/0.07749, allocations: 0.6467 MB / 461 MB, free: 6.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.07753, allocations: 11.89 kB / 461 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.314e-05/0.07762, allocations: 44.47 kB / 461.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.07795, allocations: 282.5 kB / 461.4 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.07798, allocations: 24.94 kB / 461.4 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.07803, allocations: 24.38 kB / 461.4 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.07853, allocations: 273.2 kB / 461.7 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.07855, allocations: 4 kB / 461.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.07858, allocations: 12 kB / 461.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.0786, allocations: 7.984 kB / 461.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.07909, allocations: 246.1 kB / 461.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.08066, allocations: 1.072 MB / 463 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.08112, allocations: 246.4 kB / 463.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.08139, allocations: 128.8 kB / 463.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.08145, allocations: 12 kB / 463.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.08149, allocations: 42.55 kB / 463.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.08149, allocations: 0 / 463.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.004296/0.08579, allocations: 1.62 MB / 465.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.08584, allocations: 59.41 kB / 465.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.08611, allocations: 282.9 kB / 465.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.08615, allocations: 33.7 kB / 465.4 MB, free: 1.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.08626, allocations: 192.2 kB / 465.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.528e-05/0.08635, allocations: 126.2 kB / 465.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.549e-05/0.08646, allocations: 65.69 kB / 465.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.08658, allocations: 338.8 kB / 466.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.08682, allocations: 119.9 kB / 466.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.0871, allocations: 168.5 kB / 466.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.0876, allocations: 306 kB / 466.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.08762, allocations: 0 / 466.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001663/0.08928, allocations: 0.6173 MB / 467.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.08931, allocations: 11.98 kB / 467.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.08932, allocations: 0 / 467.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.09212, allocations: 0.5246 MB / 467.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.09241, allocations: 55.91 kB / 467.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008488/0.09326, allocations: 1.288 MB / 469.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.09348, allocations: 16.02 kB / 469.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.09351, allocations: 15.94 kB / 469.2 MB, free: 13.9 MB / 350.1 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.0001534/0.09367, allocations: 157.7 kB / 469.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.09374, allocations: 39.75 kB / 469.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.09532, allocations: 0.5722 MB / 470 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.09534, allocations: 4 kB / 470 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.09534, allocations: 0 / 470 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.09542, allocations: 108.7 kB / 470.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.09547, allocations: 4 kB / 470.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.09568, allocations: 12 kB / 470.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.09575, allocations: 31.89 kB / 470.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001174/0.09693, allocations: 0.5411 MB / 470.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008869/0.09783, allocations: 0.6568 MB / 471.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002427/0.09809, allocations: 131.9 kB / 471.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.09827, allocations: 202 kB / 471.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Backend: time 3.11e-07/0.09828, allocations: 0 / 471.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009031/0.0992, allocations: 338.3 kB / 472 MB, free: 11.04 MB / 350.1 MB Notification: Performance of SimCode: time 0.001218/0.1004, allocations: 1.235 MB / 473.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Templates: time 0.007738/0.1082, allocations: 4.07 MB / 477.3 MB, free: 5.699 MB / 350.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile (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=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1)