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.0008695/0.0008695, allocations: 166.8 kB / 7.636 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.191/1.191, allocations: 170.6 MB / 178.7 MB, free: 15.58 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.001565/0.001565, allocations: 107.4 kB / 218 MB, free: 8.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.263e-05/1.265e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08273/0.08276, allocations: 38.78 MB / 301 MB, free: 3.617 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.27/0.3528, allocations: 82.22 MB / 383.2 MB, free: 2.254 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.3531, allocations: 87 kB / 383.3 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1158/0.4689, allocations: 43.71 MB / 427 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.469, allocations: 4 kB / 427 MB, free: 12.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002564/0.4692, allocations: 47.98 kB / 427.1 MB, free: 12.48 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.006949/0.4762, allocations: 2.304 MB / 429.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.4763, allocations: 16.02 kB / 429.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.4776, allocations: 288.5 kB / 429.7 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003518/0.4811, allocations: 1.255 MB / 430.9 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.4813, allocations: 68 kB / 431 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006839/0.482, allocations: 119.9 kB / 431.1 MB, free: 8.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004401/0.4864, allocations: 1.605 MB / 432.7 MB, free: 6.707 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003516/0.4899, allocations: 1.447 MB / 434.2 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.21e-05/0.49, allocations: 11.89 kB / 434.2 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/0.4902, allocations: 7.953 kB / 434.2 MB, free: 5.191 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/0.4902, allocations: 48 kB / 434.2 MB, free: 5.145 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.5037, allocations: 7.12 MB / 441.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.5067, allocations: 2.047 MB / 443.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/0.5087, allocations: 1.176 MB / 444.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.5089, allocations: 127 kB / 444.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/0.509, allocations: 56.56 kB / 444.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=226): time 4.739e-06/0.509, allocations: 0 / 444.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=347): time 0.04581/0.5548, allocations: 13 MB / 457.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.5549, allocations: 86.12 kB / 457.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/0.5577, allocations: 1.489 MB / 459.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005666/0.5583, allocations: 25.7 kB / 459.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007323/0.5591, allocations: 0.9572 MB / 460.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001226/0.5603, allocations: 1.097 MB / 461.4 MB, free: 9.469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.5605, allocations: 4 kB / 461.4 MB, free: 9.465 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.5607, allocations: 424.7 kB / 461.8 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.5629, allocations: 1.248 MB / 463.1 MB, free: 7.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/0.5653, allocations: 1.508 MB / 464.6 MB, free: 6.238 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/0.5681, allocations: 1.509 MB / 466.1 MB, free: 4.719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.5682, allocations: 0 / 466.1 MB, free: 4.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.00749/0.5756, allocations: 3.961 MB / 470 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.5757, allocations: 33.7 kB / 470.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.5758, allocations: 8 kB / 470.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2028/0.7786, allocations: 0.9365 MB / 471 MB, free: 91.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003913/0.7826, allocations: 0.5957 MB / 471.6 MB, free: 91.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008487/0.7911, allocations: 9.784 MB / 481.4 MB, free: 83.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/0.7946, allocations: 100.5 kB / 481.5 MB, free: 83.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004311/0.7951, allocations: 135.4 kB / 481.6 MB, free: 83.97 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleSolenoid.g_mAirPar.V_m:DUMMY_STATE(unit = "A" ) "Magnetic potential difference between both ports" type: Real 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,3 37} Notification: Performance of prepare postOptimizeDAE: time 0.0006451/0.7957, allocations: 146.5 kB / 481.8 MB, free: 83.87 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004776/0.7962, allocations: 255.5 kB / 482 MB, free: 83.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008273/0.8045, allocations: 3.948 MB / 486 MB, free: 83.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00576/0.8103, allocations: 3.45 MB / 489.4 MB, free: 83.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.8103, allocations: 4.781 kB / 489.4 MB, free: 83.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/0.8104, allocations: 17.06 kB / 489.4 MB, free: 83.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.8236, allocations: 9.016 MB / 498.5 MB, free: 81.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.8237, allocations: 6 kB / 498.5 MB, free: 81.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00261/0.8263, allocations: 0.5193 MB / 499 MB, free: 81.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002717/0.829, allocations: 1.016 MB / 500 MB, free: 81.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/0.8293, allocations: 47.03 kB / 0.4883 GB, free: 81.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007027/0.8363, allocations: 9.809 MB / 0.4979 GB, free: 72.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06208/0.8984, allocations: 27.73 MB / 0.525 GB, free: 57.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009263/0.9077, allocations: 6.1 MB / 0.5309 GB, free: 51.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/0.9094, allocations: 0.7196 MB / 0.5316 GB, free: 50.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004372/0.9099, allocations: 11.12 kB / 0.5316 GB, free: 50.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/0.912, allocations: 103.4 kB / 0.5317 GB, free: 50.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003694/0.9124, allocations: 229.6 kB / 0.532 GB, free: 50.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/0.9126, allocations: 124.7 kB / 0.5321 GB, free: 50.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001499/0.9141, allocations: 1.128 MB / 0.5332 GB, free: 49.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9141, allocations: 0 / 0.5332 GB, free: 49.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002823/0.9169, allocations: 0.7374 MB / 0.5339 GB, free: 48.9 MB / 346.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.0007234/0.9177, allocations: 241.3 kB / 0.5341 GB, free: 48.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005693/0.9234, allocations: 3.897 MB / 0.5379 GB, free: 44.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.9234, allocations: 4.062 kB / 0.5379 GB, free: 44.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003449/0.9269, allocations: 2.443 MB / 0.5403 GB, free: 42.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.9289, allocations: 239.6 kB / 0.5406 GB, free: 42.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008872/0.9378, allocations: 5.667 MB / 0.5461 GB, free: 37.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.9389, allocations: 1.756 MB / 0.5478 GB, free: 35.76 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002175/0.9411, allocations: 341.9 kB / 0.5481 GB, free: 35.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008035/0.9419, allocations: 211.7 kB / 0.5483 GB, free: 35.36 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.9419, allocations: 0 / 0.5483 GB, free: 35.36 MB / 346.7 MB Notification: Performance of Templates: time 0.2665/1.208, allocations: 50.69 MB / 0.5978 GB, free: 83.07 MB / 346.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)