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.001276/0.001276, allocations: 94.47 kB / 16.3 MB, free: 5.996 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.001435/0.001435, allocations: 178.8 kB / 17.2 MB, free: 5.914 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.664/1.664, allocations: 205.4 MB / 223.4 MB, free: 13.18 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.0005175/0.0005175, allocations: 12 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1241, allocations: 47.58 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006103/0.1302, allocations: 5.012 MB / 332.7 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003475/0.1338, allocations: 1.844 MB / 334.6 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005454/0.1343, allocations: 19.94 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.1348, allocations: 154.9 kB / 334.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009127/0.1357, allocations: 426.8 kB / 335.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005866/0.1363, allocations: 207.7 kB / 335.3 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.1375, allocations: 0.9127 MB / 336.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005192/0.138, allocations: 366.2 kB / 336.6 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005259/0.1386, allocations: 426.4 kB / 337 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005401/0.1391, allocations: 493.8 kB / 337.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.1392, allocations: 64 kB / 337.6 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.1394, allocations: 63.94 kB / 337.6 MB, free: 10.11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.1396, allocations: 195.2 kB / 337.8 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.1398, allocations: 241.2 kB / 338.1 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.141, allocations: 1.457 MB / 339.5 MB, free: 8.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.141, allocations: 0 / 339.5 MB, free: 8.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.141, allocations: 4 kB / 339.5 MB, free: 8.211 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.141, allocations: 0 / 339.5 MB, free: 8.211 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.002668/0.1437, allocations: 1.294 MB / 340.8 MB, free: 6.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1437, allocations: 8.031 kB / 340.8 MB, free: 6.859 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.1439, allocations: 122.5 kB / 340.9 MB, free: 6.738 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.145, allocations: 0.6485 MB / 341.6 MB, free: 6.043 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.1451, allocations: 85.98 kB / 341.7 MB, free: 5.961 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.1453, allocations: 95.91 kB / 341.8 MB, free: 5.867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.1472, allocations: 1.013 MB / 342.8 MB, free: 4.844 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.1472, allocations: 4 kB / 342.8 MB, free: 4.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/0.1473, allocations: 36 kB / 342.8 MB, free: 4.805 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.1474, allocations: 24 kB / 342.8 MB, free: 4.781 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.1493, allocations: 0.9186 MB / 343.8 MB, free: 3.863 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004995/0.1543, allocations: 3.344 MB / 347.1 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.1557, allocations: 0.8391 MB / 347.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/0.1558, allocations: 20.47 kB / 348 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1559, allocations: 39.12 kB / 348 MB, free: 15.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 2.384e-06/0.1559, allocations: 0 / 348 MB, free: 15.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.009559/0.1654, allocations: 4.44 MB / 352.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.1655, allocations: 89.77 kB / 352.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007837/0.1663, allocations: 0.5968 MB / 353.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.612e-05/0.1664, allocations: 41.7 kB / 353.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.1667, allocations: 439.9 kB / 353.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/0.167, allocations: 394.2 kB / 354 MB, free: 9.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.1671, allocations: 20 kB / 354 MB, free: 9.223 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1672, allocations: 398.7 kB / 354.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008574/0.1681, allocations: 402.4 kB / 354.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009402/0.1691, allocations: 0.5198 MB / 355.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009106/0.17, allocations: 444 kB / 355.7 MB, free: 7.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.17, allocations: 0 / 355.7 MB, free: 7.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002391/0.1724, allocations: 1.227 MB / 357 MB, free: 6.199 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.1724, allocations: 8 kB / 357 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1725, allocations: 0 / 357 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003857/0.1728, allocations: 134.5 kB / 357.1 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.1739, allocations: 259.7 kB / 357.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/0.1775, allocations: 4.568 MB / 361.9 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008177/0.1784, allocations: 59.95 kB / 362 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.1784, allocations: 40.05 kB / 362 MB, free: 0.7305 MB / 302.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_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 initialization (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004654/0.1789, allocations: 274 kB / 362.3 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.1791, allocations: 90.92 kB / 362.4 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.1807, allocations: 0.7841 MB / 363.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.1807, allocations: 15.94 kB / 363.2 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.1808, allocations: 4 kB / 363.2 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.1808, allocations: 7.969 kB / 363.2 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/0.1853, allocations: 2.702 MB / 365.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.1853, allocations: 7.938 kB / 365.9 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009734/0.1863, allocations: 211.8 kB / 366.1 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004577/0.1868, allocations: 163.2 kB / 366.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/0.1869, allocations: 23.98 kB / 366.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00424/0.1911, allocations: 5.6 MB / 371.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1912, allocations: 0 / 371.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/0.1947, allocations: 1.835 MB / 373.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.1951, allocations: 168.1 kB / 373.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.1952, allocations: 16.12 kB / 373.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/0.1959, allocations: 71.95 kB / 374 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.1961, allocations: 72.45 kB / 374.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.1962, allocations: 39.97 kB / 374.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006129/0.1968, allocations: 435.1 kB / 374.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1968, allocations: 0 / 374.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001059/0.1978, allocations: 256 kB / 374.8 MB, free: 3.242 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000222/0.1981, allocations: 138.8 kB / 374.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002578/0.2007, allocations: 1.373 MB / 376.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2007, allocations: 0 / 376.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.2022, allocations: 1.021 MB / 377.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009166/0.2031, allocations: 162 kB / 377.5 MB, free: 464 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1609/0.364, allocations: 2.636 MB / 380.1 MB, free: 50.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009903/0.365, allocations: 1.046 MB / 381.1 MB, free: 49.44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008704/0.3659, allocations: 118.1 kB / 381.2 MB, free: 49.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.3662, allocations: 78.89 kB / 381.3 MB, free: 49.4 MB / 318.1 MB Notification: Performance of SimCode: time 1.653e-06/0.3662, allocations: 0 / 381.3 MB, free: 49.4 MB / 318.1 MB Notification: Performance of Templates: time 0.0287/0.3949, allocations: 10.77 MB / 392.1 MB, free: 46.3 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: