Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 47.92 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1223, allocations: 46.64 MB / 326.6 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007371/0.1297, allocations: 6.229 MB / 332.9 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.1336, allocations: 1.87 MB / 334.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004371/0.1341, allocations: 23.88 kB / 334.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000537/0.1346, allocations: 218 kB / 335 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007947/0.1354, allocations: 388.9 kB / 335.3 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007768/0.1362, allocations: 375.5 kB / 335.7 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001836/0.138, allocations: 1.479 MB / 337.2 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006714/0.1387, allocations: 0.5093 MB / 337.7 MB, free: 9.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006339/0.1394, allocations: 0.5334 MB / 338.2 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006105/0.14, allocations: 0.5991 MB / 338.8 MB, free: 8.176 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.1402, allocations: 160 kB / 339 MB, free: 8.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.1404, allocations: 160 kB / 339.1 MB, free: 7.863 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.1406, allocations: 303.1 kB / 339.4 MB, free: 7.566 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005425/0.1412, allocations: 0.6417 MB / 340.1 MB, free: 6.922 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.1427, allocations: 1.838 MB / 341.9 MB, free: 5.078 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1427, allocations: 0 / 341.9 MB, free: 5.078 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1427, allocations: 0 / 341.9 MB, free: 5.078 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.208e-05/0.1427, allocations: 0 / 341.9 MB, free: 5.078 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002926/0.1457, allocations: 1.442 MB / 343.4 MB, free: 3.582 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1457, allocations: 8.031 kB / 343.4 MB, free: 3.574 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.1459, allocations: 123.5 kB / 343.5 MB, free: 3.453 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.1469, allocations: 0.6611 MB / 344.1 MB, free: 2.754 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.1471, allocations: 82.55 kB / 344.2 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.1472, allocations: 108.2 kB / 344.3 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.149, allocations: 1.009 MB / 345.3 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.1491, allocations: 3.906 kB / 345.3 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.682e-05/0.1492, allocations: 40 kB / 345.4 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.1492, allocations: 24 kB / 345.4 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.151, allocations: 0.864 MB / 346.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004845/0.1559, allocations: 3.348 MB / 349.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.1573, allocations: 0.8191 MB / 350.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009048/0.1583, allocations: 475.2 kB / 350.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.1583, allocations: 13.14 kB / 350.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.1584, allocations: 43.12 kB / 351 MB, free: 11.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 3.136e-06/0.1584, allocations: 0 / 351 MB, free: 11.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.009417/0.1678, allocations: 4.316 MB / 355.3 MB, free: 7.246 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.1679, allocations: 85.77 kB / 355.4 MB, free: 7.145 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/0.1687, allocations: 0.5968 MB / 356 MB, free: 6.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/0.1688, allocations: 49.7 kB / 356 MB, free: 6.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.169, allocations: 424.1 kB / 356.4 MB, free: 6.059 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/0.1693, allocations: 390.2 kB / 356.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.1696, allocations: 186.9 kB / 357 MB, free: 5.484 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1698, allocations: 394.7 kB / 357.4 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000914/0.1707, allocations: 378.4 kB / 357.7 MB, free: 4.719 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009231/0.1716, allocations: 0.5158 MB / 358.3 MB, free: 4.168 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.1733, allocations: 0.8848 MB / 359.1 MB, free: 3.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1734, allocations: 0 / 359.1 MB, free: 3.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002372/0.1757, allocations: 1.196 MB / 360.3 MB, free: 2.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1758, allocations: 8 kB / 360.3 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1758, allocations: 4 kB / 360.3 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/0.1762, allocations: 130.5 kB / 360.5 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.1773, allocations: 247.7 kB / 360.7 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003842/0.1811, allocations: 4.973 MB / 365.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007887/0.1819, allocations: 56.02 kB / 365.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/0.182, allocations: 47.91 kB / 365.8 MB, free: 12.16 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004327/0.1825, allocations: 269.7 kB / 366.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.1826, allocations: 91 kB / 366.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.1842, allocations: 0.7722 MB / 366.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.1842, allocations: 12 kB / 366.9 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.1843, allocations: 4 kB / 366.9 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.1843, allocations: 11.97 kB / 366.9 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/0.1884, allocations: 2.655 MB / 369.6 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1884, allocations: 3.938 kB / 369.6 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008675/0.1893, allocations: 207.7 kB / 369.8 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004178/0.1897, allocations: 167.3 kB / 370 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/0.1898, allocations: 27.98 kB / 370 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004418/0.1942, allocations: 5.994 MB / 376 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1942, allocations: 0 / 376 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1817/0.3759, allocations: 1.733 MB / 377.7 MB, free: 51.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.3764, allocations: 163.4 kB / 377.9 MB, free: 51.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003943/0.3768, allocations: 21.55 kB / 377.9 MB, free: 51.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.378, allocations: 54.97 kB / 378 MB, free: 51.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003366/0.3783, allocations: 75.62 kB / 378 MB, free: 51.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.3785, allocations: 31.02 kB / 378.1 MB, free: 51.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009694/0.3794, allocations: 444.6 kB / 378.5 MB, free: 51.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3795, allocations: 0 / 378.5 MB, free: 51.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001702/0.3812, allocations: 258.5 kB / 378.7 MB, free: 51.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002892/0.3815, allocations: 129.4 kB / 378.9 MB, free: 50.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004283/0.3858, allocations: 1.387 MB / 380.3 MB, free: 50.6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3858, allocations: 0 / 380.3 MB, free: 50.6 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.3878, allocations: 1.003 MB / 381.3 MB, free: 50.15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.3892, allocations: 186.5 kB / 381.4 MB, free: 50.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/0.3942, allocations: 2.154 MB / 383.6 MB, free: 49.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008302/0.3951, allocations: 1.021 MB / 384.6 MB, free: 48.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000896/0.396, allocations: 124.6 kB / 384.7 MB, free: 48.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.3963, allocations: 76.94 kB / 384.8 MB, free: 48.45 MB / 318.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3963, allocations: 0 / 384.8 MB, free: 48.45 MB / 318.1 MB Notification: Performance of Templates: time 0.01899/0.4153, allocations: 11.92 MB / 396.7 MB, free: 44.46 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)