Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 99.31 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.001366/0.001366, allocations: 177.3 kB / 15.94 MB, free: 220 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.433/1.433, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007169/0.007168, allocations: 1.22 MB / 292.2 MB, free: 1.102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.000328, allocations: 8 kB / 353.4 MB, free: 2.297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3482, allocations: 50.67 MB / 404 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.003801/0.352, allocations: 2.425 MB / 406.5 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.3542, allocations: 1.281 MB / 407.7 MB, free: 8.242 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.3544, allocations: 5.188 kB / 407.7 MB, free: 8.242 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.3549, allocations: 134.8 kB / 407.9 MB, free: 8.172 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.3552, allocations: 90.83 kB / 408 MB, free: 8.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.3557, allocations: 191.4 kB / 408.1 MB, free: 8.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.3561, allocations: 289.6 kB / 408.4 MB, free: 7.855 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.3563, allocations: 103.5 kB / 408.5 MB, free: 7.801 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.3565, allocations: 140.3 kB / 408.7 MB, free: 7.738 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.3568, allocations: 151.8 kB / 408.8 MB, free: 7.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.3568, allocations: 22.16 kB / 408.8 MB, free: 7.664 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.3571, allocations: 126.5 kB / 409 MB, free: 7.637 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/0.3572, allocations: 70.62 kB / 409 MB, free: 7.598 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.273e-05/0.3573, allocations: 89.94 kB / 409.1 MB, free: 7.535 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.3578, allocations: 362.1 kB / 409.5 MB, free: 7.449 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3578, allocations: 0 / 409.5 MB, free: 7.449 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3578, allocations: 4 kB / 409.5 MB, free: 7.445 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3578, allocations: 0 / 409.5 MB, free: 7.445 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001132/0.359, allocations: 0.6549 MB / 410.1 MB, free: 6.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.359, allocations: 9.547 kB / 410.1 MB, free: 6.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.673e-05/0.3591, allocations: 41.28 kB / 410.2 MB, free: 6.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.3595, allocations: 283.3 kB / 410.5 MB, free: 6.656 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.3596, allocations: 25.78 kB / 410.5 MB, free: 6.645 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.3596, allocations: 36.91 kB / 410.5 MB, free: 6.629 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006396/0.3603, allocations: 307.7 kB / 410.8 MB, free: 6.504 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3603, allocations: 1.281 kB / 410.8 MB, free: 6.504 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.3603, allocations: 23.75 kB / 410.8 MB, free: 6.484 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.3603, allocations: 6.562 kB / 410.8 MB, free: 6.484 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006809/0.361, allocations: 291.4 kB / 411.1 MB, free: 6.402 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.3629, allocations: 1.173 MB / 412.3 MB, free: 5.578 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.3634, allocations: 205 kB / 412.5 MB, free: 5.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.511e-05/0.3635, allocations: 14.98 kB / 412.5 MB, free: 5.496 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.3635, allocations: 35.69 kB / 412.6 MB, free: 5.453 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.3635, allocations: 0 / 412.6 MB, free: 5.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.002965/0.3665, allocations: 0.883 MB / 413.4 MB, free: 5.152 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.3665, allocations: 54.39 kB / 413.5 MB, free: 5.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.3669, allocations: 300.4 kB / 413.8 MB, free: 4.922 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3669, allocations: 31.23 kB / 413.8 MB, free: 4.887 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.367, allocations: 234.8 kB / 414 MB, free: 4.688 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.3671, allocations: 94.69 kB / 414.1 MB, free: 4.613 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/0.3671, allocations: 5.156 kB / 414.1 MB, free: 4.609 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.3672, allocations: 349.1 kB / 414.5 MB, free: 4.277 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.3675, allocations: 126 kB / 414.6 MB, free: 4.242 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.3679, allocations: 232.4 kB / 414.8 MB, free: 4.082 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.3682, allocations: 156.6 kB / 415 MB, free: 4.023 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3682, allocations: 1.406 kB / 415 MB, free: 4.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001245/0.3695, allocations: 0.5122 MB / 415.5 MB, free: 3.824 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.3695, allocations: 10.45 kB / 415.5 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3695, allocations: 3.406 kB / 415.5 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/0.3714, allocations: 219 kB / 415.7 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.3718, allocations: 82.7 kB / 415.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005784/0.3724, allocations: 1.178 MB / 417 MB, free: 2.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.3727, allocations: 35.02 kB / 417 MB, free: 2.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.3727, allocations: 16.88 kB / 417 MB, free: 2.645 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.3729, allocations: 161.8 kB / 417.2 MB, free: 2.496 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.373, allocations: 31.19 kB / 417.2 MB, free: 2.48 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.3743, allocations: 454.6 kB / 417.7 MB, free: 2.301 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3743, allocations: 2.469 kB / 417.7 MB, free: 2.301 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3743, allocations: 1.188 kB / 417.7 MB, free: 2.301 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3743, allocations: 1.453 kB / 417.7 MB, free: 2.301 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/0.3748, allocations: 382.4 kB / 418 MB, free: 2.027 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.3749, allocations: 0.6562 kB / 418 MB, free: 2.027 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.3751, allocations: 47.28 kB / 418.1 MB, free: 2.023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.3768, allocations: 216.9 kB / 418.3 MB, free: 1.98 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.3769, allocations: 7.453 kB / 418.3 MB, free: 1.977 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005995/0.3775, allocations: 1.171 MB / 419.5 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3775, allocations: 0 / 419.5 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.3787, allocations: 0.5093 MB / 420 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.3788, allocations: 110.5 kB / 420.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.3789, allocations: 5.062 kB / 420.1 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3791, allocations: 22.91 kB / 420.1 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.3792, allocations: 23.17 kB / 420.2 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.3792, allocations: 6.297 kB / 420.2 MB, free: 488 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002239/0.3794, allocations: 216 kB / 420.4 MB, free: 364 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3794, allocations: 0 / 420.4 MB, free: 364 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.000484/0.3799, allocations: 97.62 kB / 420.5 MB, free: 348 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002159/0.3801, allocations: 135.6 kB / 420.6 MB, free: 240 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009277/0.3811, allocations: 330.7 kB / 420.9 MB, free: 156 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3811, allocations: 1.094 kB / 420.9 MB, free: 156 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.3816, allocations: 181.6 kB / 421.1 MB, free: 116 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.382, allocations: 36.31 kB / 421.1 MB, free: 96 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.3836, allocations: 0.7648 MB / 421.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.3841, allocations: 0.8007 MB / 422.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.3843, allocations: 33.59 kB / 422.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.3843, allocations: 22.92 kB / 422.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3843, allocations: 0 / 422.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Templates: time 0.009337/0.3937, allocations: 3.395 MB / 426.1 MB, free: 13.75 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile Environment - environmentSimulation: (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1) Environment - environmentSimulation: