Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.006955/0.006955, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001406/0.001406, allocations: 194.2 kB / 16.68 MB, free: 5.926 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.503/1.503, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.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.001317/0.001317, allocations: 57.78 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09493, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.009288/0.1043, allocations: 6.221 MB / 379.4 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005436/0.1097, allocations: 1.87 MB / 381.3 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.1117, allocations: 19.94 kB / 381.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.113, allocations: 222.1 kB / 381.5 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.115, allocations: 388.8 kB / 381.9 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.1163, allocations: 379.5 kB / 382.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.119, allocations: 1.487 MB / 383.7 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.1202, allocations: 0.509 MB / 384.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009337/0.1211, allocations: 0.549 MB / 384.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.1223, allocations: 0.5952 MB / 385.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000432/0.1227, allocations: 160 kB / 385.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005173/0.1233, allocations: 160 kB / 385.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000373/0.1236, allocations: 303.1 kB / 386 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.1247, allocations: 0.6456 MB / 386.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.1266, allocations: 1.842 MB / 388.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1266, allocations: 3.984 kB / 388.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1266, allocations: 0 / 388.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.1266, allocations: 0 / 388.5 MB, free: 1.91 MB / 318.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.002945/0.1296, allocations: 1.453 MB / 389.9 MB, free: 416 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1296, allocations: 12.03 kB / 390 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.1298, allocations: 119.5 kB / 390.1 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.131, allocations: 0.669 MB / 390.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/0.1311, allocations: 74.38 kB / 390.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.1312, allocations: 100.3 kB / 390.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.1331, allocations: 1.009 MB / 391.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.1332, allocations: 7.969 kB / 391.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/0.1333, allocations: 40 kB / 392 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.1333, allocations: 24 kB / 392 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.1352, allocations: 0.8679 MB / 392.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00492/0.1401, allocations: 3.297 MB / 396.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.1416, allocations: 0.8244 MB / 397 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008896/0.1425, allocations: 471.2 kB / 397.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.617e-05/0.1425, allocations: 20.48 kB / 397.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.1426, allocations: 51.11 kB / 397.5 MB, free: 8.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.324e-06/0.1426, allocations: 3.938 kB / 397.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.00964/0.1522, allocations: 4.286 MB / 401.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.1524, allocations: 93.7 kB / 401.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008359/0.1532, allocations: 0.6007 MB / 402.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.1533, allocations: 41.7 kB / 402.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.1536, allocations: 436 kB / 403 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/0.1539, allocations: 398.2 kB / 403.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.1541, allocations: 182.8 kB / 403.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1543, allocations: 390.8 kB / 403.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008286/0.1552, allocations: 386.4 kB / 404.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009563/0.1561, allocations: 0.508 MB / 404.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.1579, allocations: 0.8887 MB / 405.7 MB, free: 116 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1579, allocations: 4 kB / 405.7 MB, free: 112 kB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002383/0.1603, allocations: 1.184 MB / 406.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.1603, allocations: 8 kB / 406.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.1604, allocations: 0 / 406.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/0.1608, allocations: 134.7 kB / 407 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.1618, allocations: 247.7 kB / 407.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004169/0.166, allocations: 4.973 MB / 412.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/0.1668, allocations: 51.95 kB / 412.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.546e-05/0.1669, allocations: 32 kB / 412.3 MB, free: 9.043 MB / 350.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.0005303/0.1674, allocations: 285.5 kB / 412.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.1678, allocations: 94.94 kB / 412.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/0.1696, allocations: 0.7722 MB / 413.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.1696, allocations: 12 kB / 413.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.1696, allocations: 4 kB / 413.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.1696, allocations: 3.984 kB / 413.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004651/0.1743, allocations: 2.648 MB / 416.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.1743, allocations: 4 kB / 416.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/0.1753, allocations: 195.8 kB / 416.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005282/0.1758, allocations: 163.4 kB / 416.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.772e-05/0.1759, allocations: 27.98 kB / 416.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005164/0.1811, allocations: 5.982 MB / 422.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.1811, allocations: 7.969 kB / 422.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003863/0.185, allocations: 1.749 MB / 424.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.1854, allocations: 160.1 kB / 424.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.1856, allocations: 24 kB / 424.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.1863, allocations: 51.95 kB / 424.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.1865, allocations: 84.41 kB / 424.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/0.1865, allocations: 31.98 kB / 424.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006401/0.1872, allocations: 435.1 kB / 425 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1872, allocations: 0 / 425 MB, free: 11.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001342/0.1886, allocations: 255.9 kB / 425.3 MB, free: 11.34 MB / 366.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.0002839/0.1888, allocations: 138.9 kB / 425.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002944/0.1918, allocations: 1.349 MB / 426.7 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.1918, allocations: 0 / 426.7 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.1934, allocations: 0.9945 MB / 427.7 MB, free: 8.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.1946, allocations: 182.9 kB / 427.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.1988, allocations: 2.15 MB / 430.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007264/0.1995, allocations: 1.02 MB / 431.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005955/0.2002, allocations: 119.6 kB / 431.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.2004, allocations: 79.41 kB / 431.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2004, allocations: 0 / 431.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of Templates: time 0.02227/0.2227, allocations: 12.38 MB / 443.7 MB, free: 8.734 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)