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/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.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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002346/0.002346, allocations: 183.5 kB / 7.459 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.006298/0.006298, allocations: 1.19 MB / 9.056 MB, free: 1.184 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.213/1.213, allocations: 221.4 MB / 231.1 MB, free: 1.605 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.001062/0.001062, allocations: 99.84 kB / 282.2 MB, free: 15.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.703e-06/6.733e-06, allocations: 0 / 339 MB, free: 7.055 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2762, allocations: 50.67 MB / 389.6 MB, free: 37.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.4199, allocations: 84.59 MB / 474.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.4203, allocations: 72.53 kB / 474.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05002/0.4703, allocations: 12.42 MB / 486.7 MB, free: 4.094 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.586e-05/0.4704, allocations: 11.94 kB / 486.7 MB, free: 4.082 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001403/0.4718, allocations: 0.6192 MB / 487.3 MB, free: 3.418 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4719, allocations: 8.031 kB / 487.3 MB, free: 3.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.472, allocations: 47.47 kB / 487.4 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.4726, allocations: 314.5 kB / 487.7 MB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.4727, allocations: 15.91 kB / 487.7 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.4728, allocations: 20 kB / 487.7 MB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006143/0.4734, allocations: 217.3 kB / 487.9 MB, free: 2.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.474, allocations: 232.7 kB / 488.2 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.4741, allocations: 0 / 488.2 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.4741, allocations: 0 / 488.2 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.4741, allocations: 8 kB / 488.2 MB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/0.4767, allocations: 1.127 MB / 489.3 MB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.4772, allocations: 170.6 kB / 489.5 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.4774, allocations: 68.94 kB / 489.5 MB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.152e-05/0.4775, allocations: 19.97 kB / 489.6 MB, free: 1.051 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.4776, allocations: 38.5 kB / 489.6 MB, free: 1.004 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.4776, allocations: 0 / 489.6 MB, free: 1.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.00368/0.4813, allocations: 0.7473 MB / 490.3 MB, free: 248 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.4813, allocations: 55.64 kB / 490.4 MB, free: 180 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/0.4818, allocations: 267.5 kB / 490.7 MB, free: 15.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.4819, allocations: 25.7 kB / 490.7 MB, free: 15.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.4821, allocations: 207.5 kB / 490.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.992e-05/0.4822, allocations: 98.58 kB / 491 MB, free: 15.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.4822, allocations: 0 / 491 MB, free: 15.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4824, allocations: 342.8 kB / 491.3 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.4826, allocations: 84.73 kB / 491.4 MB, free: 15.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.483, allocations: 182.9 kB / 491.6 MB, free: 14.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008261/0.4838, allocations: 203.8 kB / 491.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4838, allocations: 0 / 491.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001845/0.4857, allocations: 491.7 kB / 492.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4857, allocations: 7.938 kB / 492.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.4857, allocations: 4 kB / 492.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005117/0.4863, allocations: 93.75 kB / 492.4 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.4868, allocations: 87.88 kB / 492.4 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.4884, allocations: 1.255 MB / 493.7 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/0.489, allocations: 28.11 kB / 493.7 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.489, allocations: 23.98 kB / 493.8 MB, free: 12.68 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: core.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.core.H:DUMMY_DER(fixed = false ) "Magnetic field strength" type: Real 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 () * 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.0002653/0.4893, allocations: 116.8 kB / 493.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.796e-05/0.4894, allocations: 31.62 kB / 493.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.4915, allocations: 452.8 kB / 494.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.4915, allocations: 4 kB / 494.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.4915, allocations: 128 / 494.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.4915, allocations: 7.984 kB / 494.4 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007504/0.4923, allocations: 322 kB / 494.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4923, allocations: 3.938 kB / 494.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.4927, allocations: 51.97 kB / 494.7 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004218/0.4931, allocations: 93.66 kB / 494.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.4932, allocations: 7.984 kB / 494.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.4949, allocations: 1.241 MB / 496.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.4949, allocations: 3.906 kB / 496.1 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001773/0.4967, allocations: 0.5108 MB / 496.6 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.4969, allocations: 108.7 kB / 496.7 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.703e-05/0.497, allocations: 4 kB / 496.7 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.4974, allocations: 19.98 kB / 496.7 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.096e-05/0.4975, allocations: 15.97 kB / 496.7 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.4975, allocations: 16 kB / 496.7 MB, free: 9.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003499/0.4979, allocations: 203.1 kB / 496.9 MB, free: 9.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007601/0.4986, allocations: 91.98 kB / 497 MB, free: 9.254 MB / 378.7 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 () * 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.0004794/0.4991, allocations: 176.5 kB / 497.2 MB, free: 9.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008733/0.5, allocations: 260 kB / 497.5 MB, free: 8.824 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5, allocations: 0 / 497.5 MB, free: 8.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004046/0.5005, allocations: 119.8 kB / 497.6 MB, free: 8.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.5009, allocations: 35.34 kB / 497.6 MB, free: 8.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.5025, allocations: 408.3 kB / 498 MB, free: 8.246 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007609/0.5033, allocations: 0.8317 MB / 498.8 MB, free: 7.387 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.5033, allocations: 0 / 498.8 MB, free: 7.387 MB / 378.7 MB Notification: Performance of Templates: time 0.01246/0.5157, allocations: 3.995 MB / 0.491 GB, free: 3.426 MB / 378.7 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)