Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00112/0.00112, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.322/1.322, allocations: 194.3 MB / 208.4 MB, free: 6.75 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001444/0.001444, allocations: 112.7 kB / 253.5 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.524e-05, allocations: 4 kB / 304.9 MB, free: 29.81 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07909/0.07914, allocations: 44.51 MB / 349.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/0.3722, allocations: 82.52 MB / 432 MB, free: 9.094 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.3724, allocations: 81.61 kB / 432 MB, free: 9.082 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Magnetic/FluxTubes.mo:1375:11-1375:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.08933/0.4617, allocations: 35.7 MB / 467.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.579e-06/0.4618, allocations: 0 / 467.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.229e-05/0.4618, allocations: 23.94 kB / 467.8 MB, free: 15.18 MB / 330.7 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.002249/0.4641, allocations: 1.138 MB / 468.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4641, allocations: 8.031 kB / 468.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.4644, allocations: 118.6 kB / 469 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009183/0.4653, allocations: 0.6043 MB / 469.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.4654, allocations: 87.45 kB / 469.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.4656, allocations: 94.59 kB / 469.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.4671, allocations: 0.9444 MB / 470.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.4672, allocations: 0 / 470.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/0.4673, allocations: 39.62 kB / 470.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.4673, allocations: 28 kB / 470.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.4686, allocations: 0.7796 MB / 471.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/0.4739, allocations: 3.572 MB / 475.2 MB, free: 8.758 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.4751, allocations: 0.7976 MB / 476 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007413/0.4758, allocations: 457.8 kB / 476.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.429e-05/0.4759, allocations: 20.28 kB / 476.4 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.476, allocations: 47.12 kB / 476.5 MB, free: 7.406 MB / 330.7 MB Notification: Performance of pre-optimization done (n=95): time 3.126e-06/0.476, allocations: 4 kB / 476.5 MB, free: 7.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=131): time 0.009308/0.4853, allocations: 4.264 MB / 480.8 MB, free: 2.957 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.4854, allocations: 90.33 kB / 480.8 MB, free: 2.852 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.4861, allocations: 0.5399 MB / 481.4 MB, free: 2.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.16e-05/0.4862, allocations: 45.7 kB / 481.4 MB, free: 2.254 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.4865, allocations: 420.4 kB / 481.8 MB, free: 1.836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.4868, allocations: 449.4 kB / 482.3 MB, free: 1.391 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/0.4869, allocations: 24 kB / 482.3 MB, free: 1.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4871, allocations: 398.7 kB / 482.7 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006599/0.4878, allocations: 370.6 kB / 483.1 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007284/0.4885, allocations: 0.5006 MB / 483.6 MB, free: 76 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008002/0.4893, allocations: 431.6 kB / 484 MB, free: 15.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4893, allocations: 0 / 484 MB, free: 15.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002065/0.4914, allocations: 1.211 MB / 485.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.4915, allocations: 8 kB / 485.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4915, allocations: 4 kB / 485.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004298/0.4919, allocations: 150.5 kB / 485.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.4931, allocations: 287.6 kB / 485.6 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.4972, allocations: 4.77 MB / 490.4 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.4982, allocations: 75.95 kB / 490.5 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.4983, allocations: 43.98 kB / 490.5 MB, free: 8.684 MB / 346.7 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 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002424/0.4986, allocations: 176.8 kB / 490.7 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.4988, allocations: 98.83 kB / 490.8 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.5003, allocations: 0.7911 MB / 491.6 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.5003, allocations: 12 kB / 491.6 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.5003, allocations: 4 kB / 491.6 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.5003, allocations: 7.969 kB / 491.6 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00437/0.5047, allocations: 2.973 MB / 494.6 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.5047, allocations: 8.297 kB / 494.6 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.5058, allocations: 251.7 kB / 494.8 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003828/0.5062, allocations: 138.5 kB / 495 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.61e-05/0.5063, allocations: 31.98 kB / 495 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/0.5096, allocations: 4.377 MB / 499.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.5096, allocations: 4.031 kB / 499.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.5127, allocations: 1.956 MB / 0.4896 GB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/0.5131, allocations: 168 kB / 0.4897 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.5133, allocations: 31.98 kB / 0.4898 GB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007145/0.514, allocations: 79.95 kB / 0.4898 GB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/0.5142, allocations: 92.55 kB / 0.4899 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.5143, allocations: 39.92 kB / 0.49 GB, free: 12.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006426/0.5149, allocations: 439.2 kB / 0.4904 GB, free: 12.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5149, allocations: 0 / 0.4904 GB, free: 12.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001187/0.5161, allocations: 272 kB / 0.4906 GB, free: 12.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.g_ma.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003008/0.5164, allocations: 159 kB / 0.4908 GB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002258/0.5187, allocations: 1.358 MB / 0.4921 GB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5187, allocations: 0 / 0.4921 GB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.52, allocations: 0.9143 MB / 0.493 GB, free: 9.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008911/0.5209, allocations: 155.9 kB / 0.4932 GB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.5242, allocations: 1.793 MB / 0.4949 GB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.5249, allocations: 1.06 MB / 0.496 GB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007156/0.5256, allocations: 119.9 kB / 0.4961 GB, free: 6.352 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.5259, allocations: 87.34 kB / 0.4961 GB, free: 6.266 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5259, allocations: 4 kB / 0.4962 GB, free: 6.262 MB / 362.7 MB Notification: Performance of Templates: time 0.02104/0.547, allocations: 11.76 MB / 0.5076 GB, free: 10.49 MB / 378.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)