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.001232/0.001232, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001313/0.001313, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.359/1.359, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.00122/0.00122, allocations: 47.86 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08821/0.08944, allocations: 46.62 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007122/0.09661, allocations: 6.228 MB / 332.2 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003532/0.1002, allocations: 1.839 MB / 334 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004298/0.1006, allocations: 19.94 kB / 334 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.1012, allocations: 170.8 kB / 334.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007003/0.1019, allocations: 345.5 kB / 334.5 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.1025, allocations: 335.8 kB / 334.9 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.1036, allocations: 1.378 MB / 336.3 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005738/0.1042, allocations: 451.2 kB / 336.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005035/0.1047, allocations: 462.1 kB / 337.1 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005859/0.1053, allocations: 0.5444 MB / 337.7 MB, free: 9.074 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1054, allocations: 76 kB / 337.8 MB, free: 9 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.1056, allocations: 84 kB / 337.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.1058, allocations: 219 kB / 338.1 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005635/0.1064, allocations: 0.5675 MB / 338.6 MB, free: 8.133 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.1077, allocations: 1.764 MB / 340.4 MB, free: 6.363 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1077, allocations: 0 / 340.4 MB, free: 6.363 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1077, allocations: 0 / 340.4 MB, free: 6.363 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.1077, allocations: 0 / 340.4 MB, free: 6.363 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.002793/0.1105, allocations: 1.449 MB / 341.8 MB, free: 4.859 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1106, allocations: 8.031 kB / 341.8 MB, free: 4.852 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.1108, allocations: 119.5 kB / 342 MB, free: 4.734 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009661/0.1117, allocations: 0.6689 MB / 342.6 MB, free: 4.023 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.1119, allocations: 74.56 kB / 342.7 MB, free: 3.949 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.112, allocations: 100.3 kB / 342.8 MB, free: 3.852 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.1138, allocations: 1.009 MB / 343.8 MB, free: 2.832 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.1139, allocations: 11.91 kB / 343.8 MB, free: 2.82 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/0.114, allocations: 36 kB / 343.9 MB, free: 2.785 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.114, allocations: 27.98 kB / 343.9 MB, free: 2.758 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.1158, allocations: 0.8679 MB / 344.8 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004826/0.1206, allocations: 3.336 MB / 348.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.122, allocations: 0.8075 MB / 348.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008429/0.1228, allocations: 487 kB / 349.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.486e-05/0.1229, allocations: 21.12 kB / 349.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.123, allocations: 39.12 kB / 349.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 2.545e-06/0.123, allocations: 0 / 349.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.009201/0.1322, allocations: 4.293 MB / 353.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.1322, allocations: 93.7 kB / 353.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007872/0.133, allocations: 0.6046 MB / 354.4 MB, free: 7.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/0.1331, allocations: 45.7 kB / 354.5 MB, free: 7.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.1334, allocations: 428.1 kB / 354.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.1338, allocations: 398.2 kB / 355.3 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/0.1341, allocations: 178.9 kB / 355.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1343, allocations: 394.7 kB / 355.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008359/0.1352, allocations: 378.4 kB / 356.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008838/0.1361, allocations: 0.5081 MB / 356.7 MB, free: 5.469 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.1377, allocations: 0.8965 MB / 357.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1377, allocations: 0 / 357.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002298/0.14, allocations: 1.188 MB / 358.8 MB, free: 3.332 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1401, allocations: 8 kB / 358.8 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1401, allocations: 4.219 kB / 358.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004008/0.1405, allocations: 130.4 kB / 358.9 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.1416, allocations: 251.7 kB / 359.2 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.145, allocations: 4.52 MB / 363.7 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006938/0.1457, allocations: 56.03 kB / 363.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.536e-05/0.1458, allocations: 39.98 kB / 363.8 MB, free: 13.93 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.0004184/0.1462, allocations: 277.6 kB / 364.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.1464, allocations: 86.97 kB / 364.2 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.1479, allocations: 0.7683 MB / 364.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.1479, allocations: 16.03 kB / 364.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.1479, allocations: 8 kB / 364.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.148, allocations: 3.984 kB / 364.9 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003973/0.1519, allocations: 2.667 MB / 367.6 MB, free: 9.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.152, allocations: 4 kB / 367.6 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009046/0.1529, allocations: 207.8 kB / 367.8 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004214/0.1533, allocations: 151.3 kB / 368 MB, free: 9.609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.249e-05/0.1534, allocations: 27.98 kB / 368 MB, free: 9.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003791/0.1572, allocations: 5.568 MB / 373.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1572, allocations: 0 / 373.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003109/0.1603, allocations: 1.751 MB / 375.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.1605, allocations: 164.1 kB / 375.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.1607, allocations: 20 kB / 375.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005932/0.1613, allocations: 51.95 kB / 375.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.1614, allocations: 80.39 kB / 375.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.078e-05/0.1615, allocations: 31.98 kB / 375.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005349/0.162, allocations: 439.1 kB / 376.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.162, allocations: 0 / 376.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008832/0.1629, allocations: 260 kB / 376.3 MB, free: 0.6523 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.0001716/0.1631, allocations: 142.5 kB / 376.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.1585/0.3217, allocations: 1.335 MB / 377.8 MB, free: 52.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.3217, allocations: 0 / 377.8 MB, free: 52.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.3234, allocations: 1 MB / 378.8 MB, free: 51.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.3247, allocations: 168.5 kB / 379 MB, free: 51.78 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.3286, allocations: 2.585 MB / 381.6 MB, free: 50.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.3292, allocations: 1.021 MB / 382.6 MB, free: 49.81 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000584/0.3298, allocations: 125 kB / 382.7 MB, free: 49.78 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.33, allocations: 75.36 kB / 382.8 MB, free: 49.78 MB / 318.1 MB Notification: Performance of SimCode: time 7.41e-07/0.33, allocations: 0 / 382.8 MB, free: 49.78 MB / 318.1 MB Notification: Performance of Templates: time 0.0207/0.3507, allocations: 11.29 MB / 394.1 MB, free: 46.34 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)