Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="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_3.2.3_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_3.2.3_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.001532/0.001532, allocations: 105.7 kB / 18.4 MB, free: 4.66 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.001569/0.001569, allocations: 187 kB / 19.34 MB, free: 3.734 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.4/1.4, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.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.001127/0.001127, allocations: 47.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07404/0.07517, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.158/0.2332, allocations: 6.221 MB / 382 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.2356, allocations: 1.88 MB / 383.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.236, allocations: 23 kB / 383.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.2365, allocations: 215.8 kB / 384.1 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006629/0.2371, allocations: 394.9 kB / 384.5 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.2377, allocations: 374.1 kB / 384.9 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.2391, allocations: 1.489 MB / 386.4 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000602/0.2397, allocations: 0.5125 MB / 386.9 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.2403, allocations: 0.5428 MB / 387.4 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.2408, allocations: 0.6005 MB / 388 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.241, allocations: 157.7 kB / 388.2 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.2412, allocations: 159.6 kB / 388.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.2414, allocations: 300.9 kB / 388.6 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004665/0.2419, allocations: 0.6506 MB / 389.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.2435, allocations: 1.848 MB / 391.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2435, allocations: 1.031 kB / 391.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2435, allocations: 0 / 391.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.2435, allocations: 0 / 391.1 MB, free: 6.016 MB / 318.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.002563/0.2461, allocations: 1.445 MB / 392.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2461, allocations: 7.812 kB / 392.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.2463, allocations: 124.3 kB / 392.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009898/0.2473, allocations: 0.6747 MB / 393.4 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.2474, allocations: 73.5 kB / 393.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.2475, allocations: 101 kB / 393.6 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.2493, allocations: 1.01 MB / 394.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.2493, allocations: 9.969 kB / 394.6 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/0.2494, allocations: 37.53 kB / 394.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.2494, allocations: 22.97 kB / 394.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.2513, allocations: 0.8699 MB / 395.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005314/0.2566, allocations: 3.298 MB / 398.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.2579, allocations: 0.8078 MB / 399.6 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008749/0.2588, allocations: 478.5 kB / 400.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.88e-05/0.2589, allocations: 20.77 kB / 400.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.2589, allocations: 47.73 kB / 400.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=91): time 2.615e-06/0.2589, allocations: 3.938 kB / 400.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=115): time 0.008926/0.2678, allocations: 4.295 MB / 404.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.2679, allocations: 92.61 kB / 404.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007596/0.2687, allocations: 0.6032 MB / 405.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.484e-05/0.2687, allocations: 42.33 kB / 405.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.269, allocations: 436.4 kB / 405.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.2693, allocations: 388.8 kB / 406 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003001/0.2696, allocations: 188.5 kB / 406.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2698, allocations: 393.1 kB / 406.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008511/0.2706, allocations: 381.5 kB / 406.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009356/0.2716, allocations: 0.5049 MB / 407.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.2733, allocations: 0.89 MB / 408.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2733, allocations: 1.531 kB / 408.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002367/0.2757, allocations: 1.187 MB / 409.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2757, allocations: 6.875 kB / 409.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2757, allocations: 2.812 kB / 409.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/0.2761, allocations: 134.8 kB / 409.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.2772, allocations: 245 kB / 409.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/0.2808, allocations: 4.972 MB / 414.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006588/0.2815, allocations: 54.62 kB / 414.9 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/0.2815, allocations: 38.77 kB / 415 MB, free: 5.98 MB / 334.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.0004081/0.282, allocations: 283.3 kB / 415.2 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.2821, allocations: 99.2 kB / 415.3 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.2837, allocations: 0.7727 MB / 416.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.2837, allocations: 3.984 kB / 416.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2837, allocations: 0 / 416.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.2839, allocations: 163.3 kB / 416.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.284, allocations: 22.03 kB / 416.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/0.2846, allocations: 46.08 kB / 416.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.2848, allocations: 85.84 kB / 416.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002967/0.2877, allocations: 1.35 MB / 417.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002829/0.2906, allocations: 1.719 MB / 419.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008327/0.2914, allocations: 456.9 kB / 419.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005329/0.292, allocations: 439.1 kB / 420.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of Backend: time 3.7e-07/0.292, allocations: 0 / 420.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002188/0.2942, allocations: 1.081 MB / 421.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of SimCode: time 0.003384/0.2976, allocations: 2.54 MB / 424 MB, free: 14.32 MB / 350.1 MB Notification: Performance of Templates: time 0.02312/0.3207, allocations: 14.54 MB / 438.5 MB, free: 15.75 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)