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.008442/0.008441, allocations: 109.8 kB / 15.74 MB, free: 6.453 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.001848/0.001848, allocations: 196.6 kB / 16.67 MB, free: 6.355 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.516/1.516, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.001199/0.001199, allocations: 53.17 kB / 326.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.106, allocations: 46.63 MB / 373.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006217/0.1122, allocations: 4.502 MB / 377.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003156/0.1154, allocations: 1.754 MB / 379.4 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.1158, allocations: 15.94 kB / 379.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007833/0.1166, allocations: 414.3 kB / 379.8 MB, free: 10.73 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.0007832/0.1174, allocations: 417.7 kB / 380.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006146/0.118, allocations: 295.5 kB / 380.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009993/0.119, allocations: 1.032 MB / 381.6 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004187/0.1194, allocations: 302.5 kB / 381.9 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004126/0.1199, allocations: 406.7 kB / 382.3 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.1204, allocations: 0.5022 MB / 382.8 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.1205, allocations: 96 kB / 382.9 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.1207, allocations: 120 kB / 383 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.121, allocations: 243.2 kB / 383.2 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003849/0.1213, allocations: 461.6 kB / 383.7 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.1226, allocations: 1.262 MB / 384.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1227, allocations: 0 / 384.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1227, allocations: 0 / 384.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.1227, allocations: 0 / 384.9 MB, free: 5.621 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.002269/0.125, allocations: 1.211 MB / 386.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.125, allocations: 15.89 kB / 386.2 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.1252, allocations: 95.72 kB / 386.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009475/0.1261, allocations: 0.5551 MB / 386.8 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.1262, allocations: 53.62 kB / 386.9 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.1263, allocations: 64.12 kB / 386.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.1275, allocations: 0.6441 MB / 387.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.1276, allocations: 4 kB / 387.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-05/0.1277, allocations: 20 kB / 387.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.1277, allocations: 16 kB / 387.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.129, allocations: 0.5594 MB / 388.2 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/0.1327, allocations: 2.544 MB / 390.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.1337, allocations: 477.7 kB / 391.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007336/0.1345, allocations: 294 kB / 391.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.777e-05/0.1345, allocations: 12.44 kB / 391.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.1346, allocations: 35 kB / 391.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.986e-06/0.1346, allocations: 0 / 391.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004792/0.1394, allocations: 1.492 MB / 393 MB, free: 13.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.1395, allocations: 55.97 kB / 393.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.1408, allocations: 0.9457 MB / 394 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/0.1409, allocations: 33.7 kB / 394 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/0.1412, allocations: 407.9 kB / 394.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.1414, allocations: 213 kB / 394.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.1417, allocations: 118.6 kB / 394.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1418, allocations: 334 kB / 395.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006263/0.1425, allocations: 237.9 kB / 395.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006914/0.1432, allocations: 347.1 kB / 395.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.1444, allocations: 0.5596 MB / 396.2 MB, free: 9.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1444, allocations: 4 kB / 396.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001574/0.146, allocations: 0.7304 MB / 396.9 MB, free: 9.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.146, allocations: 11.94 kB / 397 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.146, allocations: 8.266 kB / 397 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.1461, allocations: 8 kB / 397 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.1469, allocations: 171.8 kB / 397.1 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.1469, allocations: 4 kB / 397.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006587/0.1476, allocations: 39.95 kB / 397.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/0.1477, allocations: 24 kB / 397.2 MB, free: 8.945 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.0004149/0.1481, allocations: 265.7 kB / 397.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.1482, allocations: 90.84 kB / 397.6 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.1498, allocations: 0.628 MB / 398.2 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.1498, allocations: 8 kB / 398.2 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1498, allocations: 0 / 398.2 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.1498, allocations: 7.984 kB / 398.2 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.1528, allocations: 1.791 MB / 400 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.1528, allocations: 7.938 kB / 400 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/0.1534, allocations: 131.8 kB / 400.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.1534, allocations: 4.312 kB / 400.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.1534, allocations: 23.98 kB / 400.2 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.1534, allocations: 4 kB / 400.2 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1534, allocations: 4 kB / 400.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.1549, allocations: 0.7469 MB / 400.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.1552, allocations: 200 kB / 401.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/0.1553, allocations: 19.94 kB / 401.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.1558, allocations: 31.97 kB / 401.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.1559, allocations: 56.3 kB / 401.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.1559, allocations: 23.94 kB / 401.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008088/0.1567, allocations: 0.6826 MB / 401.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1567, allocations: 0 / 401.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006289/0.1574, allocations: 155.9 kB / 402.1 MB, free: 3.879 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.0009394/0.1583, allocations: 372.6 kB / 402.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.1598, allocations: 0.5771 MB / 403 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1598, allocations: 0 / 403 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006271/0.1604, allocations: 299.3 kB / 403.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007752/0.1612, allocations: 122.8 kB / 403.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.1638, allocations: 1.581 MB / 405 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.1643, allocations: 0.963 MB / 406 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003957/0.1647, allocations: 101 kB / 406.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.1649, allocations: 55.42 kB / 406.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of SimCode: time 1.143e-06/0.1649, allocations: 0 / 406.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of Templates: time 0.01498/0.1799, allocations: 7.78 MB / 413.9 MB, free: 7.926 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)