Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001187/0.001187, allocations: 92 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.001392/0.001392, 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.544/1.544, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.0004565/0.0004566, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2457, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006488/0.2522, allocations: 5.524 MB / 332 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00456/0.2568, allocations: 2.028 MB / 334 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009819/0.2578, allocations: 19.75 kB / 334 MB, free: 11.4 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008269/0.2587, allocations: 306.3 kB / 334.3 MB, free: 11.2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.2599, allocations: 405.8 kB / 334.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.2607, allocations: 262.2 kB / 335 MB, free: 10.69 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001869/0.2626, allocations: 1.363 MB / 336.4 MB, free: 9.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005995/0.2632, allocations: 394 kB / 336.7 MB, free: 9.191 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006213/0.2639, allocations: 446.2 kB / 337.2 MB, free: 8.754 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006671/0.2645, allocations: 0.5407 MB / 337.7 MB, free: 8.211 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.2647, allocations: 60 kB / 337.8 MB, free: 8.152 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.2649, allocations: 80 kB / 337.9 MB, free: 8.074 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.2651, allocations: 215.1 kB / 338.1 MB, free: 7.863 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.2653, allocations: 249.1 kB / 338.3 MB, free: 7.613 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.2667, allocations: 1.527 MB / 339.8 MB, free: 6.082 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.2667, allocations: 4 kB / 339.8 MB, free: 6.078 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.2667, allocations: 0 / 339.8 MB, free: 6.078 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.2667, 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.002835/0.2695, allocations: 1.379 MB / 341.2 MB, free: 4.648 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2696, allocations: 8.031 kB / 341.2 MB, free: 4.641 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.2698, allocations: 134.4 kB / 341.4 MB, free: 4.508 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.271, allocations: 0.6843 MB / 342 MB, free: 3.781 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.2711, allocations: 74 kB / 342.1 MB, free: 3.707 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.2713, allocations: 103.8 kB / 342.2 MB, free: 3.605 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.2734, allocations: 1.036 MB / 343.3 MB, free: 2.562 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.2735, allocations: 4 kB / 343.3 MB, free: 2.559 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.39e-05/0.2736, allocations: 36 kB / 343.3 MB, free: 2.523 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.2736, allocations: 24 kB / 343.3 MB, free: 2.5 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.2757, allocations: 0.946 MB / 344.3 MB, free: 1.551 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005771/0.2815, allocations: 3.688 MB / 348 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.2846, allocations: 1.096 MB / 349 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007885/0.2854, allocations: 393.9 kB / 349.4 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/0.2855, allocations: 4.188 kB / 349.4 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.2855, allocations: 43.34 kB / 349.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=58): time 3.166e-06/0.2855, allocations: 0 / 349.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=67): time 0.005197/0.2907, allocations: 1.973 MB / 351.5 MB, free: 10.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.2908, allocations: 89.05 kB / 351.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.2926, allocations: 0.9741 MB / 352.5 MB, free: 9.051 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.2926, allocations: 33.7 kB / 352.5 MB, free: 9.012 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/0.2931, allocations: 0.5221 MB / 353.1 MB, free: 8.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.2933, allocations: 232.6 kB / 353.3 MB, free: 8.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.2934, allocations: 20 kB / 353.3 MB, free: 8.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2935, allocations: 341.9 kB / 353.6 MB, free: 7.891 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009281/0.2945, allocations: 381.8 kB / 354 MB, free: 7.52 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.2955, allocations: 0.5573 MB / 354.6 MB, free: 6.883 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.2966, allocations: 425.9 kB / 355 MB, free: 6.469 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.2966, allocations: 0 / 355 MB, free: 6.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002427/0.299, allocations: 1.088 MB / 356.1 MB, free: 5.371 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.2991, allocations: 8 kB / 356.1 MB, free: 5.363 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/0.2991, allocations: 4 kB / 356.1 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.2991, allocations: 12 kB / 356.1 MB, free: 5.348 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.3004, allocations: 327.5 kB / 356.4 MB, free: 5.027 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-05/0.3004, allocations: 11.94 kB / 356.4 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008688/0.3013, allocations: 99.86 kB / 356.5 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-05/0.3014, allocations: 31.98 kB / 356.6 MB, free: 4.887 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.0005771/0.302, allocations: 277.6 kB / 356.8 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.3022, allocations: 98.78 kB / 356.9 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.3032, allocations: 422.3 kB / 357.3 MB, free: 4.086 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.3033, allocations: 8 kB / 357.4 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.3033, allocations: 7.891 kB / 357.4 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.3033, allocations: 11.98 kB / 357.4 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/0.3075, allocations: 2.348 MB / 359.7 MB, free: 1.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.3076, allocations: 8.156 kB / 359.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008967/0.3085, allocations: 235.7 kB / 360 MB, free: 1.332 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.302e-05/0.3085, allocations: 12 kB / 360 MB, free: 1.32 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.626e-05/0.3086, allocations: 20 kB / 360 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.916e-05/0.3086, allocations: 15.92 kB / 360 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/0.3086, allocations: 8 kB / 360 MB, free: 1.277 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.3104, allocations: 1.068 MB / 361.1 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.3108, allocations: 195.8 kB / 361.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.3109, allocations: 20 kB / 361.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006517/0.3116, allocations: 63.95 kB / 361.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.3117, allocations: 59.77 kB / 361.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.3118, allocations: 27.98 kB / 361.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001083/0.3129, allocations: 0.6786 MB / 362.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3129, allocations: 0 / 362.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001023/0.3139, allocations: 208 kB / 362.3 MB, free: 14.85 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.001003/0.315, allocations: 390.1 kB / 362.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001977/0.3169, allocations: 0.8077 MB / 363.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.317, allocations: 4 kB / 363.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008438/0.3178, allocations: 385.8 kB / 363.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.3191, allocations: 191.3 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.003784/0.3229, 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.0007361/0.3237, allocations: 1.018 MB / 367.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006814/0.3244, allocations: 123.2 kB / 367.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.3246, allocations: 71.41 kB / 367.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3246, allocations: 4 kB / 367.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of Templates: time 0.02017/0.3448, allocations: 9.528 MB / 377.1 MB, free: 15.92 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1)