Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape") [: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 3.2.2+maint.om/package.mo): time 0.002625/0.002625, allocations: 182.6 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.102/1.102, allocations: 194.2 MB / 202.1 MB, free: 8.652 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001571/0.001571, allocations: 118.4 kB / 247.1 MB, free: 6.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1688/0.1688, allocations: 39.95 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/5.921e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 54.86 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3458/0.4607, allocations: 82.49 MB / 0.5177 GB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.4609, allocations: 71.61 kB / 0.5178 GB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01752/0.4785, allocations: 6.187 MB / 0.5238 GB, free: 8.184 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.4785, allocations: 5.281 kB / 0.5238 GB, free: 8.184 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008263/0.4794, allocations: 0.5368 MB / 0.5243 GB, free: 7.719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4794, allocations: 9.094 kB / 0.5244 GB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.169e-05/0.4795, allocations: 30.84 kB / 0.5244 GB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.48, allocations: 276.3 kB / 0.5246 GB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.48, allocations: 7.812 kB / 0.5247 GB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.48, allocations: 21.41 kB / 0.5247 GB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004306/0.4805, allocations: 190.3 kB / 0.5249 GB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.4808, allocations: 190.7 kB / 0.525 GB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4809, allocations: 3.906 kB / 0.525 GB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.4809, allocations: 3.938 kB / 0.525 GB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.4809, allocations: 6.375 kB / 0.5251 GB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.4823, allocations: 0.834 MB / 0.5259 GB, free: 6.883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/0.483, allocations: 292.1 kB / 0.5261 GB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.4832, allocations: 127.7 kB / 0.5263 GB, free: 6.816 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.4833, allocations: 6.859 kB / 0.5263 GB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.4833, allocations: 35.78 kB / 0.5263 GB, free: 6.773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.784e-06/0.4833, allocations: 0 / 0.5263 GB, free: 6.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.001878/0.4852, allocations: 474.5 kB / 0.5268 GB, free: 6.598 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.4852, allocations: 54.81 kB / 0.5268 GB, free: 6.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.4854, allocations: 179.3 kB / 0.527 GB, free: 6.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.4854, allocations: 25.7 kB / 0.527 GB, free: 6.398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.4855, allocations: 145.3 kB / 0.5271 GB, free: 6.273 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.4856, allocations: 99.69 kB / 0.5272 GB, free: 6.199 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.4856, allocations: 0 / 0.5272 GB, free: 6.199 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.4857, allocations: 333.5 kB / 0.5276 GB, free: 5.879 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.4858, allocations: 72 kB / 0.5276 GB, free: 5.879 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.486, allocations: 104.1 kB / 0.5277 GB, free: 5.852 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.4862, allocations: 80.41 kB / 0.5278 GB, free: 5.844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4862, allocations: 8.969 kB / 0.5278 GB, free: 5.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001763/0.4879, allocations: 496.9 kB / 0.5283 GB, free: 5.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.488, allocations: 8.875 kB / 0.5283 GB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.488, allocations: 0 / 0.5283 GB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.4898, allocations: 322.2 kB / 0.5286 GB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.49, allocations: 26.55 kB / 0.5286 GB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006015/0.496, allocations: 6.056 MB / 0.5345 GB, free: 392 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.4963, allocations: 29.94 kB / 0.5346 GB, free: 372 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.4963, allocations: 17.11 kB / 0.5346 GB, free: 364 kB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderRadialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderAxialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cuboid.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: genericFluxTube.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001907/0.4965, allocations: 118.2 kB / 0.5347 GB, free: 16.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.4966, allocations: 22.91 kB / 0.5347 GB, free: 16.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.4983, allocations: 0.4937 MB / 0.5352 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4983, allocations: 4 kB / 0.5352 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.4983, allocations: 0 / 0.5352 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4983, allocations: 0 / 0.5352 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.4987, allocations: 311.9 kB / 0.5355 GB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4987, allocations: 0 / 0.5355 GB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.4989, allocations: 23.97 kB / 0.5355 GB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.5005, allocations: 319.5 kB / 0.5358 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.5006, allocations: 0 / 0.5358 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006128/0.5067, allocations: 6.003 MB / 0.5417 GB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5067, allocations: 4 kB / 0.5417 GB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001723/0.5085, allocations: 0.5723 MB / 0.5423 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.5085, allocations: 100.8 kB / 0.5424 GB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.5086, allocations: 4 kB / 0.5424 GB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.5088, allocations: 7.984 kB / 0.5424 GB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.5089, allocations: 19.53 kB / 0.5424 GB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.5089, allocations: 4 kB / 0.5424 GB, free: 8.738 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001286/0.509, allocations: 152.7 kB / 0.5425 GB, free: 8.617 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005381/0.5096, allocations: 107.8 kB / 0.5426 GB, free: 8.512 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 (11): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.5097, allocations: 103.2 kB / 0.5427 GB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008987/0.5107, allocations: 0.6413 MB / 0.5434 GB, free: 7.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5107, allocations: 0 / 0.5434 GB, free: 7.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007784/0.5115, allocations: 0.5691 MB / 0.5439 GB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.5117, allocations: 11.25 kB / 0.5439 GB, free: 7.234 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009221/0.5126, allocations: 382.8 kB / 0.5443 GB, free: 6.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/0.513, allocations: 0.7867 MB / 0.5451 GB, free: 6.066 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.513, allocations: 0 / 0.5451 GB, free: 6.066 MB / 362.7 MB Notification: Performance of Templates: time 0.01229/0.5253, allocations: 7.748 MB / 0.5526 GB, free: 14.38 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1)