Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001612/0.001612, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001914/0.001914, allocations: 193.1 kB / 16.13 MB, free: 6.707 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.435/1.435, allocations: 205.1 MB / 222 MB, free: 4.77 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.001128/0.001128, allocations: 55.91 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2125, allocations: 46.62 MB / 324.7 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005245/0.2178, allocations: 4.53 MB / 329.2 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002706/0.2205, allocations: 1.726 MB / 330.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.2208, allocations: 12.94 kB / 330.9 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007372/0.2216, allocations: 398.7 kB / 331.3 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006647/0.2222, allocations: 381.6 kB / 331.7 MB, free: 12.51 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005508/0.2228, allocations: 270.1 kB / 332 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.2238, allocations: 0.9655 MB / 332.9 MB, free: 11.72 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004175/0.2243, allocations: 253.2 kB / 333.2 MB, free: 11.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.2247, allocations: 357.4 kB / 333.5 MB, free: 11.29 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.2252, allocations: 478.2 kB / 334 MB, free: 10.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.891e-05/0.2253, allocations: 48 kB / 334 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.2255, allocations: 75.98 kB / 334.1 MB, free: 10.7 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.2257, allocations: 191.2 kB / 334.3 MB, free: 10.51 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003632/0.2261, allocations: 413.6 kB / 334.7 MB, free: 10.11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.2271, allocations: 1.211 MB / 335.9 MB, free: 8.891 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2271, allocations: 0 / 335.9 MB, free: 8.891 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2271, allocations: 0 / 335.9 MB, free: 8.891 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.2271, allocations: 0 / 335.9 MB, free: 8.891 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.002315/0.2295, allocations: 1.203 MB / 337.1 MB, free: 7.637 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.2295, allocations: 12.03 kB / 337.1 MB, free: 7.625 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.2297, allocations: 99.7 kB / 337.2 MB, free: 7.527 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008305/0.2305, allocations: 0.5435 MB / 337.8 MB, free: 6.938 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.2306, allocations: 45.88 kB / 337.8 MB, free: 6.895 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.405e-05/0.2307, allocations: 63.94 kB / 337.9 MB, free: 6.832 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.2319, allocations: 0.6518 MB / 338.5 MB, free: 6.164 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.232, allocations: 7.906 kB / 338.5 MB, free: 6.156 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/0.2321, allocations: 20 kB / 338.6 MB, free: 6.137 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.2321, allocations: 16 kB / 338.6 MB, free: 6.121 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.2333, allocations: 0.5633 MB / 339.1 MB, free: 5.559 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003605/0.2369, allocations: 2.552 MB / 341.7 MB, free: 2.863 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009068/0.2379, allocations: 477.7 kB / 342.2 MB, free: 2.387 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006373/0.2385, allocations: 294.5 kB / 342.5 MB, free: 2.098 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.2386, allocations: 20.41 kB / 342.5 MB, free: 2.078 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.2386, allocations: 39 kB / 342.5 MB, free: 2.031 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 1.724e-06/0.2386, allocations: 0 / 342.5 MB, free: 2.031 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004385/0.243, allocations: 1.477 MB / 344 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.2431, allocations: 63.97 kB / 344 MB, free: 484 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.2441, allocations: 0.9458 MB / 345 MB, free: 15.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.2442, allocations: 37.7 kB / 345 MB, free: 15.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.2445, allocations: 404 kB / 345.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.2447, allocations: 208.9 kB / 345.6 MB, free: 14.87 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.2449, allocations: 114.6 kB / 345.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.245, allocations: 341.9 kB / 346.1 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005986/0.2456, allocations: 245.9 kB / 346.3 MB, free: 14.17 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006626/0.2463, allocations: 351.1 kB / 346.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.2475, allocations: 0.5596 MB / 347.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2475, allocations: 0 / 347.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001604/0.2491, allocations: 0.7422 MB / 348 MB, free: 12.45 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.2491, allocations: 8 kB / 348 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2491, allocations: 0 / 348 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2492, allocations: 8 kB / 348 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/0.2499, allocations: 175.8 kB / 348.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.25, allocations: 4 kB / 348.2 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.2505, allocations: 40.03 kB / 348.2 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.2506, allocations: 27.98 kB / 348.2 MB, free: 12.2 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.0003407/0.2509, allocations: 269.5 kB / 348.5 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.251, allocations: 86.91 kB / 348.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.2524, allocations: 0.6319 MB / 349.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.2524, allocations: 8 kB / 349.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2525, allocations: 0 / 349.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2525, allocations: 0 / 349.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.2552, allocations: 1.809 MB / 351 MB, free: 9.254 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.2552, allocations: 8 kB / 351 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.2558, allocations: 131.8 kB / 351.2 MB, free: 9.117 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.2558, allocations: 4 kB / 351.2 MB, free: 9.113 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.2558, allocations: 16 kB / 351.2 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.2558, allocations: 4.312 kB / 351.2 MB, free: 9.094 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.2559, allocations: 8 kB / 351.2 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.2571, allocations: 0.7497 MB / 351.9 MB, free: 8.293 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.2574, allocations: 204 kB / 352.1 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.929e-05/0.2575, allocations: 19.94 kB / 352.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.2579, allocations: 39.95 kB / 352.2 MB, free: 8.016 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.258, allocations: 48.27 kB / 352.2 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.2581, allocations: 23.98 kB / 352.3 MB, free: 7.945 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007538/0.2588, allocations: 0.6865 MB / 352.9 MB, free: 7.262 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2588, allocations: 0 / 352.9 MB, free: 7.262 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005538/0.2594, allocations: 144 kB / 353.1 MB, free: 7.121 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.0008548/0.2603, allocations: 382.4 kB / 353.5 MB, free: 6.746 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.2616, allocations: 0.5732 MB / 354 MB, free: 6.176 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2616, allocations: 0 / 354 MB, free: 6.176 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005873/0.2622, allocations: 291.3 kB / 354.3 MB, free: 5.887 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.263, allocations: 122.9 kB / 354.4 MB, free: 5.766 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.2656, allocations: 1.88 MB / 356.3 MB, free: 3.828 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.2661, allocations: 0.9633 MB / 357.3 MB, free: 2.836 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004274/0.2666, allocations: 93.06 kB / 357.4 MB, free: 2.742 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.2667, allocations: 55.42 kB / 357.4 MB, free: 2.688 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2668, allocations: 0 / 357.4 MB, free: 2.688 MB / 286.1 MB Notification: Performance of Templates: time 0.01295/0.2797, allocations: 7.222 MB / 364.6 MB, free: 11.45 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)