Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008171/0.0008231, allocations: 88.8 kB / 16.65 MB, free: 6.535 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.0008308/0.0008312, allocations: 172.4 kB / 17.56 MB, free: 6.184 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.342/1.342, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.000461/0.000461, allocations: 12 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08483/0.0853, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004524/0.08987, allocations: 4.123 MB / 332.4 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.09246, allocations: 1.704 MB / 334.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.09272, allocations: 8 kB / 334.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006532/0.09338, allocations: 406.6 kB / 334.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006532/0.09406, allocations: 386.2 kB / 334.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.09461, allocations: 267.7 kB / 335.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008944/0.09551, allocations: 0.9618 MB / 336.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.09588, allocations: 255.6 kB / 336.4 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.09623, allocations: 322.8 kB / 336.7 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004642/0.0967, allocations: 462.1 kB / 337.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.144e-05/0.09678, allocations: 36 kB / 337.2 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.09694, allocations: 75.92 kB / 337.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.09711, allocations: 171.3 kB / 337.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003556/0.09747, allocations: 411.3 kB / 337.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000926/0.09841, allocations: 1.183 MB / 339 MB, free: 8.988 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.09842, allocations: 3.938 kB / 339 MB, free: 8.984 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09843, allocations: 0 / 339 MB, free: 8.984 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.09844, allocations: 0 / 339 MB, free: 8.984 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001897/0.1003, allocations: 1.079 MB / 340.1 MB, free: 7.855 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1004, allocations: 8.031 kB / 340.1 MB, free: 7.848 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.1005, allocations: 99.72 kB / 340.2 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007469/0.1013, allocations: 0.5473 MB / 340.8 MB, free: 7.156 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.1014, allocations: 49.86 kB / 340.8 MB, free: 7.109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.731e-05/0.1015, allocations: 63.94 kB / 340.9 MB, free: 7.047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.1028, allocations: 0.6636 MB / 341.5 MB, free: 6.367 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.1028, allocations: 7.938 kB / 341.6 MB, free: 6.359 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/0.1029, allocations: 28 kB / 341.6 MB, free: 6.332 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.1029, allocations: 12 kB / 341.6 MB, free: 6.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.1042, allocations: 0.5829 MB / 342.2 MB, free: 5.738 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/0.1078, allocations: 2.583 MB / 344.8 MB, free: 3.008 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000972/0.1088, allocations: 485.8 kB / 345.2 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.1095, allocations: 314 kB / 345.5 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.1096, allocations: 8.422 kB / 345.5 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1096, allocations: 42.94 kB / 345.6 MB, free: 2.156 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 1.864e-06/0.1096, allocations: 0 / 345.6 MB, free: 2.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.00459/0.1142, allocations: 1.649 MB / 347.2 MB, free: 0.5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1142, allocations: 63.97 kB / 347.3 MB, free: 436 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.1154, allocations: 0.9418 MB / 348.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.1154, allocations: 37.7 kB / 348.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.1157, allocations: 408 kB / 348.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.1158, allocations: 205 kB / 348.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.1159, allocations: 61.69 kB / 348.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1161, allocations: 330 kB / 349.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/0.1167, allocations: 269.8 kB / 349.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/0.1174, allocations: 367.1 kB / 349.9 MB, free: 13.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.1187, allocations: 0.6103 MB / 350.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1187, allocations: 0 / 350.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001574/0.1203, allocations: 0.7697 MB / 351.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1203, allocations: 8 kB / 351.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.1203, allocations: 0 / 351.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.1204, allocations: 7.984 kB / 351.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007794/0.1211, allocations: 187.8 kB / 351.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.1212, allocations: 7.938 kB / 351.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.1217, allocations: 51.89 kB / 351.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/0.1218, allocations: 31.98 kB / 351.6 MB, free: 12.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003294/0.1221, allocations: 261.7 kB / 351.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.1222, allocations: 82.91 kB / 351.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.1237, allocations: 0.6671 MB / 352.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.1237, allocations: 8 kB / 352.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1237, allocations: 0 / 352.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.1237, allocations: 3.984 kB / 352.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/0.1267, allocations: 1.875 MB / 354.4 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1267, allocations: 0 / 354.4 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/0.1273, allocations: 139.8 kB / 354.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.1273, allocations: 4.312 kB / 354.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.1273, allocations: 19.98 kB / 354.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.1273, allocations: 11.94 kB / 354.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1273, allocations: 0 / 354.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.1287, allocations: 0.7888 MB / 355.4 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.1289, allocations: 204.1 kB / 355.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.129, allocations: 12 kB / 355.6 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/0.1295, allocations: 51.95 kB / 355.7 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/0.1296, allocations: 40.33 kB / 355.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.1296, allocations: 23.98 kB / 355.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008029/0.1305, allocations: 0.6865 MB / 356.4 MB, free: 7 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1305, allocations: 3.938 kB / 356.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005192/0.131, allocations: 159.9 kB / 356.6 MB, free: 6.84 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008484/0.1318, allocations: 357.2 kB / 356.9 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.1332, allocations: 0.6163 MB / 357.5 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1333, allocations: 4 kB / 357.5 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006699/0.1339, allocations: 315.1 kB / 357.9 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.135, allocations: 122.9 kB / 358 MB, free: 5.453 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.1377, allocations: 1.945 MB / 359.9 MB, free: 3.445 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.1383, allocations: 0.9594 MB / 360.9 MB, free: 2.449 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003985/0.1387, allocations: 93.05 kB / 361 MB, free: 2.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.1389, allocations: 55.42 kB / 361 MB, free: 2.301 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1389, allocations: 0 / 361 MB, free: 2.301 MB / 302.1 MB Notification: Performance of Templates: time 0.01325/0.1521, allocations: 7.101 MB / 368.1 MB, free: 11.19 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)