Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8168/0.8168, allocations: 110.8 MB / 118.3 MB, free: 14.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00167/0.00167, allocations: 155.5 kB / 144 MB, free: 4.836 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.484e-05/1.488e-05, allocations: 0 / 173.9 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04879/0.04882, allocations: 25.18 MB / 199 MB, free: 13.69 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06103/0.1099, allocations: 44.37 MB / 243.4 MB, free: 1.246 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.1102, allocations: 71.95 kB / 243.5 MB, free: 1.176 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.27/0.3802, allocations: 69.74 MB / 313.2 MB, free: 15.92 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3803, allocations: 0 / 313.2 MB, free: 15.92 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.000988/0.3813, allocations: 112 kB / 313.3 MB, free: 15.81 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.01697/0.3982, allocations: 5.584 MB / 318.9 MB, free: 10.16 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3983, allocations: 8.031 kB / 318.9 MB, free: 10.15 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003447/0.4018, allocations: 0.8535 MB / 319.8 MB, free: 9.285 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.4123, allocations: 3.495 MB / 323.3 MB, free: 5.727 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.4125, allocations: 64 kB / 323.3 MB, free: 5.664 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001312/0.4138, allocations: 135.9 kB / 323.5 MB, free: 5.531 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009889/0.4237, allocations: 5.22 MB / 328.7 MB, free: 316 kB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1609/0.5846, allocations: 5.428 MB / 334.1 MB, free: 34.57 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.279e-05/0.5848, allocations: 1.375 kB / 334.1 MB, free: 34.57 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004212/0.5852, allocations: 19.62 kB / 334.1 MB, free: 34.57 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/0.5853, allocations: 48.12 kB / 334.2 MB, free: 34.57 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02044/0.6057, allocations: 10.01 MB / 344.2 MB, free: 33.35 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007732/0.6135, allocations: 5.412 MB / 349.6 MB, free: 33.06 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006509/0.6201, allocations: 4.563 MB / 354.2 MB, free: 32.75 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003703/0.6205, allocations: 123.5 kB / 354.3 MB, free: 32.64 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.271e-05/0.6206, allocations: 64.3 kB / 354.3 MB, free: 32.59 MB / 218.7 MB Notification: Performance of pre-optimization done (n=225): time 5.37e-06/0.6206, allocations: 0.6562 kB / 354.3 MB, free: 32.59 MB / 218.7 MB Notification: Performance of matching and sorting (n=350): time 0.05904/0.6797, allocations: 27.28 MB / 381.6 MB, free: 14.88 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.6798, allocations: 138.1 kB / 381.8 MB, free: 14.73 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.01073/0.6905, allocations: 6.878 MB / 388.6 MB, free: 8.777 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002003/0.6925, allocations: 52.7 kB / 388.7 MB, free: 8.723 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002892/0.6955, allocations: 3.709 MB / 392.4 MB, free: 5.371 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002188/0.6976, allocations: 1.12 MB / 393.5 MB, free: 4.484 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005269/0.6982, allocations: 21.97 kB / 393.5 MB, free: 4.465 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.6984, allocations: 430.3 kB / 394 MB, free: 4.078 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005137/0.7035, allocations: 4.635 MB / 398.6 MB, free: 60 kB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01667/0.7202, allocations: 5.627 MB / 404.2 MB, free: 13.05 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009214/0.7295, allocations: 4.897 MB / 409.1 MB, free: 8.164 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/0.7295, allocations: 7.391 kB / 409.1 MB, free: 8.16 MB / 234.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.02028/0.7498, allocations: 11.54 MB / 420.7 MB, free: 12.62 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/0.75, allocations: 8 kB / 420.7 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.579e-05/0.75, allocations: 7.953 kB / 420.7 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003681/0.7537, allocations: 1.024 MB / 421.7 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005794/0.7595, allocations: 0.7574 MB / 422.5 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1828/0.9423, allocations: 12.7 MB / 435.2 MB, free: 58.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004931/0.9473, allocations: 107.4 kB / 435.3 MB, free: 58.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/0.9489, allocations: 476 kB / 435.7 MB, free: 58.52 MB / 250.7 MB 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_mAirWork.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 (comparisonWithFEA.tableID,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (297): * Single equations (assignments): 286 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 2 {3 37,3 45} Notification: Performance of prepare postOptimizeDAE: time 0.001043/0.95, allocations: 181.4 kB / 435.9 MB, free: 58.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001779/0.9518, allocations: 0.8244 MB / 436.7 MB, free: 58.41 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02616/0.9779, allocations: 15.24 MB / 452 MB, free: 58.12 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003785/0.9818, allocations: 2.07 MB / 454 MB, free: 57.99 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-05/0.9819, allocations: 3.406 kB / 454 MB, free: 57.99 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.924e-05/0.982, allocations: 21.59 kB / 454.1 MB, free: 57.99 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03208/1.014, allocations: 13.22 MB / 467.3 MB, free: 55.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/1.014, allocations: 3.438 kB / 467.3 MB, free: 55.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002802/1.017, allocations: 0.502 MB / 467.8 MB, free: 55.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003381/1.02, allocations: 1.061 MB / 468.8 MB, free: 54.88 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001495/1.022, allocations: 134.9 kB / 469 MB, free: 54.87 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009176/1.031, allocations: 12.37 MB / 481.3 MB, free: 43.79 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06444/1.096, allocations: 27.71 MB / 0.4971 GB, free: 19.41 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2174/1.313, allocations: 23.04 MB / 0.5196 GB, free: 54.28 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002263/1.315, allocations: 0.7482 MB / 0.5204 GB, free: 54.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003153/1.318, allocations: 28.42 kB / 0.5204 GB, free: 54.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004499/1.323, allocations: 112.8 kB / 0.5205 GB, free: 54.18 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007627/1.324, allocations: 237.5 kB / 0.5207 GB, free: 54.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001329/1.325, allocations: 459.6 kB / 0.5212 GB, free: 54.16 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.01426/1.339, allocations: 5.412 MB / 0.5264 GB, free: 53.91 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.036e-06/1.339, allocations: 2.938 kB / 0.5264 GB, free: 53.91 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.005759/1.345, allocations: 0.8547 MB / 0.5273 GB, free: 53.91 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 ($STATESET2.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel,$STATESET1.x[2],$STATESET1.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v) * Number of discrete variables: 5 (comparisonWithFEA.tableID,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (244): * Single equations (assignments): 234 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(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.001031/1.346, allocations: 233.8 kB / 0.5275 GB, free: 53.8 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.009228/1.356, allocations: 7.872 MB / 0.5352 GB, free: 53.04 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.356, allocations: 0 / 0.5352 GB, free: 53.04 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005971/1.362, allocations: 4.556 MB / 0.5396 GB, free: 52.3 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004704/1.366, allocations: 424.7 kB / 0.54 GB, free: 52.26 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02627/1.393, allocations: 15.28 MB / 0.555 GB, free: 48.63 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004135/1.397, allocations: 4.113 MB / 0.559 GB, free: 45.96 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.002709/1.4, allocations: 318.7 kB / 0.5593 GB, free: 45.74 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008426/1.4, allocations: 204.8 kB / 0.5595 GB, free: 45.61 MB / 250.7 MB Notification: Performance of SimCode: time 2.375e-06/1.4, allocations: 0 / 0.5595 GB, free: 45.61 MB / 250.7 MB Notification: Performance of Templates: time 0.2661/1.667, allocations: 57.46 MB / 0.6156 GB, free: 53.04 MB / 250.7 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1)