Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.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.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001442/0.001442, allocations: 169.5 kB / 7.638 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.209/1.209, allocations: 170.6 MB / 178.7 MB, free: 15.66 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.001508/0.001508, allocations: 111.4 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.333e-05/1.335e-05, allocations: 0 / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06832/0.06835, allocations: 38.77 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2727/0.3411, allocations: 83.02 MB / 384 MB, free: 1.562 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.3414, allocations: 83.02 kB / 384.1 MB, free: 1.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1832/0.5246, allocations: 71.38 MB / 455.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5247, allocations: 0 / 455.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0009377/0.5256, allocations: 112.2 kB / 455.6 MB, free: 15.11 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.01434/0.54, allocations: 5.533 MB / 461.1 MB, free: 9.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.5401, allocations: 12.03 kB / 461.1 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.5429, allocations: 0.8563 MB / 462 MB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/0.5536, allocations: 3.522 MB / 465.5 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/0.5539, allocations: 68 kB / 465.6 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008885/0.5548, allocations: 119.9 kB / 465.7 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005034/0.5599, allocations: 1.609 MB / 467.3 MB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00523/0.5651, allocations: 1.665 MB / 469 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.12e-05/0.5653, allocations: 4 kB / 469 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003784/0.5656, allocations: 7.953 kB / 469 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.5657, allocations: 48 kB / 469 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2295/0.7952, allocations: 9.592 MB / 478.6 MB, free: 78.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003608/0.7989, allocations: 2.057 MB / 480.7 MB, free: 77.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/0.801, allocations: 1.201 MB / 481.9 MB, free: 77.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.8013, allocations: 124.9 kB / 482 MB, free: 77.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001605/0.8029, allocations: 0.9744 MB / 483 MB, free: 77.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=230): time 3.687e-06/0.8029, allocations: 0 / 483 MB, free: 77.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=355): time 0.04703/0.85, allocations: 17.07 MB / 0.4883 GB, free: 72.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/0.8501, allocations: 278.8 kB / 0.4886 GB, free: 72.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1258/0.9759, allocations: 12.88 MB / 0.5012 GB, free: 68.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009319/0.9769, allocations: 29.7 kB / 0.5012 GB, free: 68.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004323/0.9812, allocations: 3.695 MB / 0.5048 GB, free: 65.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002071/0.9833, allocations: 1.135 MB / 0.5059 GB, free: 64.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/0.9837, allocations: 1.219 kB / 0.5059 GB, free: 64.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.984, allocations: 428.6 kB / 0.5063 GB, free: 64.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.9862, allocations: 1.27 MB / 0.5076 GB, free: 63.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.9883, allocations: 1.582 MB / 0.5091 GB, free: 62.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002519/0.9909, allocations: 1.548 MB / 0.5106 GB, free: 62.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.9909, allocations: 6.875 kB / 0.5106 GB, free: 62.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=420) (initialization): time 0.00853/0.9994, allocations: 4.683 MB / 0.5152 GB, free: 59.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.554e-05/0.9995, allocations: 33.7 kB / 0.5152 GB, free: 59.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.9995, allocations: 4 kB / 0.5152 GB, free: 59.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002915/1.002, allocations: 1.013 MB / 0.5162 GB, free: 58.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/1.006, allocations: 0.5874 MB / 0.5168 GB, free: 58.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008286/1.014, allocations: 12.71 MB / 0.5292 GB, free: 45.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004759/1.019, allocations: 135.1 kB / 0.5293 GB, free: 45.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006977/1.019, allocations: 140.3 kB / 0.5295 GB, free: 44.99 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: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,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 (302): * Single equations (assignments): 290 * 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: 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.0006566/1.02, allocations: 157 kB / 0.5296 GB, free: 44.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002316/1.022, allocations: 0.8333 MB / 0.5304 GB, free: 44.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/1.034, allocations: 4.823 MB / 0.5351 GB, free: 39.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003277/1.037, allocations: 2.056 MB / 0.5372 GB, free: 37.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.79e-05/1.037, allocations: 4 kB / 0.5372 GB, free: 37.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.647e-05/1.037, allocations: 21 kB / 0.5372 GB, free: 37.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03157/1.069, allocations: 13.34 MB / 0.5502 GB, free: 27.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/1.069, allocations: 4 kB / 0.5502 GB, free: 27.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002832/1.072, allocations: 0.5067 MB / 0.5507 GB, free: 26.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003182/1.075, allocations: 1.058 MB / 0.5517 GB, free: 26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004892/1.076, allocations: 47.05 kB / 0.5518 GB, free: 25.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009288/1.085, allocations: 12.38 MB / 0.5639 GB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07035/1.155, allocations: 27.77 MB / 0.591 GB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2457/1.401, allocations: 7.262 MB / 0.5981 GB, free: 82.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004265/1.405, allocations: 1.581 MB / 0.5996 GB, free: 82.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002812/1.408, allocations: 24.83 kB / 0.5997 GB, free: 82.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004845/1.413, allocations: 110.6 kB / 0.5998 GB, free: 82.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/1.414, allocations: 244.9 kB / 0.6 GB, free: 82.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008097/1.415, allocations: 120.2 kB / 0.6001 GB, free: 82.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.02163/1.437, allocations: 10.27 MB / 0.6101 GB, free: 82.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.764e-06/1.437, allocations: 1.781 kB / 0.6101 GB, free: 82.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007813/1.445, allocations: 1.419 MB / 0.6115 GB, free: 82.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 ($STATESET6.x[2],$STATESET6.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET5.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 6 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent) * Number of discrete states: 1 (comparisonWithFEA.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 239 * 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%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {4 47,3 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0016/1.446, allocations: 337 kB / 0.6118 GB, free: 81.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007566/1.454, allocations: 4.212 MB / 0.616 GB, free: 81.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/1.454, allocations: 3.625 kB / 0.616 GB, free: 81.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004436/1.458, allocations: 2.703 MB / 0.6186 GB, free: 80.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004427/1.463, allocations: 410.8 kB / 0.619 GB, free: 80.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03069/1.493, allocations: 17.15 MB / 0.6357 GB, free: 77.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006253/1.5, allocations: 4.123 MB / 0.6398 GB, free: 76.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005251/1.505, allocations: 0.8521 MB / 0.6406 GB, free: 75.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002098/1.507, allocations: 390.1 kB / 0.641 GB, free: 75.88 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/1.507, allocations: 0 / 0.641 GB, free: 75.88 MB / 362.7 MB Notification: Performance of Templates: time 0.274/1.781, allocations: 71.84 MB / 0.7111 GB, free: 16.29 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1)