Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.801/0.801, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001706/0.001706, allocations: 147.5 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.295e-05/2.298e-05, allocations: 4 kB / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04349/0.04352, allocations: 25.18 MB / 205.4 MB, free: 8.422 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1789/0.2225, allocations: 45.02 MB / 250.4 MB, free: 19.77 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.2227, allocations: 73.08 kB / 250.5 MB, free: 19.77 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1636/0.3864, allocations: 70.28 MB / 320.8 MB, free: 0.8477 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3864, allocations: 0 / 320.8 MB, free: 0.8477 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.000853/0.3873, allocations: 108 kB / 320.9 MB, free: 0.7422 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.01439/0.4017, allocations: 5.592 MB / 326.5 MB, free: 11.08 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.4018, allocations: 8.031 kB / 326.5 MB, free: 11.07 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/0.4046, allocations: 0.8535 MB / 327.3 MB, free: 10.21 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008491/0.4131, allocations: 3.491 MB / 330.8 MB, free: 6.656 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.4134, allocations: 152 kB / 331 MB, free: 6.508 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009204/0.4143, allocations: 215.9 kB / 331.2 MB, free: 6.297 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008689/0.423, allocations: 5.728 MB / 336.9 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.485e-05/0.4231, allocations: 11.91 kB / 336.9 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003633/0.4234, allocations: 96 kB / 337 MB, free: 452 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-05/0.4235, allocations: 48 kB / 337.1 MB, free: 404 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1473/0.5708, allocations: 5.339 MB / 342.4 MB, free: 41.58 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02001/0.5909, allocations: 10.38 MB / 352.8 MB, free: 40.23 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007722/0.5986, allocations: 5.521 MB / 358.3 MB, free: 39.95 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006509/0.6052, allocations: 4.656 MB / 363 MB, free: 39.88 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.6056, allocations: 118.7 kB / 363.1 MB, free: 39.79 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.6056, allocations: 58.94 kB / 363.1 MB, free: 39.73 MB / 234.7 MB Notification: Performance of pre-optimization done (n=225): time 5.19e-06/0.6057, allocations: 3.844 kB / 363.1 MB, free: 39.73 MB / 234.7 MB Notification: Performance of matching and sorting (n=350): time 0.0651/0.6708, allocations: 29.2 MB / 392.3 MB, free: 22.13 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09074/0.7615, allocations: 33.33 MB / 425.7 MB, free: 9.008 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Magnetic/FluxTubes.mo:3057:9-3059:53:writable] Warning: Parameter advancedSolenoid.g_mFePole.r_i has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01432/0.7759, allocations: 7.35 MB / 433 MB, free: 2.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001426/0.7774, allocations: 97.7 kB / 433.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1519/0.9293, allocations: 3.672 MB / 436.8 MB, free: 49.54 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001931/0.9313, allocations: 1.175 MB / 438 MB, free: 49.38 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004955/0.9318, allocations: 78.69 kB / 438 MB, free: 49.38 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.932, allocations: 429 kB / 438.5 MB, free: 49.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00723/0.9392, allocations: 4.715 MB / 443.2 MB, free: 49.06 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007093/0.9464, allocations: 4.998 MB / 448.2 MB, free: 48.9 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006413/0.9528, allocations: 4.896 MB / 453.1 MB, free: 48.87 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.9529, allocations: 0 / 453.1 MB, free: 48.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.01637/0.9693, allocations: 11.76 MB / 464.8 MB, free: 48.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.9693, allocations: 7.594 kB / 464.8 MB, free: 48.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.9693, allocations: 3.625 kB / 464.8 MB, free: 48.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009634/0.979, allocations: 1.585 MB / 466.4 MB, free: 48.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004693/0.9837, allocations: 0.7557 MB / 467.2 MB, free: 48.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008762/0.9925, allocations: 12.9 MB / 480.1 MB, free: 37.92 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005289/0.9979, allocations: 174.3 kB / 480.3 MB, free: 37.92 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001519/0.9994, allocations: 475.3 kB / 480.7 MB, free: 37.9 MB / 250.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: 5 (comparisonWithFEA.tableID,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 (297): * Single equations (assignments): 286 * 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 {3 37,3 45} Notification: Performance of prepare postOptimizeDAE: time 0.001009/1, allocations: 286.7 kB / 481 MB, free: 37.79 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/1.002, allocations: 0.8265 MB / 481.8 MB, free: 37.35 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02093/1.023, allocations: 15.49 MB / 497.3 MB, free: 26.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003489/1.026, allocations: 2.149 MB / 499.5 MB, free: 24.47 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.868e-05/1.027, allocations: 8 kB / 499.5 MB, free: 24.46 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.921e-05/1.027, allocations: 21.42 kB / 499.5 MB, free: 24.46 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02521/1.052, allocations: 13.73 MB / 0.5012 GB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/1.052, allocations: 6.875 kB / 0.5012 GB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/1.054, allocations: 0.4972 MB / 0.5017 GB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009352/1.064, allocations: 1.624 MB / 0.5033 GB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001222/1.065, allocations: 181.1 kB / 0.5034 GB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008119/1.073, allocations: 12.57 MB / 0.5157 GB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2354/1.309, allocations: 28.79 MB / 0.5438 GB, free: 57.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03059/1.339, allocations: 23.31 MB / 0.5666 GB, free: 56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002685/1.342, allocations: 0.7537 MB / 0.5673 GB, free: 55.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003263/1.345, allocations: 84.31 kB / 0.5674 GB, free: 55.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004651/1.35, allocations: 168 kB / 0.5676 GB, free: 55.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008165/1.351, allocations: 237.3 kB / 0.5678 GB, free: 55.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001227/1.352, allocations: 460.9 kB / 0.5682 GB, free: 55.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.01161/1.364, allocations: 5.865 MB / 0.574 GB, free: 53.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.42e-07/1.364, allocations: 0 / 0.574 GB, free: 53.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.005013/1.369, allocations: 1.001 MB / 0.5749 GB, free: 53.72 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 ($STATESET2.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel,$STATESET1.x[2],$STATESET1.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v) * Number of discrete variables: 5 (comparisonWithFEA.tableID,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 simulation (244): * Single equations (assignments): 234 * 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%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 38,4 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009071/1.37, allocations: 285.4 kB / 0.5752 GB, free: 53.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.009116/1.379, allocations: 8.072 MB / 0.5831 GB, free: 46.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.379, allocations: 0 / 0.5831 GB, free: 46.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005129/1.384, allocations: 4.694 MB / 0.5877 GB, free: 42.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003827/1.388, allocations: 0.4907 MB / 0.5882 GB, free: 41.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/1.412, allocations: 15.56 MB / 0.6034 GB, free: 27.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004368/1.416, allocations: 4.113 MB / 0.6074 GB, free: 24.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.002508/1.419, allocations: 324.6 kB / 0.6077 GB, free: 24.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000813/1.42, allocations: 210.9 kB / 0.6079 GB, free: 24.3 MB / 266.7 MB Notification: Performance of SimCode: time 1.483e-06/1.42, allocations: 0 / 0.6079 GB, free: 24.3 MB / 266.7 MB Notification: Performance of Templates: time 0.2725/1.692, allocations: 61.42 MB / 0.6679 GB, free: 47.14 MB / 266.7 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1)