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.0007733/0.0007734, allocations: 93.45 kB / 16.65 MB, free: 6.535 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.0008451/0.0008452, allocations: 175.9 kB / 17.56 MB, free: 6.18 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.34/1.34, allocations: 205.4 MB / 223.7 MB, free: 12.98 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.00043/0.00043, allocations: 15.12 kB / 280.7 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08536/0.0858, allocations: 47.58 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006128/0.09197, allocations: 5.866 MB / 334.2 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.09562, allocations: 2.085 MB / 336.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006759/0.09633, allocations: 19.94 kB / 336.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007305/0.09708, allocations: 310.5 kB / 336.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.09814, allocations: 429.4 kB / 337 MB, free: 11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007603/0.09891, allocations: 387.6 kB / 337.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.1004, allocations: 1.429 MB / 338.8 MB, free: 9.191 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006553/0.1011, allocations: 451.1 kB / 339.3 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006458/0.1017, allocations: 466 kB / 339.7 MB, free: 8.273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006611/0.1024, allocations: 0.5677 MB / 340.3 MB, free: 7.703 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.1025, allocations: 60 kB / 340.3 MB, free: 7.645 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.1028, allocations: 91.97 kB / 340.4 MB, free: 7.555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.103, allocations: 223 kB / 340.6 MB, free: 7.336 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005138/0.1035, allocations: 0.5806 MB / 341.2 MB, free: 6.746 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.105, allocations: 1.794 MB / 343 MB, free: 4.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.105, allocations: 0 / 343 MB, free: 4.945 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.105, allocations: 0 / 343 MB, free: 4.945 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.025e-05/0.1051, allocations: 3.938 kB / 343 MB, free: 4.941 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.002854/0.1079, allocations: 1.375 MB / 344.4 MB, free: 3.512 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.108, allocations: 12.03 kB / 344.4 MB, free: 3.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.1082, allocations: 127.4 kB / 344.5 MB, free: 3.375 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.1093, allocations: 0.7006 MB / 345.2 MB, free: 2.633 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.1094, allocations: 78.56 kB / 345.3 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.1096, allocations: 99.94 kB / 345.4 MB, free: 2.461 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.1116, allocations: 1.044 MB / 346.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.1117, allocations: 7.906 kB / 346.5 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-05/0.1118, allocations: 36 kB / 346.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.1118, allocations: 24 kB / 346.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.1139, allocations: 0.9499 MB / 347.5 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005418/0.1194, allocations: 3.683 MB / 351.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.1227, allocations: 1.102 MB / 352.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008582/0.1236, allocations: 401.5 kB / 352.7 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.743e-05/0.1237, allocations: 7.984 kB / 352.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1237, allocations: 43.09 kB / 352.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 4.007e-06/0.1237, allocations: 3.984 kB / 352.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005419/0.1291, allocations: 1.975 MB / 354.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.1292, allocations: 85.11 kB / 354.8 MB, free: 8.844 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.1306, allocations: 0.9818 MB / 355.7 MB, free: 7.855 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.217e-05/0.1306, allocations: 41.7 kB / 355.8 MB, free: 7.809 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/0.131, allocations: 0.5182 MB / 356.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.1312, allocations: 236.6 kB / 356.5 MB, free: 7.047 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1313, allocations: 69.69 kB / 356.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1315, allocations: 337.9 kB / 356.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009819/0.1325, allocations: 381.8 kB / 357.3 MB, free: 6.266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.1336, allocations: 0.5691 MB / 357.9 MB, free: 5.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.1356, allocations: 0.9186 MB / 358.8 MB, free: 4.629 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1356, allocations: 0 / 358.8 MB, free: 4.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002487/0.1381, allocations: 1.091 MB / 359.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1382, allocations: 8 kB / 359.9 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1382, allocations: 8 kB / 359.9 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.1382, allocations: 12.03 kB / 359.9 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.1395, allocations: 319.6 kB / 360.2 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.1395, allocations: 15.94 kB / 360.2 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008901/0.1404, allocations: 91.92 kB / 360.3 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.1405, allocations: 35.98 kB / 360.4 MB, free: 3.051 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_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004771/0.141, allocations: 281.6 kB / 360.6 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.1411, allocations: 102.7 kB / 360.7 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.1422, allocations: 430.2 kB / 361.2 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.1422, allocations: 8 kB / 361.2 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1422, allocations: 0 / 361.2 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.1423, allocations: 3.984 kB / 361.2 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/0.1462, allocations: 2.348 MB / 363.5 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.1462, allocations: 12 kB / 363.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009149/0.1472, allocations: 240.4 kB / 363.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.1472, allocations: 8 kB / 363.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.1472, allocations: 20 kB / 363.8 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.316e-05/0.1473, allocations: 19.86 kB / 363.8 MB, free: 15.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.1473, allocations: 15.88 kB / 363.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.149, allocations: 1.06 MB / 364.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.1493, allocations: 195.8 kB / 365.1 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.1494, allocations: 20 kB / 365.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/0.1501, allocations: 63.89 kB / 365.2 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.1502, allocations: 67.75 kB / 365.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.1503, allocations: 27.98 kB / 365.3 MB, free: 13.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008649/0.1512, allocations: 0.6786 MB / 365.9 MB, free: 13.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1512, allocations: 0 / 365.9 MB, free: 13.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008146/0.152, allocations: 216 kB / 366.1 MB, free: 12.98 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 (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.0008785/0.1529, allocations: 377.2 kB / 366.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.1548, allocations: 0.8155 MB / 367.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.1549, allocations: 4 kB / 367.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008393/0.1557, allocations: 393.8 kB / 367.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.1577, allocations: 268.2 kB / 368 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.1612, allocations: 2.379 MB / 370.4 MB, free: 8.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.1618, allocations: 1.015 MB / 371.4 MB, free: 7.617 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000606/0.1624, allocations: 131.2 kB / 371.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.1627, allocations: 79.42 kB / 371.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1627, allocations: 0 / 371.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of Templates: time 0.1831/0.3457, allocations: 11.89 MB / 383.5 MB, free: 49.6 MB / 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)