Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.00109/0.00109, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00972/0.00972, allocations: 170 kB / 16.26 MB, free: 6.613 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.427/1.427, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0005351/0.0005352, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2557, allocations: 47.58 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006253/0.262, allocations: 5.863 MB / 332.9 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003646/0.2657, allocations: 2.082 MB / 335 MB, free: 11.03 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.2662, allocations: 19.72 kB / 335 MB, free: 11.03 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.2669, allocations: 315.8 kB / 335.3 MB, free: 10.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008667/0.2678, allocations: 429.2 kB / 335.7 MB, free: 10.49 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007302/0.2685, allocations: 397.7 kB / 336.1 MB, free: 10.15 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.2699, allocations: 1.422 MB / 337.5 MB, free: 8.836 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005815/0.2705, allocations: 451.2 kB / 338 MB, free: 8.375 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005204/0.271, allocations: 462 kB / 338.4 MB, free: 7.922 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005992/0.2716, allocations: 0.5678 MB / 339 MB, free: 7.352 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.2717, allocations: 60 kB / 339.1 MB, free: 7.293 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.2719, allocations: 91.92 kB / 339.1 MB, free: 7.203 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.2722, allocations: 219 kB / 339.4 MB, free: 6.988 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005095/0.2727, allocations: 0.5845 MB / 339.9 MB, free: 6.395 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.2741, allocations: 1.794 MB / 341.7 MB, free: 4.594 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2741, allocations: 0 / 341.7 MB, free: 4.594 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2742, allocations: 7.938 kB / 341.7 MB, free: 4.586 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.2742, allocations: 0 / 341.7 MB, free: 4.586 MB / 270.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.002689/0.2769, allocations: 1.375 MB / 343.1 MB, free: 3.156 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2769, allocations: 12.03 kB / 343.1 MB, free: 3.145 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.2771, allocations: 131.3 kB / 343.3 MB, free: 3.016 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.2782, allocations: 0.7084 MB / 344 MB, free: 2.266 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.2784, allocations: 78.56 kB / 344 MB, free: 2.191 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.2785, allocations: 91.94 kB / 344.1 MB, free: 2.102 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.2806, allocations: 1.048 MB / 345.2 MB, free: 1.039 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.2807, allocations: 3.906 kB / 345.2 MB, free: 1.035 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.2808, allocations: 36 kB / 345.2 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.2808, allocations: 27.98 kB / 345.2 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.2829, allocations: 0.9538 MB / 346.2 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005396/0.2883, allocations: 3.676 MB / 349.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/0.2918, allocations: 1.111 MB / 351 MB, free: 11.03 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008994/0.2927, allocations: 389.5 kB / 351.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.744e-05/0.2927, allocations: 8 kB / 351.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.2928, allocations: 43.16 kB / 351.4 MB, free: 10.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=58): time 2.585e-06/0.2928, allocations: 4 kB / 351.4 MB, free: 10.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=67): time 0.005428/0.2982, allocations: 1.971 MB / 353.4 MB, free: 8.598 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.2983, allocations: 85.11 kB / 353.5 MB, free: 8.496 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.2996, allocations: 0.9819 MB / 354.5 MB, free: 7.508 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.2997, allocations: 37.7 kB / 354.5 MB, free: 7.465 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/0.3001, allocations: 0.5221 MB / 355 MB, free: 6.934 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.3003, allocations: 232.7 kB / 355.2 MB, free: 6.703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.3004, allocations: 69.69 kB / 355.3 MB, free: 6.629 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3006, allocations: 349.9 kB / 355.7 MB, free: 6.281 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009595/0.3015, allocations: 377.8 kB / 356 MB, free: 5.914 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.3026, allocations: 0.5691 MB / 356.6 MB, free: 5.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00198/0.3046, allocations: 0.9069 MB / 357.5 MB, free: 4.289 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3046, allocations: 4 kB / 357.5 MB, free: 4.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002432/0.3071, allocations: 1.095 MB / 358.6 MB, free: 3.184 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.3071, allocations: 8 kB / 358.6 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.3071, allocations: 7.984 kB / 358.6 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.3072, allocations: 12 kB / 358.6 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.3085, allocations: 323.5 kB / 358.9 MB, free: 2.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.3085, allocations: 11.94 kB / 359 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00082/0.3093, allocations: 95.92 kB / 359 MB, free: 2.734 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.3094, allocations: 35.98 kB / 359.1 MB, free: 2.699 MB / 286.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.000435/0.3099, allocations: 277.6 kB / 359.4 MB, free: 2.418 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.31, allocations: 102.7 kB / 359.5 MB, free: 2.316 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.311, allocations: 434.1 kB / 359.9 MB, free: 1.883 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.3111, allocations: 8 kB / 359.9 MB, free: 1.875 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3111, allocations: 0 / 359.9 MB, free: 1.875 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/0.3111, allocations: 3.984 kB / 359.9 MB, free: 1.871 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/0.3149, allocations: 2.345 MB / 362.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.315, allocations: 8 kB / 362.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009006/0.3159, allocations: 239.8 kB / 362.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.3159, allocations: 12 kB / 362.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/0.3159, allocations: 23.98 kB / 362.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/0.316, allocations: 15.88 kB / 362.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.316, allocations: 11.94 kB / 362.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.3177, allocations: 1.072 MB / 363.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.3179, allocations: 191.8 kB / 363.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.318, allocations: 16 kB / 363.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000644/0.3187, allocations: 67.89 kB / 363.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.3188, allocations: 59.8 kB / 363.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.3189, allocations: 28 kB / 364 MB, free: 13.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008428/0.3197, allocations: 0.6904 MB / 364.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3197, allocations: 0 / 364.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007646/0.3205, allocations: 204 kB / 364.9 MB, free: 12.64 MB / 302.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.0008765/0.3214, allocations: 377.6 kB / 365.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.3233, allocations: 0.8117 MB / 366 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3233, allocations: 0 / 366 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008681/0.3242, allocations: 393.8 kB / 366.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/0.3263, allocations: 271.2 kB / 366.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.3297, allocations: 2.39 MB / 369.1 MB, free: 8.301 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.3303, allocations: 1.015 MB / 370.1 MB, free: 7.258 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005784/0.3309, allocations: 127.2 kB / 370.2 MB, free: 7.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.3311, allocations: 87.41 kB / 370.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3311, allocations: 4 kB / 370.3 MB, free: 7.039 MB / 302.1 MB Notification: Performance of Templates: time 0.0219/0.353, allocations: 11.91 MB / 382.2 MB, free: 11.11 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1)