Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0008287/0.0008289, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006025/0.006025, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.597/1.597, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.0004264/0.0004265, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2326, allocations: 47.59 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006374/0.239, allocations: 5.766 MB / 332.8 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003608/0.2426, allocations: 1.831 MB / 334.6 MB, free: 11.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006322/0.2433, allocations: 19.12 kB / 334.7 MB, free: 11.29 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005012/0.2438, allocations: 167.3 kB / 334.8 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009085/0.2447, allocations: 348 kB / 335.2 MB, free: 10.87 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007226/0.2454, allocations: 337.8 kB / 335.5 MB, free: 10.57 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.2469, allocations: 1.377 MB / 336.9 MB, free: 9.516 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006238/0.2475, allocations: 432.5 kB / 337.3 MB, free: 9.074 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005963/0.2481, allocations: 438.2 kB / 337.7 MB, free: 8.645 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000543/0.2487, allocations: 0.5092 MB / 338.2 MB, free: 8.133 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.2488, allocations: 63.94 kB / 338.3 MB, free: 8.07 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.249, allocations: 64 kB / 338.3 MB, free: 8.008 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.2491, allocations: 195.1 kB / 338.5 MB, free: 7.816 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.2496, allocations: 0.5652 MB / 339.1 MB, free: 7.242 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.251, allocations: 1.716 MB / 340.8 MB, free: 5.52 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.251, allocations: 0 / 340.8 MB, free: 5.52 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.187e-06/0.251, allocations: 4 kB / 340.8 MB, free: 5.516 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.251, allocations: 0 / 340.8 MB, free: 5.516 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.002747/0.2538, allocations: 1.286 MB / 342.1 MB, free: 4.176 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.2538, allocations: 16.03 kB / 342.1 MB, free: 4.16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.254, allocations: 119.5 kB / 342.2 MB, free: 4.043 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.2552, allocations: 0.6689 MB / 342.9 MB, free: 3.332 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.2553, allocations: 74.56 kB / 343 MB, free: 3.258 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.2555, allocations: 104.3 kB / 343.1 MB, free: 3.156 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.2574, allocations: 1.037 MB / 344.1 MB, free: 2.109 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.2574, allocations: 0 / 344.1 MB, free: 2.109 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.164e-05/0.2575, allocations: 40 kB / 344.2 MB, free: 2.07 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.2575, allocations: 27.98 kB / 344.2 MB, free: 2.043 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.2595, allocations: 0.9147 MB / 345.1 MB, free: 1.133 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004888/0.2644, allocations: 3.352 MB / 348.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.2658, allocations: 0.8291 MB / 349.3 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008663/0.2667, allocations: 495.1 kB / 349.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-05/0.2668, allocations: 21.12 kB / 349.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.2668, allocations: 51.06 kB / 349.8 MB, free: 12.24 MB / 286.1 MB Notification: Performance of pre-optimization done (n=91): time 2.785e-06/0.2668, allocations: 0 / 349.8 MB, free: 12.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=115): time 0.0097/0.2766, allocations: 4.434 MB / 354.3 MB, free: 7.598 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.2766, allocations: 97.75 kB / 354.4 MB, free: 7.484 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008026/0.2775, allocations: 0.6007 MB / 355 MB, free: 6.871 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.2775, allocations: 45.7 kB / 355 MB, free: 6.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.2778, allocations: 428.2 kB / 355.4 MB, free: 6.395 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.2781, allocations: 394.2 kB / 355.8 MB, free: 6.004 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.2782, allocations: 93.66 kB / 355.9 MB, free: 5.906 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.2784, allocations: 394.7 kB / 356.3 MB, free: 5.512 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008959/0.2793, allocations: 406.4 kB / 356.7 MB, free: 5.117 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009802/0.2803, allocations: 0.5315 MB / 357.2 MB, free: 4.551 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.2821, allocations: 0.9394 MB / 358.2 MB, free: 3.578 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2821, allocations: 3.938 kB / 358.2 MB, free: 3.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002516/0.2846, allocations: 1.235 MB / 359.4 MB, free: 2.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.2847, allocations: 4 kB / 359.4 MB, free: 2.316 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.2847, allocations: 4 kB / 359.4 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004134/0.2851, allocations: 134.5 kB / 359.5 MB, free: 2.172 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.2861, allocations: 259.6 kB / 359.8 MB, free: 1.918 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/0.2895, allocations: 4.532 MB / 364.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007347/0.2903, allocations: 68.05 kB / 364.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/0.2904, allocations: 36 kB / 364.4 MB, free: 12.89 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.0004678/0.2908, allocations: 277.6 kB / 364.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.291, allocations: 86.97 kB / 364.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.2926, allocations: 0.7918 MB / 365.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.2927, allocations: 12.19 kB / 365.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.2927, allocations: 8 kB / 365.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.2927, allocations: 3.984 kB / 365.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/0.2969, allocations: 2.714 MB / 368.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.2969, allocations: 0 / 368.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008818/0.2978, allocations: 211.8 kB / 368.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004305/0.2982, allocations: 167.2 kB / 368.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.2983, allocations: 24 kB / 368.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/0.3021, allocations: 5.572 MB / 374.3 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3021, allocations: 0 / 374.3 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003195/0.3053, allocations: 1.806 MB / 376.1 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.3056, allocations: 168 kB / 376.2 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.3057, allocations: 24 kB / 376.3 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005895/0.3063, allocations: 63.95 kB / 376.3 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.3065, allocations: 84.33 kB / 376.4 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/0.3065, allocations: 31.98 kB / 376.4 MB, free: 128 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005921/0.3071, allocations: 443.1 kB / 376.9 MB, free: 15.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3071, allocations: 0 / 376.9 MB, free: 15.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009206/0.3081, allocations: 256 kB / 377.1 MB, free: 15.45 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.0001809/0.3082, allocations: 135 kB / 377.3 MB, free: 15.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.3107, allocations: 1.369 MB / 378.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3107, allocations: 0 / 378.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.3123, allocations: 1.033 MB / 379.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.3135, allocations: 177.6 kB / 379.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/0.3174, allocations: 2.747 MB / 382.6 MB, free: 9.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.318, allocations: 1.02 MB / 383.6 MB, free: 8.805 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005712/0.3186, allocations: 123.6 kB / 383.7 MB, free: 8.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.3188, allocations: 75.41 kB / 383.8 MB, free: 8.605 MB / 318.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3188, allocations: 0 / 383.8 MB, free: 8.605 MB / 318.1 MB Notification: Performance of Templates: time 0.0196/0.3384, allocations: 11.14 MB / 394.9 MB, free: 13.46 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)