Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009738/0.0009738, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.121/1.121, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001604/0.001604, allocations: 95.53 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.562e-05/2.566e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07137/0.07141, allocations: 38.78 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2875/0.359, allocations: 82.89 MB / 390.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.3593, allocations: 83.95 kB / 390.6 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1131/0.4724, allocations: 44.16 MB / 434.8 MB, free: 3.047 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4724, allocations: 0 / 434.8 MB, free: 3.047 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001096/0.4726, allocations: 48.22 kB / 434.8 MB, free: 3 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 513 * Number of variables: 513 Notification: Performance of Generate backend data structure: time 0.005009/0.4776, allocations: 2.312 MB / 437.1 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4776, allocations: 8.031 kB / 437.1 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000573/0.4782, allocations: 292.5 kB / 437.4 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.4804, allocations: 1.262 MB / 438.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.4806, allocations: 152 kB / 438.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/0.4809, allocations: 207.9 kB / 439 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/0.4841, allocations: 1.724 MB / 440.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/0.4842, allocations: 3.984 kB / 440.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.4844, allocations: 80 kB / 440.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/0.4844, allocations: 51.98 kB / 440.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003024/0.4875, allocations: 1.715 MB / 442.6 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.4994, allocations: 7.445 MB / 450.1 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.5024, allocations: 2.142 MB / 452.2 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/0.5046, allocations: 1.257 MB / 453.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/0.5048, allocations: 115.1 kB / 453.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.5049, allocations: 68.48 kB / 453.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=226): time 6.372e-06/0.5049, allocations: 0 / 453.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=347): time 0.05725/0.5622, allocations: 15.06 MB / 468.7 MB, free: 464 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3036/0.8658, allocations: 33.2 MB / 0.4901 GB, free: 77.19 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003664/0.8695, allocations: 1.616 MB / 0.4917 GB, free: 76.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008511/0.8704, allocations: 86.72 kB / 0.4918 GB, free: 76.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007756/0.8712, allocations: 0.9572 MB / 0.4927 GB, free: 75.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001611/0.8728, allocations: 1.146 MB / 0.4938 GB, free: 75.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006237/0.8734, allocations: 64.44 kB / 0.4939 GB, free: 75.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.8737, allocations: 422.7 kB / 0.4943 GB, free: 74.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/0.8761, allocations: 1.311 MB / 0.4956 GB, free: 74.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/0.8786, allocations: 1.59 MB / 0.4971 GB, free: 73.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.881, allocations: 1.509 MB / 0.4986 GB, free: 72.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.8811, allocations: 3.188 kB / 0.4986 GB, free: 72.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.00709/0.8882, allocations: 4.159 MB / 0.5027 GB, free: 70.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/0.8882, allocations: 35.67 kB / 0.5027 GB, free: 70.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.8883, allocations: 5.406 kB / 0.5027 GB, free: 70.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009405/0.8977, allocations: 1.522 MB / 0.5042 GB, free: 70.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003433/0.9011, allocations: 0.6003 MB / 0.5048 GB, free: 70.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00807/0.9092, allocations: 9.863 MB / 0.5144 GB, free: 61.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003547/0.9128, allocations: 162.3 kB / 0.5146 GB, free: 61.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006756/0.9135, allocations: 141 kB / 0.5147 GB, free: 61.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (301): * Single equations (assignments): 291 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 45,2 38} Notification: Performance of prepare postOptimizeDAE: time 0.0009348/0.9145, allocations: 270.6 kB / 0.515 GB, free: 61.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008081/0.9153, allocations: 254 kB / 0.5152 GB, free: 61.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008495/0.9238, allocations: 4.178 MB / 0.5193 GB, free: 58.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006297/0.9301, allocations: 3.584 MB / 0.5228 GB, free: 55.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.069e-05/0.9302, allocations: 4 kB / 0.5228 GB, free: 55.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/0.9302, allocations: 18.98 kB / 0.5228 GB, free: 55.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.9465, allocations: 9.499 MB / 0.5321 GB, free: 47.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.9465, allocations: 4 kB / 0.5321 GB, free: 47.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/0.9493, allocations: 0.5173 MB / 0.5326 GB, free: 47.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009832/0.9592, allocations: 1.563 MB / 0.5341 GB, free: 46.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006756/0.9599, allocations: 103.6 kB / 0.5342 GB, free: 45.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007495/0.9674, allocations: 9.883 MB / 0.5439 GB, free: 35.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07477/1.042, allocations: 28.82 MB / 0.572 GB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/1.054, allocations: 6.301 MB / 0.5782 GB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/1.056, allocations: 0.728 MB / 0.5789 GB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000846/1.057, allocations: 64.09 kB / 0.5789 GB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002758/1.06, allocations: 155.8 kB / 0.5791 GB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005166/1.061, allocations: 238.1 kB / 0.5793 GB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003041/1.061, allocations: 115.9 kB / 0.5794 GB, free: 1.613 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002306/1.063, allocations: 1.25 MB / 0.5806 GB, free: 380 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.063, allocations: 0 / 0.5806 GB, free: 380 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.003887/1.067, allocations: 0.8683 MB / 0.5815 GB, free: 15.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 235 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 38,4 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009598/1.068, allocations: 303.2 kB / 0.5818 GB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008186/1.076, allocations: 4.093 MB / 0.5858 GB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.076, allocations: 0 / 0.5858 GB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00518/1.082, allocations: 2.572 MB / 0.5883 GB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/1.084, allocations: 306.2 kB / 0.5886 GB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/1.098, allocations: 5.915 MB / 0.5944 GB, free: 2.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/1.1, allocations: 1.748 MB / 0.5961 GB, free: 384 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003284/1.104, allocations: 348 kB / 0.5964 GB, free: 64 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1989/1.303, allocations: 213 kB / 0.5966 GB, free: 91.96 MB / 362.7 MB Notification: Performance of SimCode: time 2.294e-06/1.303, allocations: 0 / 0.5966 GB, free: 91.96 MB / 362.7 MB Notification: Performance of Templates: time 0.08961/1.392, allocations: 54.72 MB / 0.65 GB, free: 74.6 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)