Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002253/0.002253, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.184/2.184, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001113, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.967e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09191, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5962/0.6882, allocations: 92.39 MB / 461.5 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.6886, allocations: 86.06 kB / 461.6 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3551/1.044, allocations: 78.11 MB / 0.527 GB, free: 3.562 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.044, allocations: 0 / 0.527 GB, free: 3.562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001219/1.045, allocations: 112 kB / 0.5271 GB, free: 3.453 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.2943/1.339, allocations: 5.522 MB / 0.5325 GB, free: 93.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/1.339, allocations: 12.66 kB / 0.5325 GB, free: 93.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00294/1.342, allocations: 0.8648 MB / 0.5334 GB, free: 93.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/1.356, allocations: 3.588 MB / 0.5369 GB, free: 92.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/1.357, allocations: 162.8 kB / 0.537 GB, free: 92.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000852/1.357, allocations: 206 kB / 0.5372 GB, free: 92.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007219/1.365, allocations: 2.016 MB / 0.5392 GB, free: 92.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-05/1.365, allocations: 5.062 kB / 0.5392 GB, free: 92.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/1.365, allocations: 85.38 kB / 0.5393 GB, free: 92.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/1.365, allocations: 49.5 kB / 0.5393 GB, free: 92.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006398/1.372, allocations: 1.783 MB / 0.5411 GB, free: 92.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03225/1.404, allocations: 10.14 MB / 0.551 GB, free: 90.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005375/1.409, allocations: 2.297 MB / 0.5532 GB, free: 90.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003921/1.413, allocations: 1.306 MB / 0.5545 GB, free: 89.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/1.414, allocations: 36.09 kB / 0.5545 GB, free: 89.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003128/1.417, allocations: 1.114 MB / 0.5556 GB, free: 89.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 6.823e-06/1.417, allocations: 0 / 0.5556 GB, free: 89.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=382): time 0.08934/1.506, allocations: 19.13 MB / 0.5743 GB, free: 80.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1151/1.621, allocations: 30.76 MB / 0.6043 GB, free: 60.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1599/1.781, allocations: 13.36 MB / 0.6174 GB, free: 48.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007935/1.782, allocations: 93.61 kB / 0.6175 GB, free: 48.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004406/1.787, allocations: 2.858 MB / 0.6203 GB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001684/1.788, allocations: 1.263 MB / 0.6215 GB, free: 44.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004784/1.789, allocations: 72 kB / 0.6216 GB, free: 44.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/1.789, allocations: 444.7 kB / 0.622 GB, free: 44.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003868/1.793, allocations: 1.279 MB / 0.6232 GB, free: 43.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00438/1.797, allocations: 1.624 MB / 0.6248 GB, free: 41.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004565/1.802, allocations: 1.473 MB / 0.6263 GB, free: 40.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/1.802, allocations: 0 / 0.6263 GB, free: 40.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=445) (initialization): time 0.01762/1.82, allocations: 4.592 MB / 0.6307 GB, free: 35.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/1.82, allocations: 8 kB / 0.6308 GB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/1.82, allocations: 4 kB / 0.6308 GB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009658/1.83, allocations: 1.424 MB / 0.6322 GB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005897/1.835, allocations: 0.5731 MB / 0.6327 GB, free: 34.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04752/1.883, allocations: 22.25 MB / 0.6544 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009362/1.892, allocations: 200.7 kB / 0.6546 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/1.894, allocations: 122.4 kB / 0.6547 GB, free: 11.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEventScaled,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 (318): * Single equations (assignments): 307 * Array equations: 2 * Algorithm blocks: 0 * 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 43,3 51} Notification: Performance of prepare postOptimizeDAE: time 0.001487/1.895, allocations: 274.8 kB / 0.655 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004048/1.899, allocations: 0.8563 MB / 0.6558 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03033/1.93, allocations: 5.48 MB / 0.6612 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008897/1.939, allocations: 2.388 MB / 0.6635 GB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.425e-05/1.939, allocations: 4 kB / 0.6635 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001058/1.939, allocations: 26.19 kB / 0.6636 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05347/1.992, allocations: 14.27 MB / 0.6775 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-05/1.992, allocations: 0 / 0.6775 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00558/1.998, allocations: 0.4957 MB / 0.678 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01065/2.009, allocations: 1.44 MB / 0.6794 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008281/2.01, allocations: 79.95 kB / 0.6795 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04307/2.053, allocations: 20.36 MB / 0.6993 GB, free: 24 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4272/2.48, allocations: 27.19 MB / 0.7259 GB, free: 106.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02554/2.506, allocations: 7.855 MB / 0.7336 GB, free: 103.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005421/2.511, allocations: 1.598 MB / 0.7351 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002535/2.514, allocations: 92.47 kB / 0.7352 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005912/2.52, allocations: 168.5 kB / 0.7354 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001351/2.521, allocations: 288.2 kB / 0.7357 GB, free: 102.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004448/2.522, allocations: 104.6 kB / 0.7358 GB, free: 102.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.02495/2.546, allocations: 10.76 MB / 0.7463 GB, free: 98.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.412e-06/2.547, allocations: 0 / 0.7463 GB, free: 98.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008877/2.555, allocations: 1.764 MB / 0.748 GB, free: 98.73 MB / 442.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: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 53,3 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.002001/2.557, allocations: 490.8 kB / 0.7485 GB, free: 98.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01273/2.57, allocations: 4.874 MB / 0.7532 GB, free: 95.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/2.57, allocations: 3.406 kB / 0.7532 GB, free: 95.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008361/2.579, allocations: 3.393 MB / 0.7565 GB, free: 93.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006059/2.585, allocations: 491.7 kB / 0.757 GB, free: 93.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04482/2.63, allocations: 17.92 MB / 0.7745 GB, free: 81.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008918/2.639, allocations: 4.213 MB / 0.7786 GB, free: 78.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003541/2.642, allocations: 389.6 kB / 0.779 GB, free: 78.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.694e-06/2.642, allocations: 0 / 0.779 GB, free: 78.5 MB / 442.7 MB Notification: Performance of Templates: time 2.479/5.121, allocations: 0.5436 GB / 1.323 GB, free: 47.88 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1)