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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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/Modelica 3.1.0+maint.om/package.mo): time 0.7685/0.7685, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001645/0.001645, allocations: 167.3 kB / 144 MB, free: 4.797 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.439e-05/1.44e-05, allocations: 4 kB / 173.9 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03567/0.0357, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05221/0.08794, allocations: 42.35 MB / 241.4 MB, free: 3.27 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.08822, allocations: 71.95 kB / 241.5 MB, free: 3.199 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1418/0.2301, allocations: 19.91 MB / 261.4 MB, free: 36.46 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2301, allocations: 0 / 261.4 MB, free: 36.46 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.97e-05/0.2302, allocations: 27.19 kB / 261.4 MB, free: 36.44 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002329/0.2325, allocations: 1.188 MB / 262.6 MB, free: 35.2 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2326, allocations: 8.031 kB / 262.6 MB, free: 35.2 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/0.2328, allocations: 126.6 kB / 262.7 MB, free: 35.07 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008776/0.2337, allocations: 0.6174 MB / 263.3 MB, free: 34.43 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.2338, allocations: 49.98 kB / 263.4 MB, free: 34.38 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.234, allocations: 59.91 kB / 263.4 MB, free: 34.32 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001231/0.2352, allocations: 0.742 MB / 264.2 MB, free: 33.58 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.2365, allocations: 0.8331 MB / 265 MB, free: 32.73 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.2365, allocations: 0 / 265 MB, free: 32.73 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.141e-05/0.2366, allocations: 4 kB / 265 MB, free: 32.73 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2366, allocations: 20 kB / 265 MB, free: 32.71 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004576/0.2412, allocations: 3.67 MB / 268.7 MB, free: 28.89 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.2429, allocations: 0.8342 MB / 269.5 MB, free: 28.04 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.2434, allocations: 382.1 kB / 269.9 MB, free: 27.66 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.2434, allocations: 19.97 kB / 269.9 MB, free: 27.64 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.2435, allocations: 38.8 kB / 270 MB, free: 27.6 MB / 186.7 MB Notification: Performance of pre-optimization done (n=65): time 2.424e-06/0.2435, allocations: 0 / 270 MB, free: 27.6 MB / 186.7 MB Notification: Performance of matching and sorting (n=83): time 0.002471/0.2459, allocations: 1.583 MB / 271.6 MB, free: 26.01 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.246, allocations: 93.53 kB / 271.6 MB, free: 25.9 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006233/0.2466, allocations: 0.609 MB / 272.3 MB, free: 25.29 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.2467, allocations: 25.7 kB / 272.3 MB, free: 25.25 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.2469, allocations: 0.4989 MB / 272.8 MB, free: 24.75 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.247, allocations: 268 kB / 273 MB, free: 24.48 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.2471, allocations: 0 / 273 MB, free: 24.48 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2472, allocations: 390.7 kB / 273.4 MB, free: 24.09 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.2476, allocations: 318.6 kB / 273.7 MB, free: 23.78 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.2481, allocations: 468.6 kB / 274.2 MB, free: 23.27 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.2486, allocations: 353.9 kB / 274.5 MB, free: 22.93 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2486, allocations: 0 / 274.5 MB, free: 22.93 MB / 186.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001143/0.2497, allocations: 0.9075 MB / 275.4 MB, free: 22.01 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2497, allocations: 8 kB / 275.5 MB, free: 22 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.2498, allocations: 4 kB / 275.5 MB, free: 22 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.2498, allocations: 8.438 kB / 275.5 MB, free: 21.99 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.2511, allocations: 351.5 kB / 275.8 MB, free: 21.64 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.2511, allocations: 8 kB / 275.8 MB, free: 21.64 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008432/0.2519, allocations: 107.9 kB / 275.9 MB, free: 21.53 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.189e-05/0.252, allocations: 47.86 kB / 276 MB, free: 21.48 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (cActuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 118 * 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.000129/0.2522, allocations: 117.8 kB / 276.1 MB, free: 21.36 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.2523, allocations: 94.91 kB / 276.2 MB, free: 21.27 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006008/0.2529, allocations: 448.7 kB / 276.6 MB, free: 20.82 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.2529, allocations: 8 kB / 276.6 MB, free: 20.82 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.2529, allocations: 7.984 kB / 276.6 MB, free: 20.81 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/0.2529, allocations: 3.984 kB / 276.6 MB, free: 20.8 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.256, allocations: 2.669 MB / 279.3 MB, free: 17.98 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.2561, allocations: 15.92 kB / 279.3 MB, free: 17.97 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008871/0.257, allocations: 263.7 kB / 279.6 MB, free: 17.71 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/0.257, allocations: 19.95 kB / 279.6 MB, free: 17.69 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.257, allocations: 19.98 kB / 279.6 MB, free: 17.67 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.878e-06/0.2571, allocations: 19.92 kB / 279.6 MB, free: 17.65 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.2571, allocations: 19.88 kB / 279.7 MB, free: 17.63 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.2583, allocations: 1.671 MB / 281.3 MB, free: 15.56 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.2584, allocations: 180 kB / 281.5 MB, free: 15.36 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2586, allocations: 15.98 kB / 281.5 MB, free: 15.35 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006965/0.2593, allocations: 67.94 kB / 281.6 MB, free: 15.28 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.2594, allocations: 87.7 kB / 281.7 MB, free: 15.2 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.2594, allocations: 43.98 kB / 281.7 MB, free: 15.15 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0004765/0.2599, allocations: 471.2 kB / 282.2 MB, free: 14.7 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2599, allocations: 0 / 282.2 MB, free: 14.7 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007494/0.2607, allocations: 184 kB / 282.3 MB, free: 14.52 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (comparisonWithFEA.tableID,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003306/0.261, allocations: 189.1 kB / 282.5 MB, free: 14.33 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0008695/0.2619, allocations: 0.6984 MB / 283.2 MB, free: 13.63 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.2619, allocations: 4.875 kB / 283.2 MB, free: 13.63 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004859/0.2624, allocations: 388 kB / 283.6 MB, free: 13.25 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009584/0.2634, allocations: 165.1 kB / 283.8 MB, free: 13.09 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.2655, allocations: 1.424 MB / 285.2 MB, free: 11.51 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.2659, allocations: 1.033 MB / 286.2 MB, free: 10.45 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0005307/0.2665, allocations: 122.3 kB / 286.4 MB, free: 10.32 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.2667, allocations: 71.41 kB / 286.4 MB, free: 10.25 MB / 186.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2667, allocations: 0 / 286.4 MB, free: 10.25 MB / 186.7 MB Notification: Performance of Templates: time 0.0138/0.2805, allocations: 8.836 MB / 295.3 MB, free: 1.414 MB / 186.7 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)