Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") [: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.1+maint.om/package.mo): time 0.002338/0.002338, allocations: 176.7 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.26/1.26, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001764/0.001763, allocations: 111.9 kB / 217.7 MB, free: 8.23 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.324e-06, allocations: 4 kB / 261.8 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06801/0.06803, allocations: 38.75 MB / 300.5 MB, free: 3.906 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2363/0.3044, allocations: 82.15 MB / 382.7 MB, free: 2.562 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.3047, allocations: 80.33 kB / 382.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.1214/0.4262, allocations: 43.54 MB / 426.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002437/0.4264, allocations: 51.98 kB / 426.3 MB, free: 13.05 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 513 * Number of variables: 513 Notification: Performance of Generate backend data structure: time 0.007578/0.434, allocations: 2.359 MB / 428.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4341, allocations: 8.031 kB / 428.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.4355, allocations: 288.5 kB / 429 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004143/0.4396, allocations: 1.274 MB / 430.3 MB, free: 9.004 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.4398, allocations: 72 kB / 430.3 MB, free: 8.934 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008427/0.4407, allocations: 119.9 kB / 430.4 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004965/0.4456, allocations: 1.609 MB / 432 MB, free: 7.199 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004738/0.4504, allocations: 1.439 MB / 433.5 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.816e-05/0.4505, allocations: 3.906 kB / 433.5 MB, free: 5.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002729/0.4508, allocations: 0 / 433.5 MB, free: 5.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-05/0.4509, allocations: 48 kB / 433.5 MB, free: 5.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01604/0.4669, allocations: 7.152 MB / 440.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/0.4692, allocations: 1.137 MB / 441.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002036/0.4713, allocations: 1.12 MB / 442.9 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/0.4715, allocations: 123.1 kB / 443.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.4716, allocations: 60.56 kB / 443.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=226): time 4.348e-06/0.4716, allocations: 0 / 443.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=347): time 0.05534/0.5269, allocations: 12.77 MB / 455.9 MB, free: 14.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.5271, allocations: 86.14 kB / 456 MB, free: 14.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003532/0.5306, allocations: 1.485 MB / 457.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00035/0.531, allocations: 25.7 kB / 457.5 MB, free: 13.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005171/0.5315, allocations: 0.6681 MB / 458.2 MB, free: 12.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001198/0.5327, allocations: 1.097 MB / 459.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.533, allocations: 0 / 459.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003029/0.5333, allocations: 424.7 kB / 459.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/0.5359, allocations: 1.209 MB / 460.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/0.5386, allocations: 1.472 MB / 462.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003348/0.5419, allocations: 1.486 MB / 463.8 MB, free: 6.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.542, allocations: 0 / 463.8 MB, free: 6.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=407) (initialization): time 0.009509/0.5515, allocations: 3.947 MB / 467.8 MB, free: 2.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.5515, allocations: 7.906 kB / 467.8 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/0.5516, allocations: 8 kB / 467.8 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00613/0.5577, allocations: 0.9767 MB / 468.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006801/0.5646, allocations: 0.6006 MB / 469.4 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1241/0.6886, allocations: 9.854 MB / 479.2 MB, free: 117.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.6918, allocations: 87.61 kB / 479.3 MB, free: 117.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/0.6921, allocations: 127.8 kB / 479.4 MB, free: 117.4 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleSolenoid.g_mAirPar.V_m:DUMMY_STATE(unit = "A" ) "Magnetic potential difference between both ports" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (296): * Single equations (assignments): 288 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 49,3 37} Notification: Performance of prepare postOptimizeDAE: time 0.0005806/0.6927, allocations: 146.9 kB / 479.6 MB, free: 117.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/0.6932, allocations: 254.8 kB / 479.8 MB, free: 117.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007062/0.7002, allocations: 3.926 MB / 483.8 MB, free: 117.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.7003, allocations: 37.75 kB / 483.8 MB, free: 117.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.7003, allocations: 3.562 kB / 483.8 MB, free: 117.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.77e-05/0.7003, allocations: 18.42 kB / 483.8 MB, free: 117.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/0.715, allocations: 8.586 MB / 492.4 MB, free: 116.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.715, allocations: 3.344 kB / 492.4 MB, free: 116.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003157/0.7182, allocations: 0.5309 MB / 492.9 MB, free: 116.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/0.721, allocations: 0.9229 MB / 493.9 MB, free: 116.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003842/0.7214, allocations: 45.86 kB / 493.9 MB, free: 116.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007095/0.7285, allocations: 9.658 MB / 0.4918 GB, free: 108.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03283/0.7613, allocations: 12.36 MB / 0.5038 GB, free: 102 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01205/0.7735, allocations: 6.053 MB / 0.5097 GB, free: 98.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/0.7753, allocations: 0.7119 MB / 0.5104 GB, free: 98.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008333/0.7762, allocations: 7.781 kB / 0.5104 GB, free: 98.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002915/0.7791, allocations: 99.73 kB / 0.5105 GB, free: 98.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/0.7796, allocations: 201.8 kB / 0.5107 GB, free: 98.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00033/0.7799, allocations: 114.2 kB / 0.5108 GB, free: 98.24 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.002098/0.782, allocations: 1.138 MB / 0.5119 GB, free: 97.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003933/0.786, allocations: 0.6476 MB / 0.5126 GB, free: 97.76 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 9 ($STATESET1.x,advancedSolenoid.coil1.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedSolenoid.g_mLeakWork.Phi,advancedFeed_x.s,advancedFeed_x.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 239 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 38,3 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.001185/0.7872, allocations: 217.4 kB / 0.5128 GB, free: 97.67 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008469/0.7957, allocations: 3.773 MB / 0.5165 GB, free: 95.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.7957, allocations: 0 / 0.5165 GB, free: 95.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004223/0.8, allocations: 2.358 MB / 0.5188 GB, free: 92.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.8021, allocations: 234.3 kB / 0.519 GB, free: 92.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.8161, allocations: 5.239 MB / 0.5241 GB, free: 88.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003978/0.8201, allocations: 2.029 MB / 0.5261 GB, free: 86.54 MB / 346.7 MB Notification: Performance of SimCode: time 1.794e-06/0.8202, allocations: 0 / 0.5261 GB, free: 86.54 MB / 346.7 MB Notification: Performance of Templates: time 0.08562/0.9058, allocations: 54.03 MB / 0.5789 GB, free: 38.55 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)