Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009386/0.000939, allocations: 88.16 kB / 16.31 MB, free: 5.586 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.001008/0.001008, allocations: 177.5 kB / 17.21 MB, free: 5.504 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.527/1.527, allocations: 205.4 MB / 223.4 MB, free: 13.14 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.0004538/0.0004538, allocations: 12 kB / 280.2 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09986/0.1003, allocations: 47.56 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006162/0.1065, allocations: 5.529 MB / 333.2 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.1096, allocations: 2.028 MB / 335.3 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003275/0.11, allocations: 19.94 kB / 335.3 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005796/0.1105, allocations: 302.6 kB / 335.6 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007291/0.1113, allocations: 409.4 kB / 336 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.1119, allocations: 271.5 kB / 336.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.1132, allocations: 1.362 MB / 337.6 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/0.1137, allocations: 378 kB / 338 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.1141, allocations: 458.2 kB / 338.4 MB, free: 9.305 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005578/0.1147, allocations: 0.5368 MB / 339 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.1148, allocations: 60 kB / 339 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.115, allocations: 79.98 kB / 339.1 MB, free: 8.629 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.1152, allocations: 211.1 kB / 339.3 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.1154, allocations: 257.1 kB / 339.6 MB, free: 8.164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.1165, allocations: 1.519 MB / 341.1 MB, free: 6.641 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.1165, allocations: 3.984 kB / 341.1 MB, free: 6.637 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1166, allocations: 0 / 341.1 MB, free: 6.637 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.1166, allocations: 4 kB / 341.1 MB, free: 6.633 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002407/0.119, allocations: 1.383 MB / 342.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.119, allocations: 11.97 kB / 342.5 MB, free: 5.188 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.1192, allocations: 130.5 kB / 342.6 MB, free: 5.059 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009513/0.1202, allocations: 0.6765 MB / 343.3 MB, free: 4.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.1203, allocations: 77.98 kB / 343.4 MB, free: 4.262 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.1204, allocations: 99.91 kB / 343.5 MB, free: 4.164 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.1222, allocations: 1.04 MB / 344.5 MB, free: 3.117 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.1223, allocations: 0 / 344.5 MB, free: 3.117 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/0.1224, allocations: 36 kB / 344.5 MB, free: 3.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.1224, allocations: 24 kB / 344.6 MB, free: 3.059 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.1243, allocations: 0.946 MB / 345.5 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004726/0.129, allocations: 3.695 MB / 349.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/0.1318, allocations: 1.095 MB / 350.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007716/0.1326, allocations: 393.3 kB / 350.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.965e-05/0.1327, allocations: 12.17 kB / 350.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1327, allocations: 39.34 kB / 350.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.236e-06/0.1327, allocations: 0 / 350.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004496/0.1372, allocations: 1.973 MB / 352.7 MB, free: 10.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.1373, allocations: 89.05 kB / 352.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.1384, allocations: 0.974 MB / 353.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.1385, allocations: 41.7 kB / 353.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003547/0.1388, allocations: 0.5221 MB / 354.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.139, allocations: 232.6 kB / 354.6 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.139, allocations: 16 kB / 354.6 MB, free: 8.773 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1392, allocations: 342 kB / 354.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000848/0.14, allocations: 377.8 kB / 355.3 MB, free: 8.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009663/0.141, allocations: 0.5612 MB / 355.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008988/0.1419, allocations: 429.9 kB / 356.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1419, allocations: 0 / 356.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002162/0.1441, allocations: 1.084 MB / 357.3 MB, free: 5.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.1441, allocations: 12.03 kB / 357.4 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.1441, allocations: 8 kB / 357.4 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.1442, allocations: 8 kB / 357.4 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.1453, allocations: 323.5 kB / 357.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/0.1454, allocations: 19.92 kB / 357.7 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007245/0.1461, allocations: 91.92 kB / 357.8 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.1462, allocations: 36 kB / 357.8 MB, free: 5.426 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004318/0.1466, allocations: 289.5 kB / 358.1 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.1468, allocations: 94.88 kB / 358.2 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009473/0.1477, allocations: 426.2 kB / 358.6 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.1477, allocations: 8 kB / 358.6 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.1478, allocations: 3.953 kB / 358.6 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.1478, allocations: 3.984 kB / 358.6 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/0.1517, allocations: 2.337 MB / 361 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.1518, allocations: 8 kB / 361 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008239/0.1526, allocations: 239.7 kB / 361.2 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/0.1526, allocations: 15.97 kB / 361.2 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.1527, allocations: 24 kB / 361.3 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.1527, allocations: 15.92 kB / 361.3 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.1527, allocations: 8 kB / 361.3 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.1543, allocations: 1.06 MB / 362.3 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.1545, allocations: 195.8 kB / 362.5 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.1547, allocations: 27.98 kB / 362.6 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005658/0.1552, allocations: 59.95 kB / 362.6 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.1554, allocations: 59.83 kB / 362.7 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.1554, allocations: 31.92 kB / 362.7 MB, free: 272 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009129/0.1564, allocations: 0.6747 MB / 363.4 MB, free: 15.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1564, allocations: 0 / 363.4 MB, free: 15.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007953/0.1572, allocations: 212 kB / 363.6 MB, free: 15.39 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008949/0.1581, allocations: 389.4 kB / 364 MB, free: 15.01 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.1599, allocations: 0.8039 MB / 364.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1599, allocations: 3.938 kB / 364.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008365/0.1608, allocations: 393.8 kB / 365.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.162, allocations: 184.2 kB / 365.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.1657, allocations: 2.275 MB / 367.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007273/0.1664, allocations: 1.014 MB / 368.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006058/0.167, allocations: 123.2 kB / 368.7 MB, free: 10.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.1673, allocations: 63.42 kB / 368.8 MB, free: 10.02 MB / 318.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1673, allocations: 0 / 368.8 MB, free: 10.02 MB / 318.1 MB Notification: Performance of Templates: time 0.01914/0.1864, allocations: 9.542 MB / 378.3 MB, free: 472 kB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1)