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.001266/0.001265, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001301/0.001301, allocations: 177.3 kB / 15.95 MB, free: 216 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.578/1.578, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.000479/0.0004792, allocations: 10.81 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2604, allocations: 47.57 MB / 326.4 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006031/0.2665, allocations: 5.12 MB / 331.6 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004552/0.2711, allocations: 2.074 MB / 333.6 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007396/0.2718, allocations: 16.66 kB / 333.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007566/0.2726, allocations: 286.1 kB / 333.9 MB, free: 11.56 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.2738, allocations: 0.4978 MB / 334.4 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007909/0.2746, allocations: 272.9 kB / 334.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.276, allocations: 0.9412 MB / 335.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005257/0.2766, allocations: 375.3 kB / 336 MB, free: 9.953 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005292/0.2771, allocations: 454.3 kB / 336.5 MB, free: 9.508 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005868/0.2777, allocations: 0.5368 MB / 337 MB, free: 8.969 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.2778, allocations: 64 kB / 337 MB, free: 8.906 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.2781, allocations: 83.92 kB / 337.1 MB, free: 8.824 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.2783, allocations: 219.1 kB / 337.3 MB, free: 8.609 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.2785, allocations: 245.1 kB / 337.6 MB, free: 8.363 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.2798, allocations: 1.511 MB / 339.1 MB, free: 6.848 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2798, allocations: 0 / 339.1 MB, free: 6.848 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2798, allocations: 0 / 339.1 MB, free: 6.848 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.2798, allocations: 3.938 kB / 339.1 MB, free: 6.844 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.002862/0.2827, allocations: 1.387 MB / 340.5 MB, free: 5.406 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2827, allocations: 8.031 kB / 340.5 MB, free: 5.398 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.283, allocations: 146.3 kB / 340.6 MB, free: 5.254 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.2841, allocations: 0.6688 MB / 341.3 MB, free: 4.543 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.2842, allocations: 81.98 kB / 341.4 MB, free: 4.461 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.2843, allocations: 95.84 kB / 341.5 MB, free: 4.367 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.2863, allocations: 1.033 MB / 342.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.2863, allocations: 0 / 342.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.439e-05/0.2864, allocations: 36 kB / 342.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.2864, allocations: 24 kB / 342.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.2884, allocations: 0.946 MB / 343.5 MB, free: 2.32 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005085/0.2935, allocations: 3.684 MB / 347.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/0.2966, allocations: 1.096 MB / 348.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.2966, allocations: 12.17 kB / 348.3 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.2967, allocations: 42.73 kB / 348.4 MB, free: 13.28 MB / 286.1 MB Notification: Performance of pre-optimization done (n=58): time 2.515e-06/0.2967, allocations: 3.938 kB / 348.4 MB, free: 13.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=67): time 0.004842/0.3015, allocations: 1.966 MB / 350.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.3016, allocations: 85.11 kB / 350.4 MB, free: 11.2 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.3028, allocations: 0.9702 MB / 351.4 MB, free: 10.22 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.3029, allocations: 33.7 kB / 351.4 MB, free: 10.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.3033, allocations: 0.526 MB / 351.9 MB, free: 9.645 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.3035, allocations: 228.7 kB / 352.2 MB, free: 9.418 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.3036, allocations: 20 kB / 352.2 MB, free: 9.398 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3037, allocations: 337.9 kB / 352.5 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009225/0.3047, allocations: 381.8 kB / 352.9 MB, free: 8.691 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009918/0.3057, allocations: 0.5575 MB / 353.4 MB, free: 8.055 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009413/0.3066, allocations: 421.9 kB / 353.8 MB, free: 7.645 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3066, allocations: 4 kB / 353.9 MB, free: 7.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002272/0.3089, allocations: 1.088 MB / 354.9 MB, free: 6.543 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.3089, allocations: 8 kB / 354.9 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.309, allocations: 4 kB / 355 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.309, allocations: 12 kB / 355 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.3102, allocations: 323.6 kB / 355.3 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/0.3103, allocations: 19.83 kB / 355.3 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007636/0.311, allocations: 91.92 kB / 355.4 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/0.3111, allocations: 39.92 kB / 355.4 MB, free: 6.055 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.0004383/0.3116, allocations: 281.6 kB / 355.7 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.3117, allocations: 98.78 kB / 355.8 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009244/0.3126, allocations: 430.1 kB / 356.2 MB, free: 5.242 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.3127, allocations: 12 kB / 356.2 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3127, allocations: 0 / 356.2 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3127, allocations: 3.953 kB / 356.2 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/0.3166, allocations: 2.337 MB / 358.6 MB, free: 2.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.3167, allocations: 8 kB / 358.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008419/0.3175, allocations: 235.8 kB / 358.8 MB, free: 2.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-05/0.3175, allocations: 12 kB / 358.8 MB, free: 2.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.3176, allocations: 27.92 kB / 358.8 MB, free: 2.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.3176, allocations: 11.94 kB / 358.9 MB, free: 2.461 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.3176, allocations: 11.94 kB / 358.9 MB, free: 2.449 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.3194, allocations: 1.392 MB / 360.3 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.3197, allocations: 195.8 kB / 360.5 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.3198, allocations: 19.95 kB / 360.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006086/0.3205, allocations: 63.95 kB / 360.5 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3206, allocations: 63.77 kB / 360.6 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.376e-05/0.3206, allocations: 31.98 kB / 360.6 MB, free: 404 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0008509/0.3215, allocations: 0.6747 MB / 361.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3215, allocations: 4 kB / 361.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007671/0.3223, allocations: 212 kB / 361.5 MB, free: 15.51 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.0008042/0.3231, allocations: 373.8 kB / 361.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.3249, allocations: 0.8194 MB / 362.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3249, allocations: 4 kB / 362.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007805/0.3257, allocations: 381.8 kB / 363.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008839/0.3266, allocations: 183.1 kB / 363.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.3297, allocations: 2.256 MB / 365.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.3303, allocations: 1.042 MB / 366.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005314/0.3308, allocations: 123.2 kB / 366.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.3311, allocations: 71.41 kB / 366.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3311, allocations: 0 / 366.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of Templates: time 0.01594/0.347, allocations: 9.512 MB / 376.3 MB, free: 0.6055 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: