Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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) 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(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_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.2+maint.om/package.mo): time 0.00197/0.00197, allocations: 192.9 kB / 8.14 MB, free: 2.184 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.224/1.224, allocations: 194.2 MB / 202.8 MB, free: 8.703 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.001697/0.001697, allocations: 120.5 kB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.28e-06/5.3e-06, allocations: 0 / 297.6 MB, free: 7.953 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07363/0.07365, allocations: 44.48 MB / 342.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.2778, allocations: 86.42 MB / 428.5 MB, free: 8.746 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.278, allocations: 79.2 kB / 428.6 MB, free: 8.707 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1343/0.4124, allocations: 48.67 MB / 477.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001656/0.4126, allocations: 52 kB / 477.3 MB, free: 15.64 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.006682/0.4192, allocations: 2.375 MB / 479.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4193, allocations: 8.031 kB / 479.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007841/0.4201, allocations: 300.4 kB / 480 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/0.4231, allocations: 1.329 MB / 481.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-05/0.4232, allocations: 68 kB / 481.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/0.4236, allocations: 124 kB / 481.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003672/0.4273, allocations: 1.66 MB / 483.1 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003337/0.4306, allocations: 1.487 MB / 484.6 MB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.956e-05/0.4307, allocations: 15.84 kB / 484.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/0.4309, allocations: 0 / 484.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/0.431, allocations: 52 kB / 484.7 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/0.4451, allocations: 7.28 MB / 492 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.4476, allocations: 1.225 MB / 493.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/0.4497, allocations: 1.167 MB / 494.4 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.4499, allocations: 45.91 kB / 494.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.4499, allocations: 56.56 kB / 494.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=240): time 4.047e-06/0.4499, allocations: 0 / 494.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=372): time 0.03961/0.4895, allocations: 12.13 MB / 0.4947 GB, free: 1.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.4896, allocations: 94.33 kB / 0.4948 GB, free: 1.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00262/0.4922, allocations: 1.489 MB / 0.4963 GB, free: 188 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002175/0.4925, allocations: 25.7 kB / 0.4963 GB, free: 156 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/0.4929, allocations: 0.6647 MB / 0.4969 GB, free: 15.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009741/0.4939, allocations: 1.173 MB / 0.4981 GB, free: 14.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.4941, allocations: 0 / 0.4981 GB, free: 14.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002437/0.4944, allocations: 437 kB / 0.4985 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002262/0.4967, allocations: 1.147 MB / 0.4996 GB, free: 12.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002579/0.4993, allocations: 1.42 MB / 0.501 GB, free: 11.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/0.5019, allocations: 1.329 MB / 0.5023 GB, free: 9.895 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.5019, allocations: 0 / 0.5023 GB, free: 9.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01112/0.513, allocations: 4.215 MB / 0.5064 GB, free: 5.637 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.5131, allocations: 4.781 kB / 0.5064 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.5131, allocations: 7.906 kB / 0.5064 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006496/0.5196, allocations: 1.356 MB / 0.5077 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003535/0.5232, allocations: 0.5734 MB / 0.5083 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.128/0.6512, allocations: 18.36 MB / 0.5262 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/0.6539, allocations: 77.38 kB / 0.5263 GB, free: 132.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/0.6541, allocations: 112.6 kB / 0.5264 GB, free: 132.5 MB / 394.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 (310): * Single equations (assignments): 302 * 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 55,3 42} Notification: Performance of prepare postOptimizeDAE: time 0.0005512/0.6547, allocations: 157.7 kB / 0.5266 GB, free: 132.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004215/0.6551, allocations: 256.4 kB / 0.5268 GB, free: 132.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009356/0.6645, allocations: 4.102 MB / 0.5308 GB, free: 132.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.6645, allocations: 35.31 kB / 0.5309 GB, free: 132.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.6646, allocations: 6.219 kB / 0.5309 GB, free: 132.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.761e-05/0.6646, allocations: 21.34 kB / 0.5309 GB, free: 132.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.6796, allocations: 8.643 MB / 0.5393 GB, free: 130.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.6796, allocations: 3.781 kB / 0.5393 GB, free: 130.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/0.6824, allocations: 0.5153 MB / 0.5398 GB, free: 130.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005097/0.6875, allocations: 1.254 MB / 0.5411 GB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/0.6877, allocations: 23.48 kB / 0.5411 GB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01933/0.7071, allocations: 16.49 MB / 0.5572 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02685/0.734, allocations: 11.73 MB / 0.5686 GB, free: 110.8 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01279/0.7468, allocations: 6.208 MB / 0.5747 GB, free: 107.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.7481, allocations: 0.6765 MB / 0.5754 GB, free: 107.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006335/0.7488, allocations: 13.97 kB / 0.5754 GB, free: 107.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/0.7511, allocations: 94.11 kB / 0.5755 GB, free: 107.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/0.7514, allocations: 186.8 kB / 0.5756 GB, free: 107.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/0.7517, allocations: 102.9 kB / 0.5757 GB, free: 107.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001448/0.7531, allocations: 1.132 MB / 0.5768 GB, free: 106.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002845/0.756, allocations: 0.7888 MB / 0.5776 GB, free: 106.7 MB / 394.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 (261): * Single equations (assignments): 254 * 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 43,3 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007185/0.7567, allocations: 249.3 kB / 0.5779 GB, free: 106.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005961/0.7627, allocations: 4.027 MB / 0.5818 GB, free: 104.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7627, allocations: 3.281 kB / 0.5818 GB, free: 104.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003632/0.7664, allocations: 2.635 MB / 0.5844 GB, free: 103.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.7678, allocations: 229.4 kB / 0.5846 GB, free: 103 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009877/0.7776, allocations: 5.295 MB / 0.5898 GB, free: 100.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002057/0.7797, allocations: 1.972 MB / 0.5917 GB, free: 98.59 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.7797, allocations: 0 / 0.5917 GB, free: 98.59 MB / 394.7 MB Notification: Performance of Templates: time 0.08095/0.8607, allocations: 63.46 MB / 0.6537 GB, free: 42.05 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)