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.657/0.657, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001638/0.001638, allocations: 146.2 kB / 151.9 MB, free: 4.992 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002269/0.000227, allocations: 8 kB / 184.9 MB, free: 3.922 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1084, allocations: 25.15 MB / 210.1 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04741/0.1558, allocations: 45.13 MB / 255.2 MB, free: 4.684 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.1561, allocations: 73.42 kB / 255.3 MB, free: 4.613 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2442/0.4003, allocations: 70.25 MB / 325.5 MB, free: 38.11 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4003, allocations: 0 / 325.5 MB, free: 38.11 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.000412/0.4008, allocations: 108.3 kB / 325.6 MB, free: 38.11 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.01039/0.4112, allocations: 6.987 MB / 332.6 MB, free: 32.61 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.4112, allocations: 8.031 kB / 332.6 MB, free: 32.6 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.4124, allocations: 0.8537 MB / 333.5 MB, free: 31.73 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00543/0.4178, allocations: 3.525 MB / 337 MB, free: 28.77 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.965e-05/0.4179, allocations: 164.4 kB / 337.1 MB, free: 28.68 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005103/0.4185, allocations: 212.2 kB / 337.4 MB, free: 28.54 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00717/0.4256, allocations: 5.845 MB / 343.2 MB, free: 23.59 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.81e-05/0.4257, allocations: 3.906 kB / 343.2 MB, free: 23.58 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003274/0.4261, allocations: 100 kB / 343.3 MB, free: 23.48 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.4261, allocations: 48 kB / 343.3 MB, free: 23.44 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0065/0.4326, allocations: 5.548 MB / 348.9 MB, free: 17.88 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.4468, allocations: 10.38 MB / 359.3 MB, free: 7.406 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005836/0.4527, allocations: 5.629 MB / 364.9 MB, free: 1.715 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.4529, allocations: 119 kB / 365 MB, free: 1.586 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.453, allocations: 72.81 kB / 365.1 MB, free: 1.508 MB / 218.7 MB Notification: Performance of pre-optimization done (n=225): time 4.598e-06/0.453, allocations: 0 / 365.1 MB, free: 1.508 MB / 218.7 MB Notification: Performance of matching and sorting (n=353): time 0.1632/0.6162, allocations: 35.29 MB / 400.4 MB, free: 50.3 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1446/0.7608, allocations: 36.4 MB / 436.8 MB, free: 28.28 MB / 234.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.01043/0.7713, allocations: 7.43 MB / 444.2 MB, free: 20.97 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009247/0.7722, allocations: 97.7 kB / 444.3 MB, free: 20.87 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002709/0.7749, allocations: 3.678 MB / 448 MB, free: 17.27 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00139/0.7763, allocations: 1.182 MB / 449.2 MB, free: 16.25 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/0.7767, allocations: 80 kB / 449.3 MB, free: 16.17 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.7769, allocations: 432.9 kB / 449.7 MB, free: 15.74 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00516/0.782, allocations: 4.742 MB / 454.4 MB, free: 10.99 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005325/0.7874, allocations: 5.032 MB / 459.5 MB, free: 5.906 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005477/0.7929, allocations: 4.931 MB / 464.4 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.7929, allocations: 0 / 464.4 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01793/0.8108, allocations: 11.85 MB / 476.2 MB, free: 5.125 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.8109, allocations: 8 kB / 476.2 MB, free: 5.117 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.8109, allocations: 8.625 kB / 476.2 MB, free: 5.109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01123/0.8222, allocations: 1.604 MB / 477.8 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005078/0.8273, allocations: 0.7505 MB / 478.6 MB, free: 2.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1104/0.9377, allocations: 12.96 MB / 491.6 MB, free: 55.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/0.942, allocations: 168.5 kB / 491.7 MB, free: 55.1 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/0.9432, allocations: 476.5 kB / 492.2 MB, free: 55.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 288 * 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%) 5,(1,100.0%) 4} * Non-linear torn systems: 2 {3 37,5 46} Notification: Performance of prepare postOptimizeDAE: time 0.004728/0.9479, allocations: 2.193 MB / 494.4 MB, free: 54.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/0.9493, allocations: 0.8225 MB / 495.2 MB, free: 54.98 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02106/0.9703, allocations: 15.55 MB / 0.4988 GB, free: 54.66 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003745/0.9741, allocations: 2.181 MB / 0.5009 GB, free: 53.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.107e-05/0.9742, allocations: 5.094 kB / 0.5009 GB, free: 53.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.947e-05/0.9742, allocations: 17.48 kB / 0.5009 GB, free: 53.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02571/1, allocations: 13.63 MB / 0.5142 GB, free: 45.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/1, allocations: 0 / 0.5142 GB, free: 45.04 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/1.003, allocations: 0.4895 MB / 0.5147 GB, free: 44.67 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01076/1.014, allocations: 1.639 MB / 0.5163 GB, free: 43.45 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008729/1.014, allocations: 174.2 kB / 0.5165 GB, free: 43.31 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007363/1.022, allocations: 12.66 MB / 0.5289 GB, free: 30.25 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1275/1.149, allocations: 32.07 MB / 0.5602 GB, free: 348 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1366/1.286, allocations: 23.36 MB / 0.583 GB, free: 71.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/1.288, allocations: 0.754 MB / 0.5837 GB, free: 71.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001557/1.289, allocations: 81.27 kB / 0.5838 GB, free: 71.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003347/1.293, allocations: 162.9 kB / 0.584 GB, free: 71.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005663/1.293, allocations: 235.9 kB / 0.5842 GB, free: 71.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008614/1.294, allocations: 456.5 kB / 0.5846 GB, free: 71.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00976/1.304, allocations: 5.95 MB / 0.5904 GB, free: 71.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.304, allocations: 0.5625 kB / 0.5904 GB, free: 71.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.004479/1.308, allocations: 0.9718 MB / 0.5914 GB, free: 71.04 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 235 * 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%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 37,5 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009386/1.309, allocations: 288 kB / 0.5916 GB, free: 70.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.008706/1.318, allocations: 8.166 MB / 0.5996 GB, free: 70.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.318, allocations: 1.688 kB / 0.5996 GB, free: 70.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005301/1.323, allocations: 4.738 MB / 0.6043 GB, free: 69.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003761/1.327, allocations: 500 kB / 0.6047 GB, free: 69.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02236/1.35, allocations: 19.82 MB / 0.6241 GB, free: 52.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00368/1.353, allocations: 4.107 MB / 0.6281 GB, free: 49.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.002196/1.356, allocations: 311.2 kB / 0.6284 GB, free: 49.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000747/1.356, allocations: 205.7 kB / 0.6286 GB, free: 49.4 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/1.356, allocations: 0 / 0.6286 GB, free: 49.4 MB / 266.7 MB Notification: Performance of Templates: time 0.1908/1.547, allocations: 57.49 MB / 0.6847 GB, free: 68.66 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)