Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2237, allocations: 50.54 MB / 409.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.0071/0.2308, allocations: 6.432 MB / 416.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003205/0.234, allocations: 1.897 MB / 418.3 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007618/0.2348, allocations: 19.94 kB / 418.3 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006576/0.2355, allocations: 222 kB / 418.5 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009917/0.2365, allocations: 404.8 kB / 418.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007247/0.2372, allocations: 375.5 kB / 419.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.2388, allocations: 1.507 MB / 420.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006512/0.2394, allocations: 0.5169 MB / 421.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007073/0.2401, allocations: 0.5606 MB / 421.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007209/0.2409, allocations: 0.6068 MB / 422.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.2411, allocations: 159.9 kB / 422.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.2414, allocations: 168 kB / 422.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002536/0.2416, allocations: 303.1 kB / 423.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006361/0.2423, allocations: 0.6689 MB / 423.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.244, allocations: 1.886 MB / 425.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.244, allocations: 0 / 425.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.244, allocations: 0 / 425.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.301e-05/0.244, allocations: 3.938 kB / 425.6 MB, free: 1.77 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002752/0.2468, allocations: 1.437 MB / 427.1 MB, free: 288 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2468, allocations: 8.031 kB / 427.1 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005192/0.2474, allocations: 151.5 kB / 427.2 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.2485, allocations: 0.6918 MB / 427.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/0.2486, allocations: 74 kB / 428 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.2487, allocations: 100 kB / 428.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.2505, allocations: 0.9701 MB / 429 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.2506, allocations: 11.89 kB / 429.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/0.2507, allocations: 40 kB / 429.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.2507, allocations: 24 kB / 429.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.2522, allocations: 0.7976 MB / 429.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004634/0.2568, allocations: 3.309 MB / 433.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.258, allocations: 0.8058 MB / 434 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/0.2588, allocations: 445.5 kB / 434.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.355e-05/0.2588, allocations: 16.5 kB / 434.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2589, allocations: 43.75 kB / 434.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 2.525e-06/0.2589, allocations: 4 kB / 434.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=119): time 0.008346/0.2672, allocations: 4.18 MB / 438.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.2673, allocations: 89.77 kB / 438.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000765/0.2681, allocations: 0.6369 MB / 439.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/0.2681, allocations: 45.7 kB / 439.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.2684, allocations: 436.1 kB / 439.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.2687, allocations: 414 kB / 440.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.269, allocations: 183 kB / 440.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2691, allocations: 402.7 kB / 440.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000655/0.2698, allocations: 350.4 kB / 441.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007442/0.2705, allocations: 492.7 kB / 441.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.2719, allocations: 0.8588 MB / 442.6 MB, free: 236 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2719, allocations: 0 / 442.6 MB, free: 236 kB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001962/0.2739, allocations: 1.146 MB / 443.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2739, allocations: 4 kB / 443.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2739, allocations: 4 kB / 443.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003834/0.2743, allocations: 134.4 kB / 443.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000997/0.2753, allocations: 235.7 kB / 444.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/0.2789, allocations: 4.98 MB / 449.1 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005938/0.2795, allocations: 31.98 kB / 449.1 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-05/0.2796, allocations: 43.98 kB / 449.1 MB, free: 9.207 MB / 366.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 (132): * Single equations (assignments): 129 * 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.0003639/0.2799, allocations: 285 kB / 449.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.2801, allocations: 98.88 kB / 449.5 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.2815, allocations: 0.7453 MB / 450.3 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.2815, allocations: 7.969 kB / 450.3 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2815, allocations: 0 / 450.3 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.2818, allocations: 247.9 kB / 450.5 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.282, allocations: 31.92 kB / 450.5 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/0.2825, allocations: 35.98 kB / 450.6 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.2827, allocations: 84.53 kB / 450.7 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002549/0.2853, allocations: 1.288 MB / 451.9 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002319/0.2876, allocations: 1.633 MB / 453.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006487/0.2882, allocations: 429.5 kB / 454 MB, free: 4.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005321/0.2888, allocations: 463.1 kB / 454.4 MB, free: 3.824 MB / 366.1 MB Notification: Performance of Backend: time 6.61e-07/0.2888, allocations: 0 / 454.4 MB, free: 3.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.2908, allocations: 1.069 MB / 455.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of SimCode: time 0.003266/0.294, allocations: 2.592 MB / 458.1 MB, free: 68 kB / 366.1 MB Notification: Performance of Templates: time 0.0237/0.3178, allocations: 14.66 MB / 472.8 MB, free: 1.508 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)