Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001134/0.001134, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.436/1.436, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.002184/0.002184, allocations: 51.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2238, allocations: 46.63 MB / 324.9 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.00695/0.2308, allocations: 6.229 MB / 331.1 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004069/0.2349, allocations: 1.837 MB / 332.9 MB, free: 11.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000591/0.2356, allocations: 19.53 kB / 332.9 MB, free: 11.47 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006074/0.2362, allocations: 171.2 kB / 333.1 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008695/0.2371, allocations: 345.2 kB / 333.4 MB, free: 11.05 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.2377, allocations: 345.5 kB / 333.8 MB, free: 10.74 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.2395, allocations: 1.474 MB / 335.3 MB, free: 9.668 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006659/0.2402, allocations: 0.5026 MB / 335.8 MB, free: 9.145 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000554/0.2408, allocations: 0.5411 MB / 336.3 MB, free: 8.602 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005758/0.2414, allocations: 0.5952 MB / 336.9 MB, free: 8.004 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.2415, allocations: 160 kB / 337 MB, free: 7.848 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.2417, allocations: 156 kB / 337.2 MB, free: 7.695 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002734/0.242, allocations: 307.1 kB / 337.5 MB, free: 7.395 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000549/0.2426, allocations: 0.6456 MB / 338.1 MB, free: 6.746 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.2441, allocations: 1.842 MB / 340 MB, free: 4.898 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2441, allocations: 0 / 340 MB, free: 4.898 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2441, allocations: 0 / 340 MB, free: 4.898 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.2442, allocations: 0 / 340 MB, free: 4.898 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00292/0.2471, allocations: 1.438 MB / 341.4 MB, free: 3.406 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.2471, allocations: 16.03 kB / 341.4 MB, free: 3.391 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.2474, allocations: 119.5 kB / 341.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.2484, allocations: 0.665 MB / 342.2 MB, free: 2.57 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.2486, allocations: 74.56 kB / 342.3 MB, free: 2.496 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.2487, allocations: 100.3 kB / 342.4 MB, free: 2.398 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.2505, allocations: 1.009 MB / 343.4 MB, free: 1.379 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/0.2506, allocations: 7.984 kB / 343.4 MB, free: 1.371 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.91e-05/0.2507, allocations: 43.94 kB / 343.5 MB, free: 1.328 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.2507, allocations: 24 kB / 343.5 MB, free: 1.305 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.2525, allocations: 0.8601 MB / 344.3 MB, free: 460 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004843/0.2573, allocations: 3.344 MB / 347.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.2587, allocations: 0.8096 MB / 348.5 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008225/0.2596, allocations: 479 kB / 349 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.2597, allocations: 21.14 kB / 349 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.2597, allocations: 43.12 kB / 349 MB, free: 11.61 MB / 286.1 MB Notification: Performance of pre-optimization done (n=91): time 2.485e-06/0.2597, allocations: 0 / 349 MB, free: 11.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=115): time 0.009165/0.2689, allocations: 4.309 MB / 353.3 MB, free: 7.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.2689, allocations: 89.77 kB / 353.4 MB, free: 6.984 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007365/0.2697, allocations: 0.6007 MB / 354 MB, free: 6.371 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.979e-05/0.2698, allocations: 45.7 kB / 354.1 MB, free: 6.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.27, allocations: 424.1 kB / 354.5 MB, free: 5.898 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.2703, allocations: 398.2 kB / 354.9 MB, free: 5.504 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.2706, allocations: 182.9 kB / 355 MB, free: 5.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2708, allocations: 394.7 kB / 355.4 MB, free: 4.926 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008201/0.2716, allocations: 382.4 kB / 355.8 MB, free: 4.551 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008864/0.2725, allocations: 0.5081 MB / 356.3 MB, free: 4.012 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.2741, allocations: 0.8848 MB / 357.2 MB, free: 3.094 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.2742, allocations: 4 kB / 357.2 MB, free: 3.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002311/0.2765, allocations: 1.192 MB / 358.4 MB, free: 1.879 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.2765, allocations: 4 kB / 358.4 MB, free: 1.875 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.2765, allocations: 4 kB / 358.4 MB, free: 1.871 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004119/0.2769, allocations: 138.4 kB / 358.5 MB, free: 1.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.278, allocations: 247.7 kB / 358.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00392/0.2819, allocations: 4.969 MB / 363.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007726/0.2827, allocations: 55.95 kB / 363.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.2828, allocations: 39.94 kB / 363.8 MB, free: 12.01 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004504/0.2833, allocations: 281.8 kB / 364.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.2834, allocations: 86.97 kB / 364.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.285, allocations: 0.7683 MB / 365 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.285, allocations: 16 kB / 365 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.2851, allocations: 4 kB / 365 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.2851, allocations: 3.984 kB / 365 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/0.2892, allocations: 2.667 MB / 367.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.2892, allocations: 4 kB / 367.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008778/0.2901, allocations: 207.7 kB / 367.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.2905, allocations: 159.4 kB / 368 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.008e-05/0.2906, allocations: 24 kB / 368 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004048/0.2947, allocations: 5.99 MB / 374 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.2947, allocations: 7.969 kB / 374 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.2978, allocations: 1.744 MB / 375.8 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.298, allocations: 160 kB / 375.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.2981, allocations: 24 kB / 376 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005994/0.2987, allocations: 51.95 kB / 376 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.2989, allocations: 76.45 kB / 376.1 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.158e-05/0.299, allocations: 35.92 kB / 376.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005482/0.2995, allocations: 447.1 kB / 376.6 MB, free: 14.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2995, allocations: 0 / 376.6 MB, free: 14.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008832/0.3004, allocations: 252 kB / 376.8 MB, free: 14.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * 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 simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001705/0.3006, allocations: 142 kB / 376.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002905/0.3035, allocations: 1.38 MB / 378.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/0.3036, allocations: 0 / 378.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.305, allocations: 1.006 MB / 379.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.3061, allocations: 182.9 kB / 379.5 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/0.3099, allocations: 2.592 MB / 382.1 MB, free: 8.844 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.3104, allocations: 1.024 MB / 383.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005402/0.311, allocations: 119.6 kB / 383.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.3112, allocations: 75.42 kB / 383.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3112, allocations: 0 / 383.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of Templates: time 0.02019/0.3314, allocations: 11.78 MB / 395.1 MB, free: 11.8 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)