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.001206/0.001207, allocations: 117.2 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.001491/0.001491, allocations: 206.7 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.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.229, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007213/0.2363, allocations: 6.432 MB / 416.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003258/0.2395, allocations: 1.901 MB / 418.3 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007037/0.2403, allocations: 19.94 kB / 418.3 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006175/0.2409, allocations: 218 kB / 418.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009707/0.2419, allocations: 432.7 kB / 418.9 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006573/0.2426, allocations: 379.5 kB / 419.3 MB, free: 8.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.2438, allocations: 1.51 MB / 420.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005927/0.2444, allocations: 0.5014 MB / 421.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00056/0.2449, allocations: 0.5606 MB / 421.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006173/0.2456, allocations: 0.6029 MB / 422.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.2457, allocations: 163.9 kB / 422.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.246, allocations: 168 kB / 422.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.2462, allocations: 303.1 kB / 423.1 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005287/0.2467, allocations: 0.665 MB / 423.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.2482, allocations: 1.886 MB / 425.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2482, allocations: 0 / 425.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.2482, allocations: 0 / 425.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.2483, allocations: 4 kB / 425.6 MB, free: 1.793 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.002562/0.2508, allocations: 1.445 MB / 427.1 MB, free: 304 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2509, allocations: 8.031 kB / 427.1 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00051/0.2514, allocations: 147.5 kB / 427.2 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.2525, allocations: 0.6918 MB / 427.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/0.2525, allocations: 78 kB / 428 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.2527, allocations: 100 kB / 428.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.2543, allocations: 0.974 MB / 429.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.2544, allocations: 3.906 kB / 429.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-05/0.2545, allocations: 44 kB / 429.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.2545, allocations: 24 kB / 429.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.256, allocations: 0.7977 MB / 429.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004577/0.2606, allocations: 3.313 MB / 433.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.2618, allocations: 0.8002 MB / 434.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007117/0.2625, allocations: 453.4 kB / 434.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.425e-05/0.2626, allocations: 24.45 kB / 434.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.2626, allocations: 43.75 kB / 434.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 2.294e-06/0.2627, allocations: 0 / 434.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=119): time 0.00832/0.271, allocations: 4.173 MB / 438.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.271, allocations: 93.7 kB / 438.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007535/0.2718, allocations: 0.6369 MB / 439.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.2719, allocations: 45.7 kB / 439.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.2721, allocations: 432.1 kB / 439.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.2724, allocations: 410 kB / 440.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/0.2727, allocations: 183 kB / 440.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2729, allocations: 406.7 kB / 440.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006677/0.2735, allocations: 342.5 kB / 441.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007634/0.2743, allocations: 492.6 kB / 441.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.2757, allocations: 0.851 MB / 442.6 MB, free: 264 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.2757, allocations: 0 / 442.6 MB, free: 264 kB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002025/0.2778, allocations: 1.149 MB / 443.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2778, allocations: 8.312 kB / 443.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.2778, allocations: 8 kB / 443.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003678/0.2782, allocations: 134.4 kB / 443.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009918/0.2792, allocations: 235.7 kB / 444.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/0.2829, allocations: 4.973 MB / 449.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/0.2834, allocations: 35.98 kB / 449.1 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/0.2835, allocations: 39.98 kB / 449.2 MB, free: 9.23 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.0004246/0.2839, allocations: 285.7 kB / 449.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.2841, allocations: 90.94 kB / 449.5 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.2855, allocations: 0.7491 MB / 450.3 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.2855, allocations: 15.98 kB / 450.3 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2855, allocations: 0 / 450.3 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.2859, allocations: 251.9 kB / 450.5 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.286, allocations: 23.94 kB / 450.6 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.2865, allocations: 35.98 kB / 450.6 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.2867, allocations: 84.52 kB / 450.7 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00266/0.2894, allocations: 1.284 MB / 452 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002407/0.2918, allocations: 1.636 MB / 453.6 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006826/0.2925, allocations: 429.5 kB / 454 MB, free: 4.289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000554/0.2931, allocations: 459.1 kB / 454.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of Backend: time 4.41e-07/0.2931, allocations: 0 / 454.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.2951, allocations: 1.076 MB / 455.5 MB, free: 2.727 MB / 366.1 MB Notification: Performance of SimCode: time 0.003475/0.2986, allocations: 2.597 MB / 458.1 MB, free: 80 kB / 366.1 MB Notification: Performance of Templates: time 0.02449/0.3231, allocations: 14.65 MB / 472.8 MB, free: 1.531 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)