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.001227/0.001227, allocations: 101.4 kB / 16.5 MB, free: 6.688 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.001245/0.001245, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.336/1.336, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.0011/0.0011, allocations: 49.95 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08745/0.08856, allocations: 46.63 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007115/0.09572, allocations: 6.325 MB / 332.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.0989, allocations: 2.109 MB / 334.4 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.09929, allocations: 20 kB / 334.4 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006763/0.09998, allocations: 306.5 kB / 334.7 MB, free: 12.08 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008228/0.1008, allocations: 429.4 kB / 335.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.1015, allocations: 395.6 kB / 335.5 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.1028, allocations: 1.425 MB / 336.9 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006005/0.1034, allocations: 459.1 kB / 337.4 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005/0.1039, allocations: 494 kB / 337.9 MB, free: 8.887 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005745/0.1045, allocations: 0.6068 MB / 338.5 MB, free: 8.277 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.1046, allocations: 76 kB / 338.6 MB, free: 8.203 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.1049, allocations: 103.9 kB / 338.7 MB, free: 8.102 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.1051, allocations: 243 kB / 338.9 MB, free: 7.863 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004767/0.1055, allocations: 0.5945 MB / 339.5 MB, free: 7.266 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.107, allocations: 1.838 MB / 341.3 MB, free: 5.422 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.107, allocations: 3.938 kB / 341.3 MB, free: 5.418 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.107, allocations: 0 / 341.3 MB, free: 5.418 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.107, allocations: 0 / 341.3 MB, free: 5.418 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.002927/0.1099, allocations: 1.535 MB / 342.9 MB, free: 3.828 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.11, allocations: 8.031 kB / 342.9 MB, free: 3.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.1102, allocations: 135.3 kB / 343 MB, free: 3.688 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.1112, allocations: 0.7045 MB / 343.7 MB, free: 2.941 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.1114, allocations: 78.55 kB / 343.8 MB, free: 2.867 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.1115, allocations: 99.94 kB / 343.9 MB, free: 2.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.1134, allocations: 1.009 MB / 344.9 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.1134, allocations: 8 kB / 344.9 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/0.1135, allocations: 36 kB / 344.9 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.1135, allocations: 20 kB / 345 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.1155, allocations: 0.8913 MB / 345.8 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005125/0.1206, allocations: 3.664 MB / 349.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/0.1235, allocations: 0.9064 MB / 350.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007922/0.1243, allocations: 365.5 kB / 350.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.1244, allocations: 8 kB / 350.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1244, allocations: 43.16 kB / 350.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.565e-06/0.1244, allocations: 0 / 350.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004895/0.1294, allocations: 1.788 MB / 352.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.1294, allocations: 85.11 kB / 352.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.1306, allocations: 0.978 MB / 353.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.589e-05/0.1307, allocations: 45.64 kB / 353.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.1311, allocations: 0.526 MB / 354.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.1312, allocations: 228.7 kB / 354.5 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.1315, allocations: 158.4 kB / 354.6 MB, free: 7.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1317, allocations: 341.9 kB / 355 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000939/0.1326, allocations: 341.8 kB / 355.3 MB, free: 7.062 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.1337, allocations: 0.5262 MB / 355.8 MB, free: 6.461 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.1354, allocations: 0.8366 MB / 356.7 MB, free: 5.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1354, allocations: 0 / 356.7 MB, free: 5.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002246/0.1377, allocations: 1.013 MB / 357.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.1377, allocations: 11.94 kB / 357.7 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.1377, allocations: 4 kB / 357.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/0.1377, allocations: 12.34 kB / 357.7 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.139, allocations: 291.6 kB / 358 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.139, allocations: 8 kB / 358 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008293/0.1398, allocations: 71.92 kB / 358.1 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.1399, allocations: 35.98 kB / 358.1 MB, free: 4.105 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.0004598/0.1404, allocations: 289.5 kB / 358.4 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.1406, allocations: 94.81 kB / 358.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009724/0.1416, allocations: 382.2 kB / 358.8 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.1416, allocations: 4 kB / 358.8 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.1416, allocations: 4 kB / 358.8 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1416, allocations: 3.984 kB / 358.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/0.1453, allocations: 2.301 MB / 361.2 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.1453, allocations: 8 kB / 361.2 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008655/0.1462, allocations: 216.2 kB / 361.4 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.1462, allocations: 8 kB / 361.4 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.1462, allocations: 23.98 kB / 361.4 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.1463, allocations: 11.94 kB / 361.4 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.1463, allocations: 11.94 kB / 361.4 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.1478, allocations: 1.029 MB / 362.5 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.1481, allocations: 187.8 kB / 362.6 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.1482, allocations: 23.98 kB / 362.7 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006107/0.1488, allocations: 55.83 kB / 362.7 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.1489, allocations: 59.81 kB / 362.8 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.149, allocations: 31.98 kB / 362.8 MB, free: 15.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008295/0.1498, allocations: 0.6786 MB / 363.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1498, allocations: 0 / 363.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007531/0.1506, allocations: 208 kB / 363.7 MB, free: 14.22 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.0008286/0.1514, allocations: 378.7 kB / 364.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.1532, allocations: 0.7455 MB / 364.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1532, allocations: 4.438 kB / 364.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008037/0.154, allocations: 369.1 kB / 365.2 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.1553, allocations: 200.4 kB / 365.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.1585, allocations: 2.317 MB / 367.7 MB, free: 10.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.1591, allocations: 1.014 MB / 368.7 MB, free: 9.086 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005807/0.1597, allocations: 123.2 kB / 368.8 MB, free: 8.961 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.1599, allocations: 75.41 kB / 368.9 MB, free: 8.887 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1599, allocations: 0 / 368.9 MB, free: 8.887 MB / 318.1 MB Notification: Performance of Templates: time 0.1467/0.3066, allocations: 9.992 MB / 378.9 MB, free: 51.3 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)