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.001033/0.001033, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001012/0.001012, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.00691/0.006911, allocations: 1.218 MB / 292.2 MB, free: 1.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004242, allocations: 8 kB / 353.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3448, allocations: 50.67 MB / 404 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.003429/0.3482, allocations: 2.268 MB / 406.3 MB, free: 9.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.3507, allocations: 1.5 MB / 407.8 MB, free: 8.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.3509, allocations: 4.312 kB / 407.8 MB, free: 8.199 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008249/0.3517, allocations: 178 kB / 408 MB, free: 8.113 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.352, allocations: 89.72 kB / 408.1 MB, free: 8.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.3526, allocations: 194.7 kB / 408.2 MB, free: 7.953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.353, allocations: 251.8 kB / 408.5 MB, free: 7.824 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.3532, allocations: 88.41 kB / 408.6 MB, free: 7.781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.3534, allocations: 119.2 kB / 408.7 MB, free: 7.73 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.3536, allocations: 136 kB / 408.8 MB, free: 7.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.3536, allocations: 14.47 kB / 408.8 MB, free: 7.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.3539, allocations: 112.2 kB / 409 MB, free: 7.645 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.704e-05/0.354, allocations: 64.36 kB / 409 MB, free: 7.609 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.3541, allocations: 86.77 kB / 409.1 MB, free: 7.547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.3546, allocations: 302.7 kB / 409.4 MB, free: 7.473 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3546, allocations: 1.531 kB / 409.4 MB, free: 7.473 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3546, allocations: 4 kB / 409.4 MB, free: 7.469 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.3546, allocations: 0 / 409.4 MB, free: 7.469 MB / 286.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.001069/0.3557, allocations: 0.6079 MB / 410 MB, free: 6.965 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3557, allocations: 9.172 kB / 410 MB, free: 6.965 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.3558, allocations: 41.41 kB / 410.1 MB, free: 6.945 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.3561, allocations: 265.3 kB / 410.3 MB, free: 6.691 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.3562, allocations: 25.16 kB / 410.3 MB, free: 6.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.3562, allocations: 24.5 kB / 410.4 MB, free: 6.672 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005354/0.3568, allocations: 268.5 kB / 410.6 MB, free: 6.559 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3568, allocations: 4 kB / 410.6 MB, free: 6.555 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.3568, allocations: 10.88 kB / 410.6 MB, free: 6.547 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3569, allocations: 13.3 kB / 410.7 MB, free: 6.543 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.3573, allocations: 252 kB / 410.9 MB, free: 6.465 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.3592, allocations: 1.08 MB / 412 MB, free: 5.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.3598, allocations: 245.4 kB / 412.2 MB, free: 5.637 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-05/0.3599, allocations: 21.55 kB / 412.2 MB, free: 5.629 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3599, allocations: 32.36 kB / 412.3 MB, free: 5.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.3599, allocations: 0 / 412.3 MB, free: 5.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=33): time 0.004612/0.3646, allocations: 1.611 MB / 413.9 MB, free: 4.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.3646, allocations: 54.41 kB / 413.9 MB, free: 4.758 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.365, allocations: 279 kB / 414.2 MB, free: 4.594 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.365, allocations: 30.83 kB / 414.2 MB, free: 4.559 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.3651, allocations: 200.7 kB / 414.4 MB, free: 4.387 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.357e-05/0.3652, allocations: 114.8 kB / 414.6 MB, free: 4.297 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.3652, allocations: 5.938 kB / 414.6 MB, free: 4.293 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3654, allocations: 347.3 kB / 414.9 MB, free: 3.961 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.3657, allocations: 115.2 kB / 415 MB, free: 3.926 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.366, allocations: 170.9 kB / 415.2 MB, free: 3.832 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.3663, allocations: 137.1 kB / 415.3 MB, free: 3.777 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3663, allocations: 0 / 415.3 MB, free: 3.777 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001872/0.3682, allocations: 0.6361 MB / 415.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.3682, allocations: 7.656 kB / 416 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3682, allocations: 1.969 kB / 416 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002904/0.3711, allocations: 0.5509 MB / 416.5 MB, free: 3.457 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.3715, allocations: 53.2 kB / 416.6 MB, free: 3.457 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000763/0.3722, allocations: 1.276 MB / 417.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.3725, allocations: 15.08 kB / 417.8 MB, free: 2.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.3725, allocations: 22.27 kB / 417.9 MB, free: 2.293 MB / 286.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 (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.0001987/0.3727, allocations: 152.6 kB / 418 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.3728, allocations: 31.36 kB / 418 MB, free: 2.137 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.3744, allocations: 0.5955 MB / 418.6 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.3745, allocations: 4.969 kB / 418.6 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3745, allocations: 0 / 418.6 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3745, allocations: 1.312 kB / 418.7 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006448/0.3751, allocations: 404.6 kB / 419 MB, free: 1.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3752, allocations: 4.969 kB / 419.1 MB, free: 1.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.3754, allocations: 48.36 kB / 419.1 MB, free: 1.621 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002822/0.3782, allocations: 0.532 MB / 419.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.3783, allocations: 7.844 kB / 419.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006806/0.379, allocations: 1.282 MB / 420.9 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.379, allocations: 0 / 420.9 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.3809, allocations: 0.8189 MB / 421.7 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.3811, allocations: 102.4 kB / 421.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.3811, allocations: 6.844 kB / 421.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.3813, allocations: 16.16 kB / 421.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.3814, allocations: 24.28 kB / 421.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.3814, allocations: 11.69 kB / 421.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002724/0.3817, allocations: 199 kB / 422.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3817, allocations: 0 / 422.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005164/0.3822, allocations: 93.83 kB / 422.2 MB, free: 15.76 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0002329/0.3825, allocations: 125.2 kB / 422.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007974/0.3833, allocations: 331.8 kB / 422.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3833, allocations: 1.562 kB / 422.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.3838, allocations: 185.9 kB / 422.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3841, allocations: 34.25 kB / 422.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.3858, allocations: 0.8876 MB / 423.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.3862, allocations: 0.7942 MB / 424.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.3864, allocations: 27.97 kB / 424.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.3864, allocations: 24.16 kB / 424.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3864, allocations: 0 / 424.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Templates: time 0.007383/0.3938, allocations: 3.312 MB / 427.9 MB, free: 12.9 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: