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.001424/0.001424, allocations: 170.2 kB / 12.72 MB, free: 2.594 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.205/1.205, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001713/0.001713, allocations: 107.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.385e-05, allocations: 0 / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06828/0.06832, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3486/0.417, allocations: 83.68 MB / 391.3 MB, free: 8.656 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.4174, allocations: 91.25 kB / 391.4 MB, free: 8.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2672/0.6846, allocations: 72.16 MB / 463.6 MB, free: 5.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.815e-06/0.6847, allocations: 4 kB / 463.6 MB, free: 5.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.001317/0.686, allocations: 112 kB / 463.7 MB, free: 5.254 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: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.3355/1.022, allocations: 5.522 MB / 469.2 MB, free: 73.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.227e-05/1.022, allocations: 9.062 kB / 469.2 MB, free: 73.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004025/1.026, allocations: 0.8622 MB / 470.1 MB, free: 72.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/1.04, allocations: 3.51 MB / 473.6 MB, free: 72.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/1.04, allocations: 158.1 kB / 473.7 MB, free: 72.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/1.041, allocations: 202 kB / 473.9 MB, free: 72.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006462/1.047, allocations: 1.943 MB / 475.9 MB, free: 71.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.521e-05/1.047, allocations: 3.703 kB / 475.9 MB, free: 71.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/1.048, allocations: 82 kB / 476 MB, free: 71.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.372e-05/1.048, allocations: 53.19 kB / 476 MB, free: 71.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004006/1.052, allocations: 1.715 MB / 477.7 MB, free: 71.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02056/1.072, allocations: 9.991 MB / 487.7 MB, free: 70.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/1.076, allocations: 2.175 MB / 489.9 MB, free: 69.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/1.078, allocations: 1.264 MB / 491.2 MB, free: 69.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/1.078, allocations: 123.9 kB / 491.3 MB, free: 69.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001562/1.079, allocations: 1.045 MB / 492.3 MB, free: 69.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=230): time 4.569e-06/1.08, allocations: 0 / 492.3 MB, free: 69.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=355): time 0.05634/1.136, allocations: 18.98 MB / 0.4993 GB, free: 61.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0877/1.224, allocations: 33.07 MB / 0.5316 GB, free: 38.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.122/1.346, allocations: 13.34 MB / 0.5446 GB, free: 27.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009139/1.347, allocations: 83.42 kB / 0.5447 GB, free: 26.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005773/1.352, allocations: 3.687 MB / 0.5483 GB, free: 23.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001753/1.354, allocations: 1.176 MB / 0.5495 GB, free: 22.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006989/1.355, allocations: 64 kB / 0.5495 GB, free: 22.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002459/1.355, allocations: 433 kB / 0.5499 GB, free: 22.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002877/1.358, allocations: 1.339 MB / 0.5513 GB, free: 20.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003019/1.361, allocations: 1.66 MB / 0.5529 GB, free: 19.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/1.364, allocations: 1.555 MB / 0.5544 GB, free: 17.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/1.364, allocations: 0 / 0.5544 GB, free: 17.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=420) (initialization): time 0.009663/1.374, allocations: 4.908 MB / 0.5592 GB, free: 12.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/1.374, allocations: 33.7 kB / 0.5592 GB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/1.374, allocations: 4 kB / 0.5592 GB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009355/1.383, allocations: 1.595 MB / 0.5608 GB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00329/1.387, allocations: 0.5889 MB / 0.5614 GB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009217/1.396, allocations: 12.91 MB / 0.574 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005638/1.401, allocations: 192.1 kB / 0.5741 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006757/1.402, allocations: 148.8 kB / 0.5743 GB, free: 13.44 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 290 * 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%) 7,(1,100.0%) 4} * Non-linear torn systems: 2 {2 38,3 45} Notification: Performance of prepare postOptimizeDAE: time 0.0007113/1.403, allocations: 264.3 kB / 0.5745 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00283/1.406, allocations: 0.841 MB / 0.5754 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/1.417, allocations: 5.051 MB / 0.5803 GB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003812/1.421, allocations: 2.149 MB / 0.5824 GB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-05/1.421, allocations: 7.562 kB / 0.5824 GB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.304e-05/1.421, allocations: 26.09 kB / 0.5824 GB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2949/1.716, allocations: 13.85 MB / 0.5959 GB, free: 83.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/1.716, allocations: 0 / 0.5959 GB, free: 83.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003044/1.719, allocations: 0.5135 MB / 0.5964 GB, free: 83.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01058/1.73, allocations: 1.617 MB / 0.598 GB, free: 83.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008302/1.73, allocations: 101.7 kB / 0.5981 GB, free: 83.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009525/1.74, allocations: 12.55 MB / 0.6104 GB, free: 73.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07199/1.812, allocations: 28.83 MB / 0.6385 GB, free: 63.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/1.826, allocations: 7.477 MB / 0.6458 GB, free: 59.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006028/1.832, allocations: 1.591 MB / 0.6474 GB, free: 58.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002325/1.834, allocations: 86.84 kB / 0.6475 GB, free: 58.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003891/1.838, allocations: 163 kB / 0.6476 GB, free: 58.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006577/1.839, allocations: 240.5 kB / 0.6479 GB, free: 58.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000258/1.839, allocations: 120.7 kB / 0.648 GB, free: 58.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.01918/1.858, allocations: 10.75 MB / 0.6585 GB, free: 54.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/1.858, allocations: 4.969 kB / 0.6585 GB, free: 54.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006731/1.865, allocations: 1.559 MB / 0.66 GB, free: 53.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 239 * 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%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {4 47,3 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.001316/1.867, allocations: 409.3 kB / 0.6604 GB, free: 52.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006651/1.873, allocations: 4.427 MB / 0.6647 GB, free: 48.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/1.873, allocations: 3.938 kB / 0.6647 GB, free: 48.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003999/1.877, allocations: 2.836 MB / 0.6675 GB, free: 45.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004964/1.882, allocations: 477.5 kB / 0.6679 GB, free: 45.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02808/1.91, allocations: 17.43 MB / 0.685 GB, free: 30 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003867/1.914, allocations: 4.127 MB / 0.689 GB, free: 27.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00468/1.919, allocations: 0.8583 MB / 0.6898 GB, free: 26.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/1.92, allocations: 388.4 kB / 0.6902 GB, free: 25.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.683e-06/1.92, allocations: 7.938 kB / 0.6902 GB, free: 25.97 MB / 362.7 MB Notification: Performance of Templates: time 0.5446/2.465, allocations: 80.46 MB / 0.7688 GB, free: 79.81 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)