Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8091/0.8091, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001629/0.001629, allocations: 167.3 kB / 144 MB, free: 4.789 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.978e-05/1.981e-05, allocations: 3.938 kB / 173.9 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06289/0.06293, allocations: 25.17 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06171/0.1247, allocations: 44.79 MB / 243.8 MB, free: 0.832 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.125, allocations: 67.97 kB / 243.9 MB, free: 0.7656 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1913/0.3163, allocations: 42.54 MB / 286.4 MB, free: 11.69 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3163, allocations: 4.219 kB / 286.4 MB, free: 11.69 MB / 186.7 MB Notification: Performance of Transformations before backend: time 0.0001797/0.3165, allocations: 51.94 kB / 286.5 MB, free: 11.64 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 510 * Number of variables: 510 Notification: Performance of Generate backend data structure: time 0.005668/0.3222, allocations: 2.248 MB / 288.7 MB, free: 9.336 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3222, allocations: 12.03 kB / 288.7 MB, free: 9.324 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008655/0.3231, allocations: 285.2 kB / 289 MB, free: 9.043 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.3255, allocations: 1.235 MB / 290.3 MB, free: 7.758 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.823e-05/0.3256, allocations: 72 kB / 290.3 MB, free: 7.688 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005109/0.3261, allocations: 119.9 kB / 290.4 MB, free: 7.57 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003312/0.3294, allocations: 1.711 MB / 292.2 MB, free: 5.859 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003307/0.3328, allocations: 1.793 MB / 293.9 MB, free: 4.051 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.238e-05/0.3328, allocations: 8 kB / 294 MB, free: 4.043 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.333, allocations: 4 kB / 294 MB, free: 4.039 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.333, allocations: 48 kB / 294 MB, free: 3.992 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.3454, allocations: 7.056 MB / 301.1 MB, free: 12.75 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.3484, allocations: 2.159 MB / 303.2 MB, free: 10.54 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/0.3505, allocations: 1.301 MB / 304.5 MB, free: 9.25 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002186/0.3508, allocations: 123.1 kB / 304.6 MB, free: 9.113 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.3508, allocations: 60.56 kB / 304.7 MB, free: 9.043 MB / 202.7 MB Notification: Performance of pre-optimization done (n=220): time 4.568e-06/0.3508, allocations: 0 / 304.7 MB, free: 9.043 MB / 202.7 MB Notification: Performance of matching and sorting (n=345): time 0.04911/0.3999, allocations: 14.03 MB / 318.7 MB, free: 10.89 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.4, allocations: 86.11 kB / 318.8 MB, free: 10.8 MB / 218.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Magnetic/FluxTubes.mo:3057:9-3059:53:writable] Warning: Parameter advancedSolenoid.g_mFePole.r_i has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.4024, allocations: 1.272 MB / 320.1 MB, free: 9.523 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002765/0.4027, allocations: 25.7 kB / 320.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007179/0.4034, allocations: 0.9493 MB / 321.1 MB, free: 8.531 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001068/0.4045, allocations: 1.089 MB / 322.1 MB, free: 7.426 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.4048, allocations: 0 / 322.1 MB, free: 7.426 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.000248/0.405, allocations: 428.6 kB / 322.6 MB, free: 7 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002498/0.4075, allocations: 1.373 MB / 323.9 MB, free: 5.625 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/0.4102, allocations: 1.634 MB / 325.6 MB, free: 3.938 MB / 218.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.1471/0.5573, allocations: 4.427 MB / 330 MB, free: 42.9 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.5573, allocations: 0 / 330 MB, free: 42.9 MB / 218.7 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.008854/0.5661, allocations: 4.222 MB / 334.2 MB, free: 42.71 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.5662, allocations: 9.344 kB / 334.2 MB, free: 42.71 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.5663, allocations: 3.719 kB / 334.2 MB, free: 42.71 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002972/0.5692, allocations: 0.9497 MB / 335.2 MB, free: 42.64 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/0.5725, allocations: 0.6221 MB / 335.8 MB, free: 42.64 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007407/0.58, allocations: 9.79 MB / 345.6 MB, free: 35.44 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/0.5833, allocations: 111 kB / 345.7 MB, free: 35.44 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005229/0.5839, allocations: 148.4 kB / 345.8 MB, free: 35.44 MB / 218.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: advancedSolenoid.armature.mass.v = $START.advancedSolenoid.armature.mass.v. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: advancedSolenoid.g_mAirWork.Phi:DUMMY_STATE(unit = "Wb" ) "Magnetic flux from port_p to port_n" type: Real advancedSolenoid.g_mFeYokeSide2.Phi:DUMMY_STATE(unit = "Wb" ) "Magnetic flux from port_p to port_n" type: Real advancedSolenoid.coil1.Phi:DUMMY_STATE(unit = "Wb" ) "Magnetic flux coupled into magnetic circuit" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleSolenoid.g_mLeakWork.Phi:DUMMY_STATE(unit = "Wb" ) "Magnetic flux from port_p to port_n" type: Real simpleSolenoid.g_mAirPar.V_m:DUMMY_STATE(unit = "A" ) "Magnetic potential difference between both ports" type: Real simpleSolenoid.g_mFeYokeBot.Phi:DUMMY_STATE(unit = "Wb" ) "Magnetic flux from port_p to port_n" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 289 * Array equations: 2 * 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%) 3,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 7} * Non-linear torn systems: 2 {3 37,3 45} Notification: Performance of prepare postOptimizeDAE: time 0.0006809/0.5846, allocations: 162.7 kB / 346 MB, free: 35.34 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000469/0.5851, allocations: 248 kB / 346.2 MB, free: 35.3 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0075/0.5926, allocations: 4.397 MB / 350.6 MB, free: 35.04 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005594/0.5982, allocations: 3.86 MB / 354.5 MB, free: 34.06 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.5982, allocations: 6.469 kB / 354.5 MB, free: 34.06 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-05/0.5983, allocations: 20.7 kB / 354.5 MB, free: 34.06 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.6118, allocations: 9.414 MB / 363.9 MB, free: 29.77 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.6119, allocations: 3.875 kB / 364 MB, free: 29.77 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/0.6144, allocations: 0.5164 MB / 364.5 MB, free: 29.75 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002614/0.6171, allocations: 1.006 MB / 365.5 MB, free: 29.46 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002666/0.6173, allocations: 52.98 kB / 365.5 MB, free: 29.45 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006795/0.6241, allocations: 9.797 MB / 375.3 MB, free: 20.91 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06287/0.6871, allocations: 27.76 MB / 403.1 MB, free: 12.85 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/0.7005, allocations: 6.733 MB / 409.8 MB, free: 6.379 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001926/0.7024, allocations: 0.7187 MB / 410.5 MB, free: 5.75 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007041/0.7032, allocations: 11.19 kB / 410.5 MB, free: 5.742 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002561/0.7057, allocations: 110 kB / 410.7 MB, free: 5.668 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004987/0.7063, allocations: 237.1 kB / 410.9 MB, free: 5.531 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003453/0.7066, allocations: 129.7 kB / 411 MB, free: 5.43 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.002068/0.7087, allocations: 0.9561 MB / 412 MB, free: 4.559 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.7087, allocations: 0 / 412 MB, free: 4.559 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.003559/0.7123, allocations: 0.7175 MB / 412.7 MB, free: 3.855 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 5 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007099/0.713, allocations: 201.9 kB / 412.9 MB, free: 3.684 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.1266/0.8396, allocations: 3.974 MB / 416.9 MB, free: 53.59 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.8397, allocations: 0.5312 kB / 416.9 MB, free: 53.59 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004885/0.8446, allocations: 2.515 MB / 419.4 MB, free: 53.07 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.8465, allocations: 253.2 kB / 419.6 MB, free: 53.06 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.857, allocations: 5.475 MB / 425.1 MB, free: 51.52 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.8585, allocations: 1.742 MB / 426.8 MB, free: 50.76 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.002395/0.8609, allocations: 322.7 kB / 427.2 MB, free: 50.74 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007832/0.8617, allocations: 204.4 kB / 427.4 MB, free: 50.74 MB / 234.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8617, allocations: 0 / 427.4 MB, free: 50.74 MB / 234.7 MB Notification: Performance of Templates: time 0.06973/0.9314, allocations: 50.29 MB / 477.6 MB, free: 21.11 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)