Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001407/0.001407, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.229/1.229, allocations: 170.6 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001584/0.001584, allocations: 103.5 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.464e-05/1.465e-05, allocations: 0 / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07145/0.07148, allocations: 38.77 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.3036, allocations: 77.12 MB / 378.1 MB, free: 7.371 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.304, allocations: 84.64 kB / 378.2 MB, free: 7.328 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08714/0.3911, allocations: 35.44 MB / 413.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3911, allocations: 4 kB / 413.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.273e-05/0.3912, allocations: 24 kB / 413.6 MB, free: 9.984 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.001965/0.3931, allocations: 1.127 MB / 414.8 MB, free: 8.812 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3932, allocations: 12.03 kB / 414.8 MB, free: 8.801 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.3934, allocations: 114.6 kB / 414.9 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008469/0.3942, allocations: 0.6057 MB / 415.5 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.3943, allocations: 42 kB / 415.5 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.3945, allocations: 63.84 kB / 415.6 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001205/0.3957, allocations: 0.7264 MB / 416.3 MB, free: 7.207 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.397, allocations: 0.8018 MB / 417.1 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.397, allocations: 11.94 kB / 417.1 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-05/0.3971, allocations: 0 / 417.1 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.3971, allocations: 24 kB / 417.2 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004453/0.4016, allocations: 3.385 MB / 420.6 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009593/0.4026, allocations: 0.7576 MB / 421.3 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005866/0.4032, allocations: 426 kB / 421.7 MB, free: 1.625 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.4032, allocations: 13.19 kB / 421.7 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.4033, allocations: 51.08 kB / 421.8 MB, free: 1.551 MB / 298.7 MB Notification: Performance of pre-optimization done (n=95): time 2.064e-06/0.4033, allocations: 0 / 421.8 MB, free: 1.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=131): time 0.00598/0.4093, allocations: 3.668 MB / 425.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.4093, allocations: 94.33 kB / 425.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005215/0.4098, allocations: 466.1 kB / 426 MB, free: 13.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.4099, allocations: 25.7 kB / 426 MB, free: 13.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.4102, allocations: 420.4 kB / 426.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.4104, allocations: 429.5 kB / 426.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.4105, allocations: 0 / 426.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4106, allocations: 398.7 kB / 427.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/0.4112, allocations: 346.6 kB / 427.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006058/0.4118, allocations: 485.9 kB / 428.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005797/0.4124, allocations: 397.2 kB / 428.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4124, allocations: 4 kB / 428.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001668/0.4141, allocations: 1.105 MB / 429.6 MB, free: 9.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4141, allocations: 8 kB / 429.6 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4141, allocations: 320 / 429.6 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003578/0.4145, allocations: 146.5 kB / 429.7 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.4156, allocations: 291.6 kB / 430 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/0.419, allocations: 4.604 MB / 434.6 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/0.4197, allocations: 60 kB / 434.7 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/0.4198, allocations: 39.98 kB / 434.7 MB, free: 4.004 MB / 314.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 {(2,100.0%) 5,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.42, allocations: 125 kB / 434.8 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.4202, allocations: 98.86 kB / 434.9 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.4214, allocations: 0.7051 MB / 435.6 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.4214, allocations: 12 kB / 435.6 MB, free: 3.047 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4215, allocations: 8 kB / 435.6 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.4215, allocations: 7.969 kB / 435.6 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003596/0.4251, allocations: 2.744 MB / 438.4 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4251, allocations: 0 / 438.4 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.4261, allocations: 252 kB / 438.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/0.4265, allocations: 138.5 kB / 438.8 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/0.4265, allocations: 15.94 kB / 438.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.4294, allocations: 4.214 MB / 443 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.4294, allocations: 12.09 kB / 443 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.4318, allocations: 1.841 MB / 444.9 MB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.432, allocations: 176 kB / 445 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.4321, allocations: 4 kB / 445 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/0.4328, allocations: 55.95 kB / 445.1 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.4329, allocations: 96.55 kB / 445.2 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-05/0.433, allocations: 39.98 kB / 445.2 MB, free: 8.848 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004212/0.4334, allocations: 355 kB / 445.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4334, allocations: 0 / 445.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009494/0.4344, allocations: 224 kB / 445.8 MB, free: 8.281 MB / 330.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.0002213/0.4346, allocations: 123.8 kB / 445.9 MB, free: 8.148 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.4364, allocations: 1.285 MB / 447.2 MB, free: 6.836 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4364, allocations: 0 / 447.2 MB, free: 6.836 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009866/0.4374, allocations: 0.8721 MB / 448.1 MB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007604/0.4381, allocations: 138.1 kB / 448.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.4409, allocations: 1.734 MB / 449.9 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.4415, allocations: 1.056 MB / 451 MB, free: 2.926 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005647/0.4421, allocations: 119.6 kB / 451.1 MB, free: 2.805 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.4423, allocations: 83.41 kB / 451.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4423, allocations: 0 / 451.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of Templates: time 0.01772/0.46, allocations: 10.6 MB / 461.8 MB, free: 8.109 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)