Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") [: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.003887/0.003887, allocations: 175.4 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.01089/0.01089, allocations: 1.187 MB / 9.056 MB, free: 1.188 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.264/1.264, allocations: 221.4 MB / 231.1 MB, free: 1.711 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.00103/0.001029, allocations: 106.6 kB / 282.3 MB, free: 15.81 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.292e-06, allocations: 0 / 339 MB, free: 7.062 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2592, allocations: 50.67 MB / 389.6 MB, free: 37.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1058/0.3651, allocations: 79.43 MB / 469.1 MB, free: 5.828 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.3654, allocations: 63.97 kB / 469.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03764/0.4031, allocations: 12.22 MB / 481.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.4031, allocations: 4 kB / 481.4 MB, free: 9.441 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005029/0.4036, allocations: 434.1 kB / 481.8 MB, free: 8.973 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4037, allocations: 8.031 kB / 481.8 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.4038, allocations: 23.72 kB / 481.8 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.4041, allocations: 230.8 kB / 482 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.4041, allocations: 7.938 kB / 482 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.4041, allocations: 0 / 482 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002786/0.4044, allocations: 191.8 kB / 482.2 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.4046, allocations: 117.6 kB / 482.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.4046, allocations: 3.938 kB / 482.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.4047, allocations: 4 kB / 482.3 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4047, allocations: 0 / 482.3 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.405, allocations: 242 kB / 482.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.4052, allocations: 182.5 kB / 482.8 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.4054, allocations: 84.8 kB / 482.8 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.577e-05/0.4055, allocations: 39.95 kB / 482.9 MB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.4055, allocations: 34.56 kB / 482.9 MB, free: 7.723 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.4055, allocations: 4 kB / 482.9 MB, free: 7.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001646/0.4071, allocations: 394 kB / 483.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.4072, allocations: 51.41 kB / 483.4 MB, free: 7.262 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.4074, allocations: 193.9 kB / 483.5 MB, free: 7.066 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.4074, allocations: 25.7 kB / 483.6 MB, free: 7.035 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.4075, allocations: 100.1 kB / 483.7 MB, free: 6.934 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.4075, allocations: 23.56 kB / 483.7 MB, free: 6.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/0.4075, allocations: 0 / 483.7 MB, free: 6.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4076, allocations: 330.8 kB / 484 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.4078, allocations: 76.03 kB / 484.1 MB, free: 6.504 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.4079, allocations: 71.89 kB / 484.2 MB, free: 6.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006883/0.4086, allocations: 211.8 kB / 484.4 MB, free: 6.227 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4086, allocations: 0 / 484.4 MB, free: 6.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001417/0.41, allocations: 393.9 kB / 484.8 MB, free: 5.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.41, allocations: 4 kB / 484.8 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.41, allocations: 3.984 kB / 484.8 MB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008007/0.4108, allocations: 80.72 kB / 484.8 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.172e-05/0.4109, allocations: 19.92 kB / 484.9 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.4127, allocations: 1.322 MB / 486.2 MB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.533e-05/0.4128, allocations: 3.984 kB / 486.2 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.4129, allocations: 8.812 kB / 486.2 MB, free: 4.273 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: B:VARIABLE(unit = "T" ) "Magnetic flux density of material" type: Real Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.413, allocations: 113 kB / 486.3 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.413, allocations: 15.81 kB / 486.3 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.4147, allocations: 483.2 kB / 486.8 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.4147, allocations: 3.984 kB / 486.8 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.4147, allocations: 0 / 486.8 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4147, allocations: 0 / 486.8 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.415, allocations: 230 kB / 487 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.415, allocations: 4 kB / 487 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.564e-05/0.4151, allocations: 19.98 kB / 487 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007215/0.4158, allocations: 76.77 kB / 487.1 MB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.4158, allocations: 7.938 kB / 487.1 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.4178, allocations: 1.392 MB / 488.5 MB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4178, allocations: 0 / 488.5 MB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001487/0.4193, allocations: 425.4 kB / 488.9 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.4194, allocations: 97 kB / 489 MB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.4194, allocations: 0 / 489 MB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.4195, allocations: 3.938 kB / 489 MB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.4196, allocations: 11.98 kB / 489 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.4196, allocations: 19.98 kB / 489.1 MB, free: 1.195 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001418/0.4197, allocations: 156.2 kB / 489.2 MB, free: 1.043 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004193/0.4202, allocations: 83.86 kB / 489.3 MB, free: 0.9609 MB / 362.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 (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003797/0.4206, allocations: 183.1 kB / 489.5 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003676/0.4209, allocations: 237.7 kB / 489.7 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4209, allocations: 0 / 489.7 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.4213, allocations: 201.6 kB / 489.9 MB, free: 332 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.4216, allocations: 17.41 kB / 489.9 MB, free: 316 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.033/0.4546, allocations: 1.386 MB / 491.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.455, allocations: 0.7426 MB / 492.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.455, allocations: 3.938 kB / 492.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of Templates: time 0.006977/0.462, allocations: 3.441 MB / 495.5 MB, free: 10.71 MB / 378.7 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1)