Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009082/0.009081, allocations: 166.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.425/1.425, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001689/0.001689, allocations: 111.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004658, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2938, allocations: 38.77 MB / 312.9 MB, free: 38.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.4, allocations: 83.78 MB / 396.7 MB, free: 6.699 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.4003, allocations: 87.95 kB / 396.8 MB, free: 6.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3904/0.7907, allocations: 72.15 MB / 468.9 MB, free: 53.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.7907, allocations: 0 / 468.9 MB, free: 53.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0007805/0.7915, allocations: 108 kB / 469 MB, free: 53.57 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: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.01681/0.8084, allocations: 6.933 MB / 475.9 MB, free: 46.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.8084, allocations: 8.031 kB / 475.9 MB, free: 46.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/0.8109, allocations: 0.8528 MB / 476.8 MB, free: 45.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009008/0.8199, allocations: 3.565 MB / 480.4 MB, free: 42.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.8201, allocations: 152 kB / 480.5 MB, free: 41.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/0.8204, allocations: 200 kB / 480.7 MB, free: 41.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003964/0.8244, allocations: 2.067 MB / 482.8 MB, free: 39.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.567e-05/0.8245, allocations: 7.906 kB / 482.8 MB, free: 39.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.8246, allocations: 80 kB / 482.9 MB, free: 39.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/0.8247, allocations: 48 kB / 482.9 MB, free: 39.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003636/0.8283, allocations: 1.93 MB / 484.8 MB, free: 37.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01904/0.8474, allocations: 9.992 MB / 494.8 MB, free: 27.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003421/0.8508, allocations: 2.276 MB / 497.1 MB, free: 24.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.8511, allocations: 123.4 kB / 497.2 MB, free: 24.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001747/0.8528, allocations: 1.131 MB / 498.4 MB, free: 23.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=230): time 4.218e-06/0.8528, allocations: 0 / 498.4 MB, free: 23.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=358): time 0.06901/0.9218, allocations: 21.78 MB / 0.5079 GB, free: 1.551 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3475/1.269, allocations: 36.59 MB / 0.5437 GB, free: 80.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1281/1.398, allocations: 13.45 MB / 0.5568 GB, free: 80.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000745/1.398, allocations: 87.58 kB / 0.5569 GB, free: 80.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004581/1.403, allocations: 3.686 MB / 0.5605 GB, free: 77.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00141/1.404, allocations: 1.188 MB / 0.5617 GB, free: 77.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/1.405, allocations: 65.81 kB / 0.5617 GB, free: 77.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/1.405, allocations: 428.1 kB / 0.5621 GB, free: 76.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/1.408, allocations: 1.367 MB / 0.5635 GB, free: 76.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/1.41, allocations: 1.698 MB / 0.5651 GB, free: 75.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/1.413, allocations: 1.589 MB / 0.5667 GB, free: 74.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/1.413, allocations: 3.906 kB / 0.5667 GB, free: 74.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.008776/1.421, allocations: 4.983 MB / 0.5715 GB, free: 72.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/1.422, allocations: 36.95 kB / 0.5716 GB, free: 72.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/1.422, allocations: 3.469 kB / 0.5716 GB, free: 72.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/1.433, allocations: 1.628 MB / 0.5732 GB, free: 72.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/1.436, allocations: 0.5782 MB / 0.5737 GB, free: 72.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00843/1.445, allocations: 12.95 MB / 0.5864 GB, free: 60.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005656/1.45, allocations: 199.7 kB / 0.5866 GB, free: 60.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000798/1.451, allocations: 134.9 kB / 0.5867 GB, free: 60.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (304): * Single equations (assignments): 292 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 2 {2 38,3 48} Notification: Performance of prepare postOptimizeDAE: time 0.005045/1.456, allocations: 2.172 MB / 0.5888 GB, free: 59.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002295/1.459, allocations: 0.8434 MB / 0.5896 GB, free: 59.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009848/1.468, allocations: 5.15 MB / 0.5947 GB, free: 57.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003261/1.472, allocations: 2.2 MB / 0.5968 GB, free: 55.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.361e-05/1.472, allocations: 4 kB / 0.5968 GB, free: 55.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.615e-05/1.472, allocations: 21.75 kB / 0.5968 GB, free: 55.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02555/1.497, allocations: 13.68 MB / 0.6102 GB, free: 44.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/1.497, allocations: 7.391 kB / 0.6102 GB, free: 44.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002688/1.5, allocations: 0.4996 MB / 0.6107 GB, free: 43.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/1.511, allocations: 1.647 MB / 0.6123 GB, free: 42.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006292/1.511, allocations: 98.48 kB / 0.6124 GB, free: 42.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008099/1.519, allocations: 12.64 MB / 0.6247 GB, free: 29.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1313/1.651, allocations: 32.51 MB / 0.6565 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/1.665, allocations: 7.533 MB / 0.6638 GB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004984/1.67, allocations: 1.586 MB / 0.6654 GB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001571/1.671, allocations: 89.92 kB / 0.6655 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003772/1.675, allocations: 163.9 kB / 0.6656 GB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007941/1.676, allocations: 231 kB / 0.6659 GB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003221/1.676, allocations: 123.9 kB / 0.666 GB, free: 5.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.02661/1.703, allocations: 10.85 MB / 0.6766 GB, free: 10.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.703, allocations: 0 / 0.6766 GB, free: 10.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007771/1.711, allocations: 1.545 MB / 0.6781 GB, free: 9.262 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 6 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent) * Number of discrete states: 1 (comparisonWithFEA.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {5 49,4 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.00159/1.712, allocations: 443.1 kB / 0.6785 GB, free: 8.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008615/1.721, allocations: 4.503 MB / 0.6829 GB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.721, allocations: 0 / 0.6829 GB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005018/1.726, allocations: 2.87 MB / 0.6857 GB, free: 1.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/1.73, allocations: 489.5 kB / 0.6862 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2369/1.967, allocations: 21.68 MB / 0.7073 GB, free: 104.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008192/1.975, allocations: 4.126 MB / 0.7114 GB, free: 103.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003399/1.978, allocations: 0.8396 MB / 0.7122 GB, free: 103.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/1.98, allocations: 378.5 kB / 0.7126 GB, free: 103.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/1.98, allocations: 0 / 0.7126 GB, free: 103.7 MB / 378.7 MB Notification: Performance of Templates: time 0.2872/2.267, allocations: 76.55 MB / 0.7873 GB, free: 43.62 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1)