Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.007864/0.007864, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.001327/0.001327, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.487/1.487, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.00124/0.00124, allocations: 46.06 kB / 326.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.102, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005568/0.1076, allocations: 4.506 MB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.1103, allocations: 1.754 MB / 379.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.1106, allocations: 11.94 kB / 379.4 MB, free: 11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007498/0.1114, allocations: 426.2 kB / 379.9 MB, free: 10.58 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.0008371/0.1122, allocations: 413.7 kB / 380.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.1129, allocations: 303.5 kB / 380.6 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.114, allocations: 1.024 MB / 381.6 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.1144, allocations: 302.5 kB / 381.9 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004912/0.1149, allocations: 414.7 kB / 382.3 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005713/0.1155, allocations: 0.5022 MB / 382.8 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.1156, allocations: 96 kB / 382.9 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.1159, allocations: 128 kB / 383 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.1161, allocations: 231.2 kB / 383.2 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000363/0.1164, allocations: 461.6 kB / 383.7 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.1176, allocations: 1.262 MB / 384.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1176, allocations: 4 kB / 384.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1176, allocations: 0 / 384.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.1177, allocations: 4 kB / 384.9 MB, free: 5.469 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.002172/0.1198, allocations: 1.207 MB / 386.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1199, allocations: 11.89 kB / 386.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.1201, allocations: 99.72 kB / 386.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009647/0.1211, allocations: 0.5551 MB / 386.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.1211, allocations: 45.69 kB / 386.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1212, allocations: 64.12 kB / 386.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.1225, allocations: 0.648 MB / 387.6 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.1225, allocations: 0 / 387.6 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.229e-05/0.1226, allocations: 28 kB / 387.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.1226, allocations: 15.98 kB / 387.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.124, allocations: 0.5555 MB / 388.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004149/0.1281, allocations: 2.548 MB / 390.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009648/0.1291, allocations: 477.8 kB / 391.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006846/0.1298, allocations: 298 kB / 391.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.1299, allocations: 12.42 kB / 391.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1299, allocations: 35 kB / 391.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.763e-06/0.1299, allocations: 3.938 kB / 391.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004717/0.1347, allocations: 1.485 MB / 393 MB, free: 13.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.1347, allocations: 63.91 kB / 393.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.1359, allocations: 0.9458 MB / 394 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.1359, allocations: 33.7 kB / 394 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.1362, allocations: 404 kB / 394.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.1364, allocations: 205 kB / 394.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.1365, allocations: 122.6 kB / 394.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1367, allocations: 330 kB / 395.1 MB, free: 11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000732/0.1374, allocations: 245.9 kB / 395.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008758/0.1383, allocations: 343.1 kB / 395.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.14, allocations: 0.5635 MB / 396.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.14, allocations: 4 kB / 396.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002365/0.1424, allocations: 0.7267 MB / 397 MB, free: 9.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/0.1424, allocations: 11.94 kB / 397 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.1425, allocations: 3.984 kB / 397 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.955e-05/0.1425, allocations: 8 kB / 397 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.1436, allocations: 171.8 kB / 397.1 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.1437, allocations: 8.062 kB / 397.2 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007962/0.1445, allocations: 39.95 kB / 397.2 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.878e-05/0.1446, allocations: 24 kB / 397.2 MB, free: 8.797 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.0005837/0.1452, allocations: 269.5 kB / 397.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.1454, allocations: 82.91 kB / 397.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.1474, allocations: 0.6281 MB / 398.2 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.1475, allocations: 8 kB / 398.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.1475, allocations: 0 / 398.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.1475, allocations: 7.969 kB / 398.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004305/0.1518, allocations: 1.795 MB / 400 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.1519, allocations: 15.97 kB / 400 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007503/0.1526, allocations: 131.8 kB / 400.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/0.1527, allocations: 4 kB / 400.1 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.1527, allocations: 19.98 kB / 400.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.1527, allocations: 4 kB / 400.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.1527, allocations: 3.938 kB / 400.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.1547, allocations: 0.7431 MB / 400.9 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.1551, allocations: 212 kB / 401.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.1552, allocations: 19.94 kB / 401.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/0.1558, allocations: 35.97 kB / 401.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.1559, allocations: 40.38 kB / 401.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.156, allocations: 27.88 kB / 401.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001297/0.1573, allocations: 0.6826 MB / 401.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1573, allocations: 4 kB / 401.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008931/0.1582, allocations: 152 kB / 402.1 MB, free: 3.727 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.001172/0.1594, allocations: 368.6 kB / 402.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.1613, allocations: 0.5774 MB / 403 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1613, allocations: 4.188 kB / 403 MB, free: 2.777 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009299/0.1623, allocations: 298.2 kB / 403.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.1634, allocations: 135.3 kB / 403.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.167, allocations: 1.562 MB / 405 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007809/0.1678, allocations: 0.9708 MB / 406 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005456/0.1683, allocations: 97.03 kB / 406.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.1686, allocations: 55.42 kB / 406.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1686, allocations: 0 / 406.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of Templates: time 0.02056/0.1892, allocations: 7.784 MB / 413.9 MB, free: 7.773 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)