Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001203, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.368/1.368, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001245/0.001245, allocations: 55.94 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2067, allocations: 46.63 MB / 325.3 MB, free: 1.824 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00534/0.2121, allocations: 4.515 MB / 329.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.215, allocations: 1.741 MB / 331.6 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002809/0.2153, allocations: 17.75 kB / 331.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007694/0.2161, allocations: 416 kB / 332 MB, free: 12.59 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0007873/0.2169, allocations: 414.3 kB / 332.4 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006651/0.2176, allocations: 306.1 kB / 332.7 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.2186, allocations: 1.019 MB / 333.7 MB, free: 11.42 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.219, allocations: 302.5 kB / 334 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000464/0.2195, allocations: 402.8 kB / 334.4 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005321/0.22, allocations: 0.4983 MB / 334.9 MB, free: 10.29 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.2202, allocations: 96 kB / 335 MB, free: 10.2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.2205, allocations: 124 kB / 335.1 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.2208, allocations: 243.1 kB / 335.4 MB, free: 9.836 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004748/0.2213, allocations: 461.6 kB / 335.8 MB, free: 9.383 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.2224, allocations: 1.261 MB / 337.1 MB, free: 8.117 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.2224, allocations: 0 / 337.1 MB, free: 8.117 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2225, allocations: 0 / 337.1 MB, free: 8.117 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.2225, allocations: 4 kB / 337.1 MB, free: 8.113 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002182/0.2247, allocations: 1.199 MB / 338.3 MB, free: 6.863 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2247, allocations: 15.89 kB / 338.3 MB, free: 6.848 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.2249, allocations: 95.72 kB / 338.4 MB, free: 6.754 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008387/0.2257, allocations: 0.5474 MB / 338.9 MB, free: 6.168 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.2258, allocations: 45.88 kB / 339 MB, free: 6.121 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.226, allocations: 71.88 kB / 339 MB, free: 6.051 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.2271, allocations: 0.648 MB / 339.7 MB, free: 5.387 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.2272, allocations: 7.906 kB / 339.7 MB, free: 5.379 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.721e-05/0.2272, allocations: 24 kB / 339.7 MB, free: 5.355 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.2273, allocations: 16 kB / 339.7 MB, free: 5.34 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.2285, allocations: 0.5555 MB / 340.3 MB, free: 4.785 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/0.2323, allocations: 2.552 MB / 342.8 MB, free: 2.094 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/0.2333, allocations: 473.7 kB / 343.3 MB, free: 1.621 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000687/0.234, allocations: 294 kB / 343.6 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.273e-05/0.234, allocations: 8.438 kB / 343.6 MB, free: 1.324 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.2341, allocations: 35 kB / 343.6 MB, free: 1.281 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 2.074e-06/0.2341, allocations: 0 / 343.6 MB, free: 1.281 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004558/0.2386, allocations: 1.485 MB / 345.1 MB, free: 15.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.2387, allocations: 63.97 kB / 345.2 MB, free: 15.71 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.2397, allocations: 0.9418 MB / 346.1 MB, free: 14.76 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/0.2398, allocations: 33.7 kB / 346.2 MB, free: 14.72 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.2401, allocations: 407.9 kB / 346.6 MB, free: 14.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.2402, allocations: 212.9 kB / 346.8 MB, free: 14.11 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.2404, allocations: 126.6 kB / 346.9 MB, free: 13.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2406, allocations: 334 kB / 347.2 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006263/0.2412, allocations: 241.9 kB / 347.5 MB, free: 13.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006917/0.2419, allocations: 347.1 kB / 347.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.2432, allocations: 0.5674 MB / 348.4 MB, free: 12.44 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2432, allocations: 3.938 kB / 348.4 MB, free: 12.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001735/0.2449, allocations: 0.7304 MB / 349.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.245, allocations: 8 kB / 349.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.245, allocations: 288 / 349.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.245, allocations: 12 kB / 349.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008038/0.2458, allocations: 175.8 kB / 349.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2459, allocations: 4 kB / 349.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.2464, allocations: 39.91 kB / 349.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.2465, allocations: 27.98 kB / 349.4 MB, free: 11.43 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003475/0.2468, allocations: 265.7 kB / 349.6 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.2469, allocations: 86.91 kB / 349.7 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.2484, allocations: 0.628 MB / 350.3 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.2484, allocations: 8 kB / 350.3 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2484, allocations: 0 / 350.3 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.2484, allocations: 3.984 kB / 350.3 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.2513, allocations: 1.813 MB / 352.2 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.2513, allocations: 0 / 352.2 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/0.2519, allocations: 136.1 kB / 352.3 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.2519, allocations: 8 kB / 352.3 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.252, allocations: 12 kB / 352.3 MB, free: 8.336 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.252, allocations: 4 kB / 352.3 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.252, allocations: 7.984 kB / 352.3 MB, free: 8.324 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.2534, allocations: 0.7497 MB / 353.1 MB, free: 7.535 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.2537, allocations: 200.1 kB / 353.3 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/0.2538, allocations: 12 kB / 353.3 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/0.2542, allocations: 43.95 kB / 353.3 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2543, allocations: 44.27 kB / 353.4 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.2544, allocations: 23.98 kB / 353.4 MB, free: 7.199 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0008464/0.2552, allocations: 0.6826 MB / 354.1 MB, free: 6.52 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2553, allocations: 0 / 354.1 MB, free: 6.52 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006098/0.2559, allocations: 159.9 kB / 354.2 MB, free: 6.363 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.0009076/0.2568, allocations: 378.4 kB / 354.6 MB, free: 5.988 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.2585, allocations: 0.6121 MB / 355.2 MB, free: 5.379 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.2585, allocations: 4 kB / 355.2 MB, free: 5.375 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006406/0.2591, allocations: 299.3 kB / 355.5 MB, free: 5.078 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.26, allocations: 126.9 kB / 355.6 MB, free: 4.953 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.2627, allocations: 1.578 MB / 357.2 MB, free: 3.312 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.2633, allocations: 0.9629 MB / 358.2 MB, free: 2.324 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004169/0.2637, allocations: 93.05 kB / 358.3 MB, free: 2.23 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.2639, allocations: 55.42 kB / 358.3 MB, free: 2.176 MB / 286.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2639, allocations: 0 / 358.3 MB, free: 2.176 MB / 286.1 MB Notification: Performance of Templates: time 0.01509/0.279, allocations: 7.66 MB / 366 MB, free: 10.5 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)