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.001079/0.001079, allocations: 107.1 kB / 16.92 MB, free: 5.777 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.001112/0.001112, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.428/1.428, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.001409/0.001409, allocations: 56.14 kB / 280 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1033, allocations: 46.63 MB / 326.6 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006465/0.1098, allocations: 4.513 MB / 331.1 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.1128, allocations: 1.742 MB / 332.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003121/0.1131, allocations: 12 kB / 332.9 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007562/0.1139, allocations: 422.2 kB / 333.3 MB, free: 13.73 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0008635/0.1148, allocations: 413.7 kB / 333.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.1154, allocations: 303.5 kB / 334 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.1165, allocations: 1.024 MB / 335 MB, free: 12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004182/0.1169, allocations: 302.8 kB / 335.3 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004658/0.1174, allocations: 398.8 kB / 335.7 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005379/0.1179, allocations: 0.5021 MB / 336.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.1181, allocations: 99.94 kB / 336.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.1183, allocations: 127.9 kB / 336.4 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.1185, allocations: 227.3 kB / 336.7 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.1188, allocations: 457.6 kB / 337.1 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.1199, allocations: 1.258 MB / 338.4 MB, free: 8.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.1199, allocations: 11.94 kB / 338.4 MB, free: 8.648 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.12, allocations: 0 / 338.4 MB, free: 8.648 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.12, allocations: 3.938 kB / 338.4 MB, free: 8.645 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.002081/0.1221, allocations: 1.188 MB / 339.6 MB, free: 7.406 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1221, allocations: 15.89 kB / 339.6 MB, free: 7.391 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.1223, allocations: 99.72 kB / 339.7 MB, free: 7.293 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007636/0.123, allocations: 0.5551 MB / 340.2 MB, free: 6.699 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.953e-05/0.1232, allocations: 45.88 kB / 340.3 MB, free: 6.652 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.1233, allocations: 67.84 kB / 340.4 MB, free: 6.586 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.1244, allocations: 0.6441 MB / 341 MB, free: 5.926 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.1245, allocations: 7.938 kB / 341 MB, free: 5.918 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/0.1245, allocations: 24 kB / 341 MB, free: 5.895 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.1246, allocations: 15.94 kB / 341 MB, free: 5.879 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.1258, allocations: 0.5595 MB / 341.6 MB, free: 5.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.1293, allocations: 2.552 MB / 344.2 MB, free: 2.625 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/0.1303, allocations: 473.8 kB / 344.6 MB, free: 2.152 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/0.131, allocations: 290 kB / 344.9 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.1311, allocations: 16.41 kB / 344.9 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.1311, allocations: 42.92 kB / 345 MB, free: 1.801 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.285e-06/0.1311, allocations: 4 kB / 345 MB, free: 1.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.00451/0.1356, allocations: 1.477 MB / 346.4 MB, free: 324 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.1357, allocations: 59.97 kB / 346.5 MB, free: 252 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.1367, allocations: 0.9496 MB / 347.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.1368, allocations: 33.7 kB / 347.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.1371, allocations: 408 kB / 347.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.1373, allocations: 209 kB / 348.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.1375, allocations: 114.6 kB / 348.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1376, allocations: 337.9 kB / 348.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006085/0.1382, allocations: 245.8 kB / 348.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006619/0.1389, allocations: 347 kB / 349.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.1401, allocations: 0.5635 MB / 349.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1401, allocations: 0 / 349.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001586/0.1417, allocations: 0.7307 MB / 350.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1417, allocations: 16.02 kB / 350.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.1417, allocations: 0 / 350.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.1418, allocations: 8 kB / 350.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007844/0.1426, allocations: 163.8 kB / 350.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.1426, allocations: 15.92 kB / 350.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/0.1431, allocations: 39.97 kB / 350.6 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.1432, allocations: 27.98 kB / 350.7 MB, free: 11.97 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.000329/0.1435, allocations: 261.7 kB / 350.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.1436, allocations: 94.83 kB / 351 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.1451, allocations: 0.6164 MB / 351.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1451, allocations: 8 kB / 351.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1451, allocations: 4 kB / 351.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.1451, allocations: 7.922 kB / 351.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/0.1479, allocations: 1.82 MB / 353.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.148, allocations: 4.297 kB / 353.5 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000573/0.1485, allocations: 131.8 kB / 353.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.1486, allocations: 8 kB / 353.6 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.1486, allocations: 12 kB / 353.6 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.1486, allocations: 7.938 kB / 353.6 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1486, allocations: 4 kB / 353.6 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.15, allocations: 0.7458 MB / 354.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.1502, allocations: 208 kB / 354.6 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.159e-05/0.1503, allocations: 12 kB / 354.6 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.1508, allocations: 43.95 kB / 354.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-05/0.1509, allocations: 44.33 kB / 354.7 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.1509, allocations: 16 kB / 354.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000764/0.1517, allocations: 0.6942 MB / 355.4 MB, free: 7.039 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.403e-06/0.1517, allocations: 0 / 355.4 MB, free: 7.039 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005546/0.1523, allocations: 155.9 kB / 355.5 MB, free: 6.887 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.0008492/0.1531, allocations: 371 kB / 355.9 MB, free: 6.527 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.1548, allocations: 0.612 MB / 356.5 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1548, allocations: 0.5625 kB / 356.5 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006189/0.1554, allocations: 294.2 kB / 356.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008586/0.1563, allocations: 135.4 kB / 356.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.1589, allocations: 1.581 MB / 358.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.1594, allocations: 0.9629 MB / 359.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004094/0.1598, allocations: 93.05 kB / 359.6 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.16, allocations: 55.42 kB / 359.6 MB, free: 2.711 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.16, allocations: 0 / 359.6 MB, free: 2.711 MB / 302.1 MB Notification: Performance of Templates: time 0.01447/0.1745, allocations: 7.659 MB / 367.3 MB, free: 11.04 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)