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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01205/0.01205, allocations: 1.176 MB / 9.249 MB, free: 1.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 221.5 MB / 231.5 MB, free: 6.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008268/0.0008268, allocations: 89.14 kB / 282.6 MB, free: 3.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.155e-05/1.158e-05, allocations: 0 / 339.5 MB, free: 8.012 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0845/0.08453, allocations: 50.68 MB / 390.2 MB, free: 5.289 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2886/0.3731, allocations: 83.68 MB / 473.9 MB, free: 8.543 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.3734, allocations: 67.97 kB / 473.9 MB, free: 8.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03228/0.4057, allocations: 11.18 MB / 485.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4057, allocations: 0 / 485.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.247e-05/0.4058, allocations: 12 kB / 485.1 MB, free: 13.23 MB / 362.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.0008811/0.4067, allocations: 0.5682 MB / 485.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.4067, allocations: 15.98 kB / 485.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.278e-05/0.4068, allocations: 35.53 kB / 485.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.4071, allocations: 281.4 kB / 486 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.4072, allocations: 12 kB / 486 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.4072, allocations: 16 kB / 486 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000381/0.4076, allocations: 221 kB / 486.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.408, allocations: 223.7 kB / 486.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.408, allocations: 4 kB / 486.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.408, allocations: 0 / 486.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.408, allocations: 8 kB / 486.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.4096, allocations: 1.036 MB / 487.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.41, allocations: 230.5 kB / 487.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.4102, allocations: 113.6 kB / 487.9 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-05/0.4103, allocations: 28.03 kB / 487.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.4103, allocations: 30.56 kB / 487.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.4103, allocations: 0 / 487.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.00354/0.4138, allocations: 1.315 MB / 489.2 MB, free: 8.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.4139, allocations: 59.34 kB / 489.3 MB, free: 8.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.4142, allocations: 218.4 kB / 489.5 MB, free: 8.586 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.4142, allocations: 25.7 kB / 489.5 MB, free: 8.555 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.4144, allocations: 208.3 kB / 489.7 MB, free: 8.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.119e-05/0.4145, allocations: 98.47 kB / 489.8 MB, free: 8.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.4145, allocations: 0 / 489.8 MB, free: 8.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4146, allocations: 346.8 kB / 490.2 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.4148, allocations: 107.9 kB / 490.3 MB, free: 7.797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.415, allocations: 153.1 kB / 490.4 MB, free: 7.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.4153, allocations: 151.7 kB / 490.6 MB, free: 7.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4154, allocations: 0 / 490.6 MB, free: 7.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001668/0.417, allocations: 0.6152 MB / 491.2 MB, free: 6.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4171, allocations: 7.953 kB / 491.2 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4171, allocations: 8 kB / 491.2 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004285/0.4175, allocations: 145.6 kB / 491.3 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.4178, allocations: 67.83 kB / 491.4 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.4189, allocations: 1.323 MB / 492.7 MB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.4191, allocations: 7.984 kB / 492.7 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.4192, allocations: 20.12 kB / 492.8 MB, free: 5.219 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: r_mFe.H:DUMMY_STATE(unit = "A/m" ) "Magnetic field strength" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.r_mAirPar.Phi:DUMMY_DER(fixed = false ) "Magnetic flux from port_p to port_n" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 8,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.4193, allocations: 113.5 kB / 492.9 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.4194, allocations: 27.62 kB / 492.9 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.421, allocations: 0.5922 MB / 493.5 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.421, allocations: 4 kB / 493.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4211, allocations: 0 / 493.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4211, allocations: 3.984 kB / 493.5 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.4232, allocations: 0.9892 MB / 494.5 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4232, allocations: 0 / 494.5 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.4234, allocations: 40.02 kB / 494.5 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003939/0.4238, allocations: 157.6 kB / 494.7 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.4239, allocations: 4 kB / 494.7 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.4249, allocations: 1.339 MB / 496 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4249, allocations: 0 / 496 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.4267, allocations: 0.8039 MB / 496.8 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.091e-05/0.4268, allocations: 108.8 kB / 496.9 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.4269, allocations: 4 kB / 496.9 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.4271, allocations: 4 kB / 496.9 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.4271, allocations: 23.92 kB / 497 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.4272, allocations: 15.98 kB / 497 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.4274, allocations: 177.9 kB / 497.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4274, allocations: 0 / 497.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004114/0.4278, allocations: 91.98 kB / 497.2 MB, free: 0.5508 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 8,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002694/0.4281, allocations: 155.8 kB / 497.4 MB, free: 400 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005826/0.4286, allocations: 279.9 kB / 497.7 MB, free: 120 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/0.4287, allocations: 7.938 kB / 497.7 MB, free: 112 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.429, allocations: 163.6 kB / 497.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.4293, allocations: 23.28 kB / 497.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.4303, allocations: 0.4887 MB / 498.3 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.4307, allocations: 0.7879 MB / 499.1 MB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.4308, allocations: 30.05 kB / 499.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.4309, allocations: 19.44 kB / 499.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4309, allocations: 0 / 499.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of Templates: time 0.006957/0.4378, allocations: 3.275 MB / 0.4907 GB, free: 11.29 MB / 378.7 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)