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.006055/0.006056, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001237/0.001237, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.536/1.536, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.00113/0.00113, allocations: 49.91 kB / 326.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.09538, allocations: 46.62 MB / 373.2 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006987/0.1024, allocations: 6.233 MB / 379.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003484/0.1059, allocations: 1.874 MB / 381.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006063/0.1066, allocations: 19.94 kB / 381.3 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.1072, allocations: 214.1 kB / 381.5 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009404/0.1082, allocations: 392.8 kB / 381.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007086/0.1089, allocations: 375.5 kB / 382.2 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.1106, allocations: 1.491 MB / 383.7 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007045/0.1113, allocations: 0.5091 MB / 384.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006956/0.112, allocations: 0.5294 MB / 384.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007772/0.1128, allocations: 0.603 MB / 385.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.113, allocations: 156 kB / 385.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.1133, allocations: 160 kB / 385.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.1135, allocations: 303 kB / 386 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000596/0.1141, allocations: 0.6495 MB / 386.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.1159, allocations: 1.853 MB / 388.5 MB, free: 1.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.116, allocations: 0 / 388.5 MB, free: 1.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.116, allocations: 0 / 388.5 MB, free: 1.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.457e-05/0.116, allocations: 0 / 388.5 MB, free: 1.938 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.003286/0.1193, allocations: 1.475 MB / 390 MB, free: 420 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.1194, allocations: 16.03 kB / 390 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.1196, allocations: 128.2 kB / 390.1 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.121, allocations: 0.6772 MB / 390.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.505e-05/0.1211, allocations: 74.38 kB / 390.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.1213, allocations: 100.3 kB / 390.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.1233, allocations: 1.009 MB / 392 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/0.1234, allocations: 0 / 392 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.433e-05/0.1235, allocations: 40 kB / 392 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.1235, allocations: 24 kB / 392 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.1254, allocations: 0.8679 MB / 392.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005303/0.1307, allocations: 3.31 MB / 396.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.1322, allocations: 0.8195 MB / 397 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008738/0.1331, allocations: 483 kB / 397.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.581e-05/0.1332, allocations: 12.55 kB / 397.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.1333, allocations: 47.12 kB / 397.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 3.416e-06/0.1333, allocations: 4 kB / 397.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.009377/0.1426, allocations: 4.32 MB / 401.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.1427, allocations: 97.64 kB / 402 MB, free: 3.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/0.1435, allocations: 0.6007 MB / 402.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.472e-05/0.1435, allocations: 45.7 kB / 402.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.1438, allocations: 437.1 kB / 403 MB, free: 2.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.1441, allocations: 412.4 kB / 403.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.1444, allocations: 190.9 kB / 403.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1445, allocations: 390.7 kB / 404 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008055/0.1454, allocations: 378.4 kB / 404.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008891/0.1463, allocations: 0.5158 MB / 404.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.1479, allocations: 0.8809 MB / 405.8 MB, free: 48 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1479, allocations: 0 / 405.8 MB, free: 48 kB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002306/0.1502, allocations: 1.193 MB / 407 MB, free: 14.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1503, allocations: 4 kB / 407 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.1503, allocations: 7.984 kB / 407 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/0.1507, allocations: 138.6 kB / 407.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009889/0.1517, allocations: 247.7 kB / 407.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003805/0.1555, allocations: 4.973 MB / 412.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.1562, allocations: 47.97 kB / 412.4 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.1563, allocations: 39.98 kB / 412.4 MB, free: 8.961 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.0004722/0.1568, allocations: 281.7 kB / 412.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.157, allocations: 95.39 kB / 412.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.1586, allocations: 0.7723 MB / 413.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.1587, allocations: 12 kB / 413.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.1587, allocations: 0 / 413.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.1587, allocations: 11.97 kB / 413.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/0.1632, allocations: 2.644 MB / 416.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.1633, allocations: 0 / 416.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008765/0.1641, allocations: 211.7 kB / 416.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/0.1646, allocations: 151.4 kB / 416.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-05/0.1647, allocations: 31.98 kB / 416.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004203/0.1689, allocations: 5.991 MB / 422.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.1689, allocations: 7.938 kB / 422.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/0.1721, allocations: 1.754 MB / 424.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.1724, allocations: 168.6 kB / 424.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.1725, allocations: 24 kB / 424.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/0.1732, allocations: 43.97 kB / 424.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.1734, allocations: 80.34 kB / 424.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.441e-05/0.1735, allocations: 39.98 kB / 424.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006062/0.1741, allocations: 439.1 kB / 425.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1741, allocations: 3.938 kB / 425.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001026/0.1751, allocations: 256 kB / 425.4 MB, free: 11.23 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.0002117/0.1753, allocations: 127 kB / 425.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.1779, allocations: 1.338 MB / 426.9 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1779, allocations: 4 kB / 426.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.1795, allocations: 1.006 MB / 427.9 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.1806, allocations: 190.8 kB / 428 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.1846, allocations: 2.179 MB / 430.2 MB, free: 6.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007459/0.1854, allocations: 1.024 MB / 431.3 MB, free: 5.195 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006377/0.186, allocations: 119.6 kB / 431.4 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.1863, allocations: 75.42 kB / 431.4 MB, free: 5 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1863, allocations: 0 / 431.4 MB, free: 5 MB / 366.1 MB Notification: Performance of Templates: time 0.02297/0.2092, allocations: 12.15 MB / 443.6 MB, free: 8.82 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)