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.001154/0.001154, allocations: 110.6 kB / 18.4 MB, free: 4.656 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.001199/0.001199, allocations: 190 kB / 19.34 MB, free: 3.73 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.282/1.282, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001155/0.001155, allocations: 59.91 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07449/0.07565, allocations: 46.61 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.1594/0.235, allocations: 6.226 MB / 382 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.2374, allocations: 1.878 MB / 383.9 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.2378, allocations: 19.06 kB / 383.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004781/0.2383, allocations: 221.2 kB / 384.2 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000687/0.239, allocations: 407 kB / 384.6 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.2396, allocations: 380 kB / 384.9 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.2408, allocations: 1.492 MB / 386.4 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005604/0.2414, allocations: 0.5034 MB / 386.9 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004566/0.2418, allocations: 0.5463 MB / 387.5 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005729/0.2424, allocations: 0.5946 MB / 388.1 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.2426, allocations: 157.6 kB / 388.2 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.2428, allocations: 160.1 kB / 388.4 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.243, allocations: 299.5 kB / 388.7 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000479/0.2435, allocations: 0.6477 MB / 389.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.2451, allocations: 1.856 MB / 391.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2451, allocations: 1.469 kB / 391.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2451, allocations: 0 / 391.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.2451, allocations: 0 / 391.2 MB, free: 6.035 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.002664/0.2478, allocations: 1.482 MB / 392.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.2479, allocations: 7.688 kB / 392.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.2481, allocations: 125.6 kB / 392.8 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.2491, allocations: 0.6756 MB / 393.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.808e-05/0.2492, allocations: 73.84 kB / 393.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.2493, allocations: 100.6 kB / 393.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.2511, allocations: 1.01 MB / 394.6 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.2512, allocations: 2.219 kB / 394.6 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.987e-05/0.2512, allocations: 44.44 kB / 394.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.2513, allocations: 24.38 kB / 394.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.2531, allocations: 0.8628 MB / 395.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004497/0.2576, allocations: 3.318 MB / 398.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.259, allocations: 0.816 MB / 399.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008132/0.2598, allocations: 474.8 kB / 400.2 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-05/0.2599, allocations: 15.34 kB / 400.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.2599, allocations: 48.33 kB / 400.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=91): time 3.095e-06/0.2599, allocations: 0 / 400.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=115): time 0.009108/0.269, allocations: 4.336 MB / 404.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.2691, allocations: 100.4 kB / 404.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000846/0.27, allocations: 0.6008 MB / 405.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/0.2701, allocations: 44.92 kB / 405.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.2705, allocations: 438.4 kB / 405.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/0.2708, allocations: 410.3 kB / 406.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.2711, allocations: 180.4 kB / 406.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.2713, allocations: 400.9 kB / 406.7 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008352/0.2721, allocations: 378.3 kB / 407.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009381/0.2731, allocations: 0.5092 MB / 407.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.2748, allocations: 0.8816 MB / 408.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2748, allocations: 1.156 kB / 408.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002331/0.2772, allocations: 1.191 MB / 409.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2772, allocations: 6.25 kB / 409.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.2772, allocations: 3.812 kB / 409.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/0.2776, allocations: 133.3 kB / 409.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.2787, allocations: 247.4 kB / 410 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003752/0.2824, allocations: 4.974 MB / 415 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006793/0.2831, allocations: 53.17 kB / 415.1 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.222e-05/0.2832, allocations: 43.33 kB / 415.1 MB, free: 5.875 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.0003975/0.2836, allocations: 283.2 kB / 415.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.2838, allocations: 94.36 kB / 415.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.2853, allocations: 0.7731 MB / 416.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.2853, allocations: 9 kB / 416.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2853, allocations: 0 / 416.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.2855, allocations: 162.7 kB / 416.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.2856, allocations: 22.97 kB / 416.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005905/0.2862, allocations: 50.11 kB / 416.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.2864, allocations: 77.41 kB / 416.6 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00284/0.2892, allocations: 1.355 MB / 417.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002794/0.292, allocations: 1.731 MB / 419.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008063/0.2929, allocations: 457 kB / 420.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005248/0.2934, allocations: 435.1 kB / 420.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of Backend: time 6.11e-07/0.2934, allocations: 0 / 420.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.2955, allocations: 1.079 MB / 421.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of SimCode: time 0.003184/0.2987, allocations: 2.573 MB / 424.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of Templates: time 0.02264/0.3213, allocations: 14.21 MB / 438.4 MB, free: 15.93 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)