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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001022/0.001022, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.341/1.341, allocations: 194.3 MB / 208.4 MB, free: 6.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.001651/0.001651, allocations: 112.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.527e-05/2.53e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07297/0.07301, allocations: 44.49 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.289/0.3621, allocations: 87.16 MB / 436.6 MB, free: 7.324 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.3623, allocations: 81.89 kB / 436.7 MB, free: 7.312 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1252/0.4875, allocations: 49.41 MB / 486.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4875, allocations: 0 / 486.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001173/0.4877, allocations: 48.22 kB / 486.1 MB, free: 13.96 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.0051/0.4928, allocations: 2.328 MB / 488.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4928, allocations: 8.031 kB / 488.5 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005235/0.4933, allocations: 292.4 kB / 488.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.4959, allocations: 1.333 MB / 490.1 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.4961, allocations: 156.1 kB / 490.2 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.4964, allocations: 208.2 kB / 490.4 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003783/0.5002, allocations: 1.78 MB / 492.2 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.971e-05/0.5003, allocations: 7.938 kB / 492.2 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.5005, allocations: 84 kB / 492.3 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/0.5005, allocations: 52 kB / 492.4 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0034/0.5039, allocations: 1.766 MB / 494.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/0.5168, allocations: 7.59 MB / 0.49 GB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/0.5202, allocations: 2.246 MB / 0.4922 GB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002372/0.5226, allocations: 1.292 MB / 0.4934 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.5227, allocations: 41.95 kB / 0.4935 GB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.5228, allocations: 60.56 kB / 0.4935 GB, free: 10.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=240): time 4.578e-06/0.5228, allocations: 0 / 0.4935 GB, free: 10.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=372): time 0.04894/0.5718, allocations: 15.29 MB / 0.5084 GB, free: 10.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2635/0.8353, allocations: 30.84 MB / 0.5386 GB, free: 99.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/0.8391, allocations: 1.608 MB / 0.5401 GB, free: 98.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006492/0.8398, allocations: 86.52 kB / 0.5402 GB, free: 98.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007377/0.8405, allocations: 0.9561 MB / 0.5411 GB, free: 98.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/0.8416, allocations: 1.235 MB / 0.5424 GB, free: 98.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.8418, allocations: 65.53 kB / 0.5424 GB, free: 98.19 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.842, allocations: 436.2 kB / 0.5428 GB, free: 97.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/0.8447, allocations: 1.252 MB / 0.5441 GB, free: 97.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/0.8473, allocations: 1.551 MB / 0.5456 GB, free: 97.72 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002834/0.8502, allocations: 1.463 MB / 0.547 GB, free: 97.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.8502, allocations: 1.375 kB / 0.547 GB, free: 97.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.01083/0.861, allocations: 4.588 MB / 0.5515 GB, free: 97.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.931e-05/0.8611, allocations: 37.08 kB / 0.5515 GB, free: 97.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.8612, allocations: 4.625 kB / 0.5515 GB, free: 97.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005543/0.8667, allocations: 1.347 MB / 0.5528 GB, free: 97.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00316/0.8699, allocations: 0.5869 MB / 0.5534 GB, free: 97.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/0.8926, allocations: 19.22 MB / 0.5722 GB, free: 84.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0033/0.8959, allocations: 171.6 kB / 0.5723 GB, free: 84.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007254/0.8967, allocations: 121.8 kB / 0.5725 GB, free: 84.11 MB / 394.7 MB 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 (315): * Single equations (assignments): 305 * Array equations: 2 * 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%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 51,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.0009615/0.8977, allocations: 278.2 kB / 0.5727 GB, free: 83.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000777/0.8985, allocations: 260.6 kB / 0.573 GB, free: 83.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.9089, allocations: 4.604 MB / 0.5775 GB, free: 81.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00829/0.9172, allocations: 4.019 MB / 0.5814 GB, free: 80.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/0.9173, allocations: 5.156 kB / 0.5814 GB, free: 80.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.823e-05/0.9173, allocations: 19.08 kB / 0.5814 GB, free: 80.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/0.9345, allocations: 9.751 MB / 0.5909 GB, free: 75.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.9345, allocations: 11.89 kB / 0.5909 GB, free: 75.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002309/0.9368, allocations: 0.4991 MB / 0.5914 GB, free: 75.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004877/0.9417, allocations: 1.38 MB / 0.5928 GB, free: 75.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002748/0.942, allocations: 80.45 kB / 0.5929 GB, free: 75.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01903/0.9611, allocations: 17.68 MB / 0.6101 GB, free: 59.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05113/1.012, allocations: 27.25 MB / 0.6367 GB, free: 34.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/1.025, allocations: 6.679 MB / 0.6433 GB, free: 27.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.027, allocations: 0.6994 MB / 0.6439 GB, free: 27.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006193/1.027, allocations: 68 kB / 0.644 GB, free: 27.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/1.03, allocations: 162.8 kB / 0.6442 GB, free: 27.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006915/1.03, allocations: 276.9 kB / 0.6444 GB, free: 26.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/1.031, allocations: 103.3 kB / 0.6445 GB, free: 26.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001841/1.033, allocations: 1.254 MB / 0.6458 GB, free: 25.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.033, allocations: 4 kB / 0.6458 GB, free: 25.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003516/1.036, allocations: 1.071 MB / 0.6468 GB, free: 24.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,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 (256): * Single equations (assignments): 249 * 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%) 2,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 43,4 53} Notification: Performance of Backend phase and start with SimCode phase: time 0.000918/1.037, allocations: 326.2 kB / 0.6471 GB, free: 24.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006673/1.044, allocations: 4.599 MB / 0.6516 GB, free: 19.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.044, allocations: 0 / 0.6516 GB, free: 19.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004164/1.048, allocations: 3.121 MB / 0.6547 GB, free: 16.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/1.05, allocations: 304.5 kB / 0.6549 GB, free: 16.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009463/1.059, allocations: 6.032 MB / 0.6608 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.061, allocations: 1.838 MB / 0.6626 GB, free: 9.492 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002275/1.063, allocations: 327.9 kB / 0.6629 GB, free: 9.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000849/1.064, allocations: 177.9 kB / 0.6631 GB, free: 9.113 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/1.064, allocations: 0 / 0.6631 GB, free: 9.113 MB / 394.7 MB Notification: Performance of Templates: time 0.3372/1.401, allocations: 64.97 MB / 0.7266 GB, free: 99.57 MB / 410.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)