Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.005184/0.005184, allocations: 95.61 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.001373/0.001373, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.506/1.506, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001238/0.001238, allocations: 47.42 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1106, allocations: 46.63 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00653/0.1172, allocations: 4.51 MB / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.1203, allocations: 1.746 MB / 379.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.1206, allocations: 15.94 kB / 379.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007489/0.1214, allocations: 422.2 kB / 379.8 MB, free: 10.61 MB / 318.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.0007967/0.1222, allocations: 417.7 kB / 380.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005892/0.1228, allocations: 307.5 kB / 380.6 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.1238, allocations: 1.024 MB / 381.6 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.1243, allocations: 302.5 kB / 381.9 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004185/0.1247, allocations: 414.7 kB / 382.3 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005228/0.1252, allocations: 0.4983 MB / 382.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.1254, allocations: 96 kB / 382.9 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.1256, allocations: 128 kB / 383 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.1258, allocations: 235.2 kB / 383.2 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000385/0.1262, allocations: 457.7 kB / 383.7 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.1274, allocations: 1.272 MB / 384.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1275, allocations: 0 / 384.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1275, allocations: 0 / 384.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1275, allocations: 0 / 384.9 MB, free: 5.492 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002336/0.1298, allocations: 1.241 MB / 386.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1299, allocations: 15.89 kB / 386.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.13, allocations: 100.3 kB / 386.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.131, allocations: 0.5557 MB / 386.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.168e-05/0.1311, allocations: 53.62 kB / 386.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.1312, allocations: 64.11 kB / 387 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.1324, allocations: 0.6441 MB / 387.6 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.1325, allocations: 7.953 kB / 387.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.1325, allocations: 20 kB / 387.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.1326, allocations: 16 kB / 387.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.1338, allocations: 0.5633 MB / 388.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003725/0.1376, allocations: 2.533 MB / 390.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009603/0.1385, allocations: 489.6 kB / 391.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007202/0.1393, allocations: 293.9 kB / 391.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.188e-05/0.1393, allocations: 16.44 kB / 391.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1394, allocations: 39 kB / 391.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.814e-06/0.1394, allocations: 0 / 391.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.00447/0.1439, allocations: 1.502 MB / 393.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.1439, allocations: 59.97 kB / 393.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.145, allocations: 0.9419 MB / 394.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.145, allocations: 37.64 kB / 394.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.1453, allocations: 412.7 kB / 394.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.1454, allocations: 214.2 kB / 394.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.1456, allocations: 118.6 kB / 394.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1457, allocations: 334 kB / 395.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/0.1464, allocations: 241.9 kB / 395.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.147, allocations: 347.1 kB / 395.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.1483, allocations: 0.5635 MB / 396.3 MB, free: 9.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1483, allocations: 4 kB / 396.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001563/0.1498, allocations: 0.7272 MB / 397 MB, free: 9.008 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1499, allocations: 11.94 kB / 397.1 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.1499, allocations: 4 kB / 397.1 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.1499, allocations: 4 kB / 397.1 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.1507, allocations: 175.8 kB / 397.2 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.1507, allocations: 8.062 kB / 397.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/0.1512, allocations: 39.95 kB / 397.3 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.1513, allocations: 24 kB / 397.3 MB, free: 8.746 MB / 334.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.0003343/0.1516, allocations: 265.6 kB / 397.6 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.1518, allocations: 95.31 kB / 397.7 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.1532, allocations: 0.6242 MB / 398.3 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.1533, allocations: 11.94 kB / 398.3 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1533, allocations: 0 / 398.3 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1533, allocations: 0 / 398.3 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/0.1563, allocations: 1.799 MB / 400.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.1563, allocations: 15.97 kB / 400.1 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.1569, allocations: 131.8 kB / 400.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.1569, allocations: 4 kB / 400.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.1569, allocations: 16 kB / 400.3 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.1569, allocations: 7.984 kB / 400.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.157, allocations: 4 kB / 400.3 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.1583, allocations: 0.7475 MB / 401 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.1586, allocations: 208.4 kB / 401.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/0.1587, allocations: 15.94 kB / 401.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.1591, allocations: 39.95 kB / 401.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.1592, allocations: 44.33 kB / 401.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.1593, allocations: 27.92 kB / 401.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007284/0.16, allocations: 0.6826 MB / 402 MB, free: 3.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.92e-07/0.16, allocations: 0 / 402 MB, free: 3.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005668/0.1606, allocations: 159.9 kB / 402.2 MB, free: 3.664 MB / 334.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.0008502/0.1614, allocations: 368.6 kB / 402.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.1628, allocations: 0.5814 MB / 403.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.1629, allocations: 4.062 kB / 403.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006348/0.1635, allocations: 294.2 kB / 403.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.1643, allocations: 131.3 kB / 403.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.1669, allocations: 1.587 MB / 405.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/0.1675, allocations: 0.963 MB / 406.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000388/0.1679, allocations: 93.05 kB / 406.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.1681, allocations: 59.42 kB / 406.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1681, allocations: 4 kB / 406.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of Templates: time 0.015/0.1831, allocations: 7.784 MB / 414 MB, free: 7.691 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)