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.00163/0.001629, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002338/0.002339, allocations: 191 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007654/0.007654, allocations: 1.245 MB / 291.6 MB, free: 1.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.91 kB / 352.3 MB, free: 1.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09399/0.09537, allocations: 49.7 MB / 402 MB, free: 28 kB / 286.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.1591/0.2545, allocations: 2.971 MB / 405 MB, free: 8.609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.2567, allocations: 1.403 MB / 406.4 MB, free: 7.613 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.2569, allocations: 4.281 kB / 406.4 MB, free: 7.613 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.2574, allocations: 160.4 kB / 406.6 MB, free: 7.535 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.2577, allocations: 108.3 kB / 406.7 MB, free: 7.461 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006935/0.2584, allocations: 262.3 kB / 406.9 MB, free: 7.336 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000431/0.2588, allocations: 440.2 kB / 407.4 MB, free: 7.117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.259, allocations: 141 kB / 407.5 MB, free: 7.047 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.2593, allocations: 170.7 kB / 407.7 MB, free: 6.965 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.2595, allocations: 189.5 kB / 407.8 MB, free: 6.867 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.2596, allocations: 39.16 kB / 407.9 MB, free: 6.863 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003424/0.2599, allocations: 211.7 kB / 408.1 MB, free: 6.797 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.26, allocations: 96.44 kB / 408.2 MB, free: 6.738 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.2602, allocations: 192.2 kB / 408.4 MB, free: 6.617 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.2608, allocations: 0.5145 MB / 408.9 MB, free: 6.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2608, allocations: 3.938 kB / 408.9 MB, free: 6.406 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2608, allocations: 0 / 408.9 MB, free: 6.406 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.2608, allocations: 1.438 kB / 408.9 MB, free: 6.406 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.001168/0.262, allocations: 0.7089 MB / 409.6 MB, free: 5.844 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2621, allocations: 9.969 kB / 409.6 MB, free: 5.844 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.2621, allocations: 40.31 kB / 409.6 MB, free: 5.824 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.2625, allocations: 318.7 kB / 410 MB, free: 5.547 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.2625, allocations: 30.16 kB / 410 MB, free: 5.531 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.2626, allocations: 33.45 kB / 410 MB, free: 5.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005963/0.2632, allocations: 303.8 kB / 410.3 MB, free: 5.391 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2632, allocations: 0.6094 kB / 410.3 MB, free: 5.391 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.2633, allocations: 11.41 kB / 410.3 MB, free: 5.383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.2633, allocations: 7.906 kB / 410.3 MB, free: 5.383 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006186/0.2639, allocations: 278.5 kB / 410.6 MB, free: 5.297 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.2655, allocations: 1.159 MB / 411.8 MB, free: 4.484 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.266, allocations: 209 kB / 412 MB, free: 4.398 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.2662, allocations: 79.16 kB / 412 MB, free: 4.371 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.834e-05/0.2663, allocations: 21.75 kB / 412.1 MB, free: 4.359 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.2663, allocations: 33 kB / 412.1 MB, free: 4.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 2.214e-06/0.2663, allocations: 3.984 kB / 412.1 MB, free: 4.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.002944/0.2693, allocations: 0.9053 MB / 413 MB, free: 4.023 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.2693, allocations: 56.56 kB / 413.1 MB, free: 3.961 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.2696, allocations: 319.3 kB / 413.4 MB, free: 3.785 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2696, allocations: 29.7 kB / 413.4 MB, free: 3.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.2697, allocations: 240.6 kB / 413.6 MB, free: 3.547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.2698, allocations: 94.47 kB / 413.7 MB, free: 3.473 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/0.2699, allocations: 73.66 kB / 413.8 MB, free: 3.422 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.171e-05/0.27, allocations: 340.3 kB / 414.1 MB, free: 3.098 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.2703, allocations: 121.6 kB / 414.3 MB, free: 3.062 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.2706, allocations: 224.4 kB / 414.5 MB, free: 2.902 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.2713, allocations: 346.4 kB / 414.8 MB, free: 2.691 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2713, allocations: 1.25 kB / 414.8 MB, free: 2.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001401/0.2727, allocations: 0.5944 MB / 415.4 MB, free: 2.492 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2727, allocations: 6.719 kB / 415.4 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2728, allocations: 7.719 kB / 415.4 MB, free: 2.488 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/0.2747, allocations: 0.8183 MB / 416.2 MB, free: 2.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.2751, allocations: 73.64 kB / 416.3 MB, free: 2.406 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005254/0.2756, allocations: 1.176 MB / 417.5 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.2759, allocations: 29.41 kB / 417.5 MB, free: 1.289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.2759, allocations: 20.17 kB / 417.5 MB, free: 1.281 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 (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,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.2761, allocations: 159 kB / 417.7 MB, free: 1.137 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.2761, allocations: 30.22 kB / 417.7 MB, free: 1.121 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.2774, allocations: 0.52 MB / 418.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2774, allocations: 2.344 kB / 418.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2774, allocations: 1.641 kB / 418.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.2774, allocations: 1.125 kB / 418.2 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.2779, allocations: 384.5 kB / 418.6 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2779, allocations: 0.5625 kB / 418.6 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.2781, allocations: 39.33 kB / 418.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.2799, allocations: 0.8194 MB / 419.5 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.2799, allocations: 3.703 kB / 419.5 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006258/0.2806, allocations: 1.178 MB / 420.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2806, allocations: 0 / 420.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.2819, allocations: 0.6 MB / 421.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.282, allocations: 108.5 kB / 421.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.282, allocations: 9.531 kB / 421.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.2823, allocations: 16.67 kB / 421.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.2823, allocations: 19.34 kB / 421.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.2824, allocations: 9.875 kB / 421.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.2826, allocations: 223.5 kB / 421.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2826, allocations: 0 / 421.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004946/0.2831, allocations: 99.19 kB / 421.7 MB, free: 14.85 MB / 302.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 (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,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002578/0.2834, allocations: 139.5 kB / 421.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009615/0.2844, allocations: 325.3 kB / 422.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2844, allocations: 1.25 kB / 422.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004746/0.2849, allocations: 176.3 kB / 422.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.2853, allocations: 50.33 kB / 422.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.2869, allocations: 0.6306 MB / 423 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.2873, allocations: 0.789 MB / 423.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.2875, allocations: 36.11 kB / 423.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.2875, allocations: 22.97 kB / 423.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2876, allocations: 0 / 423.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of Templates: time 0.009377/0.2969, allocations: 3.877 MB / 427.8 MB, free: 11.39 MB / 302.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile (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)