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.0008025/0.0008025, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009025/0.0009026, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004875/0.0004878, allocations: 10.81 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3137, allocations: 47.59 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006191/0.3199, allocations: 5.52 MB / 332 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004361/0.3243, allocations: 2.036 MB / 334 MB, free: 11.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000753/0.3251, allocations: 19.97 kB / 334 MB, free: 11.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007417/0.3259, allocations: 301.2 kB / 334.3 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.3269, allocations: 415.1 kB / 334.7 MB, free: 10.87 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007943/0.3277, allocations: 262.2 kB / 335 MB, free: 10.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.3294, allocations: 1.363 MB / 336.4 MB, free: 9.582 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.3299, allocations: 378.1 kB / 336.7 MB, free: 9.199 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005942/0.3305, allocations: 454.2 kB / 337.2 MB, free: 8.754 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/0.3312, allocations: 0.5407 MB / 337.7 MB, free: 8.211 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.3313, allocations: 60 kB / 337.8 MB, free: 8.152 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.3315, allocations: 80 kB / 337.9 MB, free: 8.074 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.3318, allocations: 219.1 kB / 338.1 MB, free: 7.859 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.332, allocations: 249.1 kB / 338.3 MB, free: 7.609 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.3333, allocations: 1.527 MB / 339.8 MB, free: 6.078 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3333, allocations: 0 / 339.8 MB, free: 6.078 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3334, allocations: 0 / 339.8 MB, free: 6.078 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.3334, allocations: 0 / 339.8 MB, free: 6.078 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.002644/0.336, allocations: 1.387 MB / 341.2 MB, free: 4.641 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3361, allocations: 8.031 kB / 341.2 MB, free: 4.633 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.3363, allocations: 134.4 kB / 341.4 MB, free: 4.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.3373, allocations: 0.6804 MB / 342 MB, free: 3.777 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.3374, allocations: 74 kB / 342.1 MB, free: 3.703 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.3376, allocations: 99.91 kB / 342.2 MB, free: 3.605 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.3395, allocations: 1.032 MB / 343.3 MB, free: 2.566 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.3396, allocations: 8 kB / 343.3 MB, free: 2.559 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-05/0.3397, allocations: 43.98 kB / 343.3 MB, free: 2.516 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.3397, allocations: 20 kB / 343.3 MB, free: 2.496 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.3416, allocations: 0.9499 MB / 344.3 MB, free: 1.543 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005085/0.3467, allocations: 3.676 MB / 347.9 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/0.3496, allocations: 1.096 MB / 349 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007803/0.3503, allocations: 397.9 kB / 349.4 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-05/0.3504, allocations: 16.11 kB / 349.4 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.3505, allocations: 39.34 kB / 349.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=58): time 2.365e-06/0.3505, allocations: 0 / 349.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=67): time 0.004956/0.3554, allocations: 1.973 MB / 351.5 MB, free: 10.13 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.3555, allocations: 81.11 kB / 351.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.3569, allocations: 0.9702 MB / 352.5 MB, free: 9.055 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.3569, allocations: 41.7 kB / 352.5 MB, free: 9.008 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/0.3574, allocations: 0.5299 MB / 353.1 MB, free: 8.469 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.3576, allocations: 224.7 kB / 353.3 MB, free: 8.246 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.3576, allocations: 20 kB / 353.3 MB, free: 8.227 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3578, allocations: 337.9 kB / 353.6 MB, free: 7.891 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008495/0.3587, allocations: 377.8 kB / 354 MB, free: 7.523 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.3597, allocations: 0.5652 MB / 354.6 MB, free: 6.879 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009156/0.3606, allocations: 421.9 kB / 355 MB, free: 6.469 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.3606, allocations: 0 / 355 MB, free: 6.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002233/0.3628, allocations: 1.088 MB / 356.1 MB, free: 5.371 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3629, allocations: 8 kB / 356.1 MB, free: 5.363 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.3629, allocations: 4 kB / 356.1 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.3629, allocations: 8 kB / 356.1 MB, free: 5.352 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.3641, allocations: 335.5 kB / 356.4 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/0.3641, allocations: 11.94 kB / 356.4 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/0.3649, allocations: 91.86 kB / 356.5 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.365, allocations: 39.98 kB / 356.6 MB, free: 4.883 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_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.0005003/0.3655, allocations: 281.6 kB / 356.8 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.3656, allocations: 102.8 kB / 356.9 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009761/0.3666, allocations: 422.3 kB / 357.4 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3667, allocations: 8 kB / 357.4 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.3667, allocations: 3.953 kB / 357.4 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.3667, allocations: 3.984 kB / 357.4 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003873/0.3706, allocations: 2.344 MB / 359.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.3706, allocations: 8 kB / 359.7 MB, free: 1.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008254/0.3714, allocations: 236.1 kB / 360 MB, free: 1.336 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.3714, allocations: 8 kB / 360 MB, free: 1.328 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.3715, allocations: 28 kB / 360 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.3715, allocations: 19.92 kB / 360 MB, free: 1.281 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/0.3715, allocations: 8 kB / 360 MB, free: 1.273 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.3731, allocations: 1.068 MB / 361.1 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.3733, allocations: 191.8 kB / 361.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3735, allocations: 20 kB / 361.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/0.374, allocations: 59.95 kB / 361.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3741, allocations: 71.77 kB / 361.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/0.3742, allocations: 27.98 kB / 361.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009084/0.3751, allocations: 0.6786 MB / 362.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3751, allocations: 0 / 362.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007651/0.3759, allocations: 204 kB / 362.3 MB, free: 14.84 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 (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.0008662/0.3768, allocations: 385.8 kB / 362.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.3785, allocations: 0.8122 MB / 363.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3785, allocations: 4.062 kB / 363.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007455/0.3793, allocations: 385.2 kB / 363.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.3804, allocations: 187.4 kB / 364.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.3839, allocations: 2.263 MB / 366.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.3845, allocations: 1.018 MB / 367.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005515/0.3851, allocations: 127.2 kB / 367.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.3853, allocations: 71.41 kB / 367.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3853, allocations: 3.938 kB / 367.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of Templates: time 0.01664/0.4019, allocations: 9.524 MB / 377.1 MB, free: 15.92 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)