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.00765/0.007655, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001514/0.001514, allocations: 187.8 kB / 16.67 MB, free: 5.949 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.585/1.585, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001334/0.001334, allocations: 53.84 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1034, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005901/0.1093, allocations: 4.506 MB / 377.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.112, allocations: 1.75 MB / 379.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.1123, allocations: 15.94 kB / 379.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007511/0.1131, allocations: 418.3 kB / 379.8 MB, free: 10.62 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.0007595/0.1138, allocations: 413.7 kB / 380.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.1145, allocations: 299.5 kB / 380.5 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1155, allocations: 1.028 MB / 381.6 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004871/0.116, allocations: 298.5 kB / 381.9 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004386/0.1165, allocations: 414.7 kB / 382.3 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005707/0.117, allocations: 0.5061 MB / 382.8 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.1172, allocations: 100 kB / 382.9 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.1174, allocations: 116 kB / 383 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.1176, allocations: 239.2 kB / 383.2 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003627/0.1179, allocations: 453.7 kB / 383.7 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.1191, allocations: 1.265 MB / 384.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1191, allocations: 0 / 384.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1191, allocations: 0 / 384.9 MB, free: 5.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.1191, allocations: 0 / 384.9 MB, free: 5.52 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.002242/0.1214, allocations: 1.215 MB / 386.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1214, allocations: 11.89 kB / 386.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.1216, allocations: 99.72 kB / 386.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009301/0.1225, allocations: 0.559 MB / 386.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.1226, allocations: 45.69 kB / 386.9 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.489e-05/0.1227, allocations: 64.12 kB / 386.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.1239, allocations: 0.6441 MB / 387.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.1239, allocations: 3.984 kB / 387.6 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.124, allocations: 24 kB / 387.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.124, allocations: 16 kB / 387.6 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.1253, allocations: 0.5555 MB / 388.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003504/0.1288, allocations: 2.552 MB / 390.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009763/0.1298, allocations: 465.8 kB / 391.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007534/0.1306, allocations: 302 kB / 391.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/0.1306, allocations: 12.42 kB / 391.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.1307, allocations: 39 kB / 391.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.984e-06/0.1307, allocations: 0 / 391.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.0044/0.1351, allocations: 1.488 MB / 393 MB, free: 13.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1351, allocations: 63.95 kB / 393.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.1362, allocations: 0.938 MB / 394 MB, free: 12.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.1363, allocations: 37.7 kB / 394 MB, free: 12.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.1366, allocations: 408 kB / 394.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.1368, allocations: 201 kB / 394.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.137, allocations: 122.6 kB / 394.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1372, allocations: 330 kB / 395.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/0.1378, allocations: 249.9 kB / 395.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007329/0.1386, allocations: 347.1 kB / 395.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.1398, allocations: 0.5596 MB / 396.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1399, allocations: 7.938 kB / 396.2 MB, free: 9.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001553/0.1414, allocations: 0.7306 MB / 397 MB, free: 9.094 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1414, allocations: 7.938 kB / 397 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.535e-05/0.1415, allocations: 4 kB / 397 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.1415, allocations: 4 kB / 397 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007798/0.1423, allocations: 167.8 kB / 397.1 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.1423, allocations: 7.984 kB / 397.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.1429, allocations: 44.03 kB / 397.2 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.143, allocations: 23.98 kB / 397.2 MB, free: 8.84 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.0003612/0.1433, allocations: 265.6 kB / 397.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.1435, allocations: 86.91 kB / 397.6 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.1449, allocations: 0.6319 MB / 398.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.145, allocations: 7.984 kB / 398.2 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.145, allocations: 0 / 398.2 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/0.145, allocations: 3.984 kB / 398.2 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.1482, allocations: 1.795 MB / 400 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.1482, allocations: 8.25 kB / 400 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/0.1488, allocations: 135.8 kB / 400.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.1488, allocations: 8 kB / 400.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.1489, allocations: 15.98 kB / 400.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.1489, allocations: 4 kB / 400.2 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/0.1489, allocations: 7.938 kB / 400.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.1504, allocations: 0.7469 MB / 400.9 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.1507, allocations: 212 kB / 401.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.1508, allocations: 15.94 kB / 401.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.1512, allocations: 39.97 kB / 401.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-05/0.1513, allocations: 44.38 kB / 401.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.1514, allocations: 19.94 kB / 401.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008378/0.1522, allocations: 0.6865 MB / 401.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1522, allocations: 0 / 401.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006226/0.1529, allocations: 144 kB / 402.1 MB, free: 3.777 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.0008973/0.1538, allocations: 372.7 kB / 402.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.1552, allocations: 0.5809 MB / 403 MB, free: 2.824 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1552, allocations: 4.562 kB / 403 MB, free: 2.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006206/0.1558, allocations: 294.2 kB / 403.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000774/0.1566, allocations: 143.2 kB / 403.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.1592, allocations: 1.562 MB / 405 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.1598, allocations: 0.963 MB / 406 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003726/0.1602, allocations: 93.05 kB / 406.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.1604, allocations: 55.42 kB / 406.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1604, allocations: 4 kB / 406.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Templates: time 0.01376/0.1741, allocations: 7.924 MB / 414 MB, free: 7.68 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)