Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.0.0_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.001144/0.001144, allocations: 109.2 kB / 17.74 MB, free: 5.332 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.001155/0.001155, allocations: 188.3 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009086/0.0009087, allocations: 51.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2268, allocations: 49.44 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006891/0.2337, allocations: 6.308 MB / 407.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.2368, allocations: 1.846 MB / 409.6 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000459/0.2373, allocations: 19.94 kB / 409.6 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.2378, allocations: 214.1 kB / 409.8 MB, free: 448 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007702/0.2386, allocations: 408.8 kB / 410.2 MB, free: 36 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.2392, allocations: 379.5 kB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.2405, allocations: 1.483 MB / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006266/0.2411, allocations: 0.5052 MB / 412.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005167/0.2416, allocations: 0.5411 MB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005991/0.2422, allocations: 0.603 MB / 413.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.2424, allocations: 156 kB / 413.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.2426, allocations: 160 kB / 414 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003137/0.243, allocations: 311 kB / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006164/0.2436, allocations: 0.6417 MB / 414.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.2452, allocations: 1.847 MB / 416.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2452, allocations: 0 / 416.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2452, allocations: 0 / 416.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.2452, allocations: 0 / 416.8 MB, free: 9.395 MB / 334.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.002871/0.2481, allocations: 1.442 MB / 418.2 MB, free: 7.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2481, allocations: 19.89 kB / 418.2 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.2483, allocations: 119.5 kB / 418.4 MB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.2495, allocations: 0.6728 MB / 419 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.729e-05/0.2495, allocations: 74.38 kB / 419.1 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.2497, allocations: 96.28 kB / 419.2 MB, free: 6.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.2516, allocations: 1.009 MB / 420.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.2516, allocations: 4 kB / 420.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.196e-05/0.2517, allocations: 43.94 kB / 420.3 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.2517, allocations: 24 kB / 420.3 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.2536, allocations: 0.8601 MB / 421.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005474/0.2591, allocations: 3.305 MB / 424.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.2611, allocations: 0.8129 MB / 425.3 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.2624, allocations: 482.3 kB / 425.7 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.518e-05/0.2625, allocations: 20.39 kB / 425.8 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.2625, allocations: 43.12 kB / 425.8 MB, free: 124 kB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 4.528e-06/0.2625, allocations: 0 / 425.8 MB, free: 124 kB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.01359/0.2761, allocations: 4.293 MB / 430.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.2762, allocations: 93.7 kB / 430.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00079/0.277, allocations: 0.5968 MB / 430.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.519e-05/0.2771, allocations: 41.7 kB / 430.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.2774, allocations: 432.2 kB / 431.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.2777, allocations: 386.2 kB / 431.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.278, allocations: 198.8 kB / 431.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2781, allocations: 390.7 kB / 432.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008172/0.2789, allocations: 378.4 kB / 432.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.2802, allocations: 0.5042 MB / 433.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/0.2828, allocations: 0.8887 MB / 434 MB, free: 7.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.2829, allocations: 0 / 434 MB, free: 7.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003487/0.2864, allocations: 1.192 MB / 435.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.2864, allocations: 4 kB / 435.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.2864, allocations: 4 kB / 435.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005538/0.287, allocations: 138.6 kB / 435.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.2884, allocations: 243.7 kB / 435.5 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00494/0.2934, allocations: 4.969 MB / 440.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.2944, allocations: 51.95 kB / 440.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.2945, allocations: 39.98 kB / 440.6 MB, free: 0.5469 MB / 350.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.0006141/0.2951, allocations: 282.8 kB / 440.9 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.2954, allocations: 86.97 kB / 440.9 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.2978, allocations: 0.7723 MB / 441.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/0.2978, allocations: 7.984 kB / 441.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.2978, allocations: 3.984 kB / 441.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.2981, allocations: 160 kB / 441.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.2983, allocations: 24 kB / 441.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008434/0.2991, allocations: 48.08 kB / 442 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.2993, allocations: 88.53 kB / 442 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004273/0.3036, allocations: 1.351 MB / 443.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003571/0.3072, allocations: 1.719 MB / 445.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008463/0.3081, allocations: 460.9 kB / 445.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005776/0.3087, allocations: 443.1 kB / 446 MB, free: 11.05 MB / 366.1 MB Notification: Performance of Backend: time 4.61e-07/0.3087, allocations: 0 / 446 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002329/0.311, allocations: 1.083 MB / 447.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of SimCode: time 0.003505/0.3145, allocations: 2.54 MB / 449.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of Templates: time 0.02429/0.3388, allocations: 14.19 MB / 463.8 MB, free: 9.254 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)