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.7497/0.7497, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002176/0.002176, allocations: 147.5 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.356e-05/2.354e-05, allocations: 8 kB / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04383/0.04387, allocations: 25.18 MB / 205.4 MB, free: 8.422 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.2205, allocations: 45.45 MB / 250.8 MB, free: 19.87 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.2207, allocations: 66.44 kB / 250.9 MB, free: 19.87 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1067/0.3275, allocations: 42.97 MB / 293.9 MB, free: 12.67 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3276, allocations: 3.938 kB / 293.9 MB, free: 12.67 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001639/0.3277, allocations: 55.98 kB / 293.9 MB, free: 12.61 MB / 202.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.008969/0.3367, allocations: 2.244 MB / 296.2 MB, free: 10.32 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.3368, allocations: 8.031 kB / 296.2 MB, free: 10.31 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.3381, allocations: 285.2 kB / 296.5 MB, free: 10.03 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003521/0.3416, allocations: 1.246 MB / 297.7 MB, free: 8.73 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.3418, allocations: 152 kB / 297.9 MB, free: 8.582 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005156/0.3424, allocations: 199.9 kB / 298.1 MB, free: 8.387 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006071/0.3484, allocations: 2.074 MB / 300.1 MB, free: 6.297 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-05/0.3486, allocations: 4 kB / 300.1 MB, free: 6.293 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002845/0.3489, allocations: 80 kB / 300.2 MB, free: 6.215 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.256e-05/0.349, allocations: 55.98 kB / 300.3 MB, free: 6.16 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005382/0.3543, allocations: 1.82 MB / 302.1 MB, free: 4.34 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01647/0.3708, allocations: 7.38 MB / 309.5 MB, free: 12.75 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003613/0.3745, allocations: 2.26 MB / 311.7 MB, free: 10.44 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00246/0.377, allocations: 1.358 MB / 313.1 MB, free: 9.09 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.3772, allocations: 123.1 kB / 313.2 MB, free: 8.953 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.3773, allocations: 64.45 kB / 313.3 MB, free: 8.879 MB / 218.7 MB Notification: Performance of pre-optimization done (n=220): time 4.419e-06/0.3773, allocations: 0 / 313.3 MB, free: 8.879 MB / 218.7 MB Notification: Performance of matching and sorting (n=345): time 0.07616/0.4535, allocations: 17.24 MB / 330.5 MB, free: 7.527 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2238/0.6773, allocations: 33.19 MB / 363.7 MB, free: 42.32 MB / 234.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.002047/0.6794, allocations: 1.388 MB / 365.1 MB, free: 41.78 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006314/0.68, allocations: 83.33 kB / 365.2 MB, free: 41.71 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000538/0.6806, allocations: 0.9552 MB / 366.1 MB, free: 41.04 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009359/0.6815, allocations: 1.133 MB / 367.3 MB, free: 40.3 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.6817, allocations: 68.47 kB / 367.3 MB, free: 40.25 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.6819, allocations: 422.4 kB / 367.7 MB, free: 39.89 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/0.6842, allocations: 1.436 MB / 369.2 MB, free: 39.28 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.6866, allocations: 1.721 MB / 370.9 MB, free: 38.46 MB / 234.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.02196/0.7086, allocations: 4.942 MB / 375.8 MB, free: 37.35 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.7086, allocations: 0 / 375.8 MB, free: 37.35 MB / 234.7 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.007846/0.7165, allocations: 4.416 MB / 380.3 MB, free: 35.55 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.7166, allocations: 7.75 kB / 380.3 MB, free: 35.55 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.7166, allocations: 3.781 kB / 380.3 MB, free: 35.55 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009354/0.7259, allocations: 1.526 MB / 381.8 MB, free: 35.27 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/0.7295, allocations: 0.6088 MB / 382.4 MB, free: 35.1 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/0.7364, allocations: 9.871 MB / 392.3 MB, free: 24.86 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003587/0.74, allocations: 168.9 kB / 392.4 MB, free: 24.73 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004915/0.7405, allocations: 147.3 kB / 392.6 MB, free: 24.62 MB / 234.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. 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.000602/0.7411, allocations: 269 kB / 392.8 MB, free: 24.38 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005033/0.7417, allocations: 252.9 kB / 393.1 MB, free: 24.13 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007527/0.7492, allocations: 4.627 MB / 397.7 MB, free: 20.06 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005843/0.7551, allocations: 3.992 MB / 401.7 MB, free: 16.4 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.7551, allocations: 8 kB / 401.7 MB, free: 16.39 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/0.7551, allocations: 14.16 kB / 401.7 MB, free: 16.39 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/0.7694, allocations: 9.902 MB / 411.6 MB, free: 8.172 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.7695, allocations: 4 kB / 411.6 MB, free: 8.168 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002627/0.7721, allocations: 0.5165 MB / 412.2 MB, free: 7.766 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009203/0.7813, allocations: 1.565 MB / 413.7 MB, free: 6.547 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006542/0.782, allocations: 102.2 kB / 413.8 MB, free: 6.473 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007671/0.7897, allocations: 9.89 MB / 423.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2232/1.013, allocations: 28.84 MB / 452.5 MB, free: 54.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.023, allocations: 6.936 MB / 459.5 MB, free: 53.29 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/1.025, allocations: 0.7258 MB / 460.2 MB, free: 53.07 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005646/1.026, allocations: 59.56 kB / 460.3 MB, free: 53.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002526/1.028, allocations: 171 kB / 460.4 MB, free: 53.04 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004682/1.029, allocations: 229.1 kB / 460.7 MB, free: 53 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002547/1.029, allocations: 129.9 kB / 460.8 MB, free: 52.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.00167/1.03, allocations: 1.077 MB / 461.9 MB, free: 52.55 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-07/1.03, allocations: 3.5 kB / 461.9 MB, free: 52.55 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.003542/1.034, allocations: 0.8509 MB / 462.7 MB, free: 52.45 MB / 250.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.0006801/1.035, allocations: 257.1 kB / 463 MB, free: 52.3 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.006464/1.041, allocations: 4.173 MB / 467.1 MB, free: 50.36 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.041, allocations: 2.406 kB / 467.1 MB, free: 50.36 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003775/1.045, allocations: 2.631 MB / 469.8 MB, free: 49.06 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/1.047, allocations: 341.6 kB / 470.1 MB, free: 48.93 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009488/1.057, allocations: 5.731 MB / 475.8 MB, free: 46.05 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/1.058, allocations: 1.739 MB / 477.6 MB, free: 45.29 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.002429/1.06, allocations: 329.1 kB / 477.9 MB, free: 45.26 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008269/1.061, allocations: 205.5 kB / 478.1 MB, free: 45.25 MB / 250.7 MB Notification: Performance of SimCode: time 1.052e-06/1.061, allocations: 0 / 478.1 MB, free: 45.25 MB / 250.7 MB Notification: Performance of Templates: time 0.2111/1.272, allocations: 54.21 MB / 0.5198 GB, free: 60.57 MB / 250.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)