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.001113/0.001113, allocations: 113 kB / 16.62 MB, free: 6.332 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.001211/0.001211, allocations: 189.8 kB / 17.55 MB, free: 5.801 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.434/1.434, allocations: 205.1 MB / 223.4 MB, free: 12.36 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.001269/0.001269, allocations: 43.94 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09127/0.09255, allocations: 46.63 MB / 326.1 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006865/0.09945, allocations: 6.22 MB / 332.4 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.1024, allocations: 1.847 MB / 334.2 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003492/0.1028, allocations: 23.94 kB / 334.2 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.1033, allocations: 162.9 kB / 334.4 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006926/0.104, allocations: 349.5 kB / 334.7 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.1046, allocations: 335.7 kB / 335.1 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.106, allocations: 1.475 MB / 336.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006863/0.1067, allocations: 0.5132 MB / 337 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005738/0.1073, allocations: 0.5333 MB / 337.6 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000627/0.1079, allocations: 0.603 MB / 338.2 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.1081, allocations: 156 kB / 338.3 MB, free: 8.492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.1083, allocations: 160 kB / 338.5 MB, free: 8.336 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.1086, allocations: 299.1 kB / 338.8 MB, free: 8.043 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005322/0.1091, allocations: 0.6456 MB / 339.4 MB, free: 7.395 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.1106, allocations: 1.834 MB / 341.3 MB, free: 5.555 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1106, allocations: 4 kB / 341.3 MB, free: 5.551 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1106, allocations: 0 / 341.3 MB, free: 5.551 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.1106, allocations: 0 / 341.3 MB, free: 5.551 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.002784/0.1134, allocations: 1.442 MB / 342.7 MB, free: 4.055 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1135, allocations: 12.03 kB / 342.7 MB, free: 4.043 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.1137, allocations: 119.5 kB / 342.8 MB, free: 3.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.1148, allocations: 0.6728 MB / 343.5 MB, free: 3.215 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.1149, allocations: 74.56 kB / 343.6 MB, free: 3.141 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.115, allocations: 104.3 kB / 343.7 MB, free: 3.039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.1169, allocations: 1.005 MB / 344.7 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.117, allocations: 7.906 kB / 344.7 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.362e-05/0.117, allocations: 40 kB / 344.7 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.1171, allocations: 27.98 kB / 344.8 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.1188, allocations: 0.8679 MB / 345.6 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00482/0.1236, allocations: 3.329 MB / 349 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.125, allocations: 0.8192 MB / 349.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008278/0.1258, allocations: 483.1 kB / 350.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.835e-05/0.1259, allocations: 17.14 kB / 350.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.126, allocations: 51.06 kB / 350.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 2.494e-06/0.126, allocations: 0 / 350.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.009427/0.1354, allocations: 4.293 MB / 354.6 MB, free: 7.738 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.1355, allocations: 89.77 kB / 354.7 MB, free: 7.633 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.1363, allocations: 0.6046 MB / 355.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/0.1364, allocations: 41.7 kB / 355.3 MB, free: 6.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.1367, allocations: 428.1 kB / 355.8 MB, free: 6.543 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.137, allocations: 394.2 kB / 356.1 MB, free: 6.152 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.1373, allocations: 182.9 kB / 356.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1375, allocations: 390.7 kB / 356.7 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008295/0.1383, allocations: 386.4 kB / 357.1 MB, free: 5.199 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000918/0.1392, allocations: 0.5119 MB / 357.6 MB, free: 4.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.1409, allocations: 0.8848 MB / 358.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1409, allocations: 4 kB / 358.5 MB, free: 3.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002334/0.1432, allocations: 1.196 MB / 359.7 MB, free: 2.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.1433, allocations: 4 kB / 359.7 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1433, allocations: 4 kB / 359.7 MB, free: 2.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003899/0.1437, allocations: 134.5 kB / 359.8 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.1447, allocations: 251.6 kB / 360.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003848/0.1486, allocations: 4.973 MB / 365 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/0.1494, allocations: 51.95 kB / 365.1 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.577e-05/0.1495, allocations: 43.92 kB / 365.1 MB, free: 12.64 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.0004418/0.1499, allocations: 273.7 kB / 365.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.1501, allocations: 86.97 kB / 365.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.1516, allocations: 0.7683 MB / 366.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.1517, allocations: 12 kB / 366.3 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.1517, allocations: 4 kB / 366.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.1517, allocations: 7.969 kB / 366.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004019/0.1557, allocations: 2.675 MB / 369 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.1557, allocations: 4 kB / 369 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009133/0.1567, allocations: 199.8 kB / 369.2 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/0.1571, allocations: 163.3 kB / 369.3 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.559e-05/0.1572, allocations: 27.98 kB / 369.3 MB, free: 8.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004342/0.1615, allocations: 5.986 MB / 375.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1616, allocations: 4.031 kB / 375.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1484/0.31, allocations: 1.746 MB / 377.1 MB, free: 51.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.3103, allocations: 159.9 kB / 377.2 MB, free: 51.31 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/0.3106, allocations: 26 kB / 377.3 MB, free: 51.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008431/0.3115, allocations: 50.48 kB / 377.3 MB, free: 51.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/0.3118, allocations: 76.69 kB / 377.4 MB, free: 51.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.3119, allocations: 34.28 kB / 377.4 MB, free: 51.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006593/0.3126, allocations: 442.3 kB / 377.8 MB, free: 51.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3126, allocations: 0 / 377.8 MB, free: 51.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001187/0.3138, allocations: 256.1 kB / 378.1 MB, free: 51.21 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.000255/0.314, allocations: 135.7 kB / 378.2 MB, free: 51.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003746/0.3178, allocations: 1.385 MB / 379.6 MB, free: 50.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.3178, allocations: 0 / 379.6 MB, free: 50.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.3193, allocations: 0.9979 MB / 380.6 MB, free: 50.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.3204, allocations: 186.6 kB / 380.8 MB, free: 50.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.3241, allocations: 2.598 MB / 383.4 MB, free: 49.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006373/0.3247, allocations: 1.025 MB / 384.4 MB, free: 48.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006011/0.3253, allocations: 118.5 kB / 384.5 MB, free: 48.35 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.3256, allocations: 76.2 kB / 384.6 MB, free: 48.35 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3256, allocations: 3.938 kB / 384.6 MB, free: 48.34 MB / 318.1 MB Notification: Performance of Templates: time 0.01766/0.3433, allocations: 11.78 MB / 396.4 MB, free: 44.55 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)