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.001045/0.001045, allocations: 108 kB / 16.62 MB, free: 6.812 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.001065/0.001065, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.42/1.42, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001153/0.001153, allocations: 59.92 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09245/0.09361, allocations: 46.63 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008132/0.1018, allocations: 6.325 MB / 332.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.1053, allocations: 2.109 MB / 334.6 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004454/0.1058, allocations: 16 kB / 334.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007371/0.1065, allocations: 306.5 kB / 334.9 MB, free: 12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009437/0.1075, allocations: 437.4 kB / 335.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008194/0.1083, allocations: 371.7 kB / 335.7 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.1098, allocations: 1.534 MB / 337.2 MB, free: 9.664 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006418/0.1105, allocations: 0.517 MB / 337.7 MB, free: 9.125 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006025/0.1111, allocations: 0.5683 MB / 338.3 MB, free: 8.555 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.1117, allocations: 0.6654 MB / 339 MB, free: 7.887 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.112, allocations: 164 kB / 339.1 MB, free: 7.727 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002756/0.1122, allocations: 187.9 kB / 339.3 MB, free: 7.543 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.1126, allocations: 323 kB / 339.6 MB, free: 7.227 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005822/0.1132, allocations: 0.6727 MB / 340.3 MB, free: 6.551 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.1149, allocations: 1.912 MB / 342.2 MB, free: 4.633 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.1149, allocations: 4 kB / 342.2 MB, free: 4.629 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.115, allocations: 0 / 342.2 MB, free: 4.629 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.444e-05/0.115, allocations: 0 / 342.2 MB, free: 4.629 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.003394/0.1184, allocations: 1.539 MB / 343.8 MB, free: 3.035 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1184, allocations: 11.89 kB / 343.8 MB, free: 3.023 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.1187, allocations: 131.3 kB / 343.9 MB, free: 2.895 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.1197, allocations: 0.7083 MB / 344.6 MB, free: 2.145 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.1199, allocations: 74.56 kB / 344.7 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.1201, allocations: 99.92 kB / 344.8 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.122, allocations: 1.013 MB / 345.8 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.1221, allocations: 0 / 345.8 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/0.1222, allocations: 43.98 kB / 345.8 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.1222, allocations: 27.94 kB / 345.9 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.1242, allocations: 0.8874 MB / 346.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00543/0.1296, allocations: 3.652 MB / 350.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.1326, allocations: 0.8988 MB / 351.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008831/0.1335, allocations: 369.5 kB / 351.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-05/0.1336, allocations: 19.97 kB / 351.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.1336, allocations: 39.16 kB / 351.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.494e-06/0.1337, allocations: 0 / 351.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004857/0.1385, allocations: 1.781 MB / 353.5 MB, free: 9.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1386, allocations: 85.11 kB / 353.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.1398, allocations: 0.978 MB / 354.6 MB, free: 7.926 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/0.1399, allocations: 37.7 kB / 354.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/0.1403, allocations: 0.5221 MB / 355.1 MB, free: 7.352 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.1405, allocations: 228.7 kB / 355.3 MB, free: 7.125 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.1407, allocations: 162.5 kB / 355.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1409, allocations: 341.9 kB / 355.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009063/0.1418, allocations: 337.8 kB / 356.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009931/0.1428, allocations: 0.5339 MB / 356.7 MB, free: 5.688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.1446, allocations: 0.8327 MB / 357.5 MB, free: 4.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1446, allocations: 4 kB / 357.5 MB, free: 4.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002211/0.1468, allocations: 1.013 MB / 358.5 MB, free: 3.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1468, allocations: 12.03 kB / 358.6 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1469, allocations: 4 kB / 358.6 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.1469, allocations: 8 kB / 358.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.1481, allocations: 291.5 kB / 358.9 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.1481, allocations: 15.97 kB / 358.9 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007797/0.1489, allocations: 71.92 kB / 358.9 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.149, allocations: 32 kB / 359 MB, free: 3.332 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.0003973/0.1494, allocations: 282.7 kB / 359.2 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.1495, allocations: 106.8 kB / 359.3 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009184/0.1505, allocations: 382.2 kB / 359.7 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.1505, allocations: 8 kB / 359.7 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1505, allocations: 4 kB / 359.7 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.1505, allocations: 3.984 kB / 359.7 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/0.1541, allocations: 2.301 MB / 362 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.1541, allocations: 8 kB / 362 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008636/0.155, allocations: 212.5 kB / 362.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.155, allocations: 15.98 kB / 362.3 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/0.1551, allocations: 20 kB / 362.3 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/0.1551, allocations: 19.86 kB / 362.3 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.1551, allocations: 11.94 kB / 362.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.1567, allocations: 1.021 MB / 363.3 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.1569, allocations: 191.8 kB / 363.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.157, allocations: 20 kB / 363.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/0.1576, allocations: 59.81 kB / 363.6 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.1578, allocations: 59.81 kB / 363.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.1578, allocations: 28 kB / 363.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008285/0.1586, allocations: 0.6864 MB / 364.4 MB, free: 13.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1587, allocations: 0 / 364.4 MB, free: 13.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007541/0.1594, allocations: 208 kB / 364.6 MB, free: 13.43 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.0008209/0.1602, allocations: 366.8 kB / 364.9 MB, free: 13.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.1621, allocations: 0.7843 MB / 365.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.1621, allocations: 4 kB / 365.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007573/0.1628, allocations: 365.8 kB / 366.1 MB, free: 11.94 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.1641, allocations: 215.5 kB / 366.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.1673, allocations: 2.316 MB / 368.6 MB, free: 9.297 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.1679, allocations: 1.022 MB / 369.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005541/0.1685, allocations: 123.2 kB / 369.8 MB, free: 8.125 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.1687, allocations: 71.41 kB / 369.8 MB, free: 8.055 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1687, allocations: 0 / 369.8 MB, free: 8.055 MB / 318.1 MB Notification: Performance of Templates: time 0.2063/0.375, allocations: 10.39 MB / 380.2 MB, free: 52.31 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)