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.6665/0.6665, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001654/0.001654, allocations: 147.3 kB / 151.8 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002799/0.0002799, allocations: 15.98 kB / 184.9 MB, free: 3.914 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1043, allocations: 25.15 MB / 210.1 MB, free: 29.76 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04789/0.1522, allocations: 45.54 MB / 255.6 MB, free: 4.273 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.1525, allocations: 75.94 kB / 255.7 MB, free: 4.199 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1881/0.3406, allocations: 42.95 MB / 298.6 MB, free: 45.62 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3406, allocations: 1.406 kB / 298.6 MB, free: 45.62 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001086/0.3408, allocations: 45.34 kB / 298.7 MB, free: 45.62 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: 510 * Number of variables: 510 Notification: Performance of Generate backend data structure: time 0.005319/0.3461, allocations: 2.563 MB / 301.2 MB, free: 44.41 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3461, allocations: 9.312 kB / 301.2 MB, free: 44.41 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005559/0.3467, allocations: 291.4 kB / 301.5 MB, free: 44.26 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.3486, allocations: 1.241 MB / 302.8 MB, free: 43.84 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.3487, allocations: 154.8 kB / 302.9 MB, free: 43.84 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/0.349, allocations: 197.9 kB / 303.1 MB, free: 43.84 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003616/0.3526, allocations: 2.208 MB / 305.3 MB, free: 43.71 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.691e-05/0.3527, allocations: 7.688 kB / 305.3 MB, free: 43.71 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.3529, allocations: 79.66 kB / 305.4 MB, free: 43.71 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.3529, allocations: 49.94 kB / 305.5 MB, free: 43.71 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003498/0.3564, allocations: 2.061 MB / 307.5 MB, free: 43.68 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/0.3669, allocations: 7.388 MB / 314.9 MB, free: 40.91 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00313/0.3701, allocations: 2.378 MB / 317.3 MB, free: 39.79 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.3703, allocations: 116.1 kB / 317.4 MB, free: 39.69 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.3703, allocations: 56.22 kB / 317.5 MB, free: 39.64 MB / 218.7 MB Notification: Performance of pre-optimization done (n=220): time 4.518e-06/0.3703, allocations: 4 kB / 317.5 MB, free: 39.63 MB / 218.7 MB Notification: Performance of matching and sorting (n=348): time 0.06257/0.4329, allocations: 19.26 MB / 336.7 MB, free: 28.54 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1488/0.5818, allocations: 36.37 MB / 373.1 MB, free: 9.105 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.002256/0.584, allocations: 1.409 MB / 374.5 MB, free: 7.699 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005161/0.5846, allocations: 81.7 kB / 374.6 MB, free: 7.613 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006942/0.5853, allocations: 0.965 MB / 375.5 MB, free: 6.645 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.5865, allocations: 1.15 MB / 376.7 MB, free: 5.504 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.5868, allocations: 60 kB / 376.7 MB, free: 5.445 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.587, allocations: 428.7 kB / 377.2 MB, free: 5.02 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002847/0.5898, allocations: 1.494 MB / 378.7 MB, free: 3.523 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/0.5928, allocations: 1.79 MB / 380.5 MB, free: 1.68 MB / 234.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: advancedSolenoid.armature.mass.v = $START.advancedSolenoid.armature.mass.v (if time < x_set.startTime then 0.0 else if time < x_set.startTime + x_set.duration then x_set.height / x_set.duration else 0.0 = $START.advancedSolenoid.armature.mass.v) Notification: Performance of analyzeInitialSystem (initialization): time 0.1288/0.7216, allocations: 7.533 MB / 388 MB, free: 53.79 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.7217, allocations: 0 / 388 MB, free: 53.79 MB / 234.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.008332/0.73, allocations: 4.549 MB / 392.5 MB, free: 53.6 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.7301, allocations: 9.188 kB / 392.5 MB, free: 53.6 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.7301, allocations: 3.781 kB / 392.5 MB, free: 53.6 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/0.7404, allocations: 1.525 MB / 394.1 MB, free: 53.55 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/0.7438, allocations: 0.6011 MB / 394.7 MB, free: 53.55 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006551/0.7504, allocations: 9.925 MB / 404.6 MB, free: 46.04 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/0.7539, allocations: 172.5 kB / 404.8 MB, free: 46.04 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006015/0.7545, allocations: 150.7 kB / 404.9 MB, free: 46.04 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 291 * 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%) 5} * Non-linear torn systems: 2 {3 37,5 46} Notification: Performance of prepare postOptimizeDAE: time 0.001708/0.7562, allocations: 0.578 MB / 405.5 MB, free: 45.92 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006179/0.7569, allocations: 251.8 kB / 405.7 MB, free: 45.92 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007693/0.7646, allocations: 4.75 MB / 410.5 MB, free: 44.79 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00638/0.771, allocations: 4.122 MB / 414.6 MB, free: 43.18 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.771, allocations: 7.641 kB / 414.6 MB, free: 43.18 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.819e-05/0.7711, allocations: 17.16 kB / 414.6 MB, free: 43.18 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/0.7857, allocations: 9.814 MB / 424.4 MB, free: 38.67 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.7857, allocations: 448 / 424.4 MB, free: 38.67 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002772/0.7885, allocations: 0.5063 MB / 425 MB, free: 38.29 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01062/0.7991, allocations: 1.601 MB / 426.6 MB, free: 37.06 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005155/0.7997, allocations: 96.05 kB / 426.6 MB, free: 36.99 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006538/0.8062, allocations: 9.945 MB / 436.6 MB, free: 26.68 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1281/0.9344, allocations: 32.55 MB / 469.1 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.9464, allocations: 7.08 MB / 476.2 MB, free: 4.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/0.948, allocations: 0.693 MB / 476.9 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/0.9483, allocations: 69.58 kB / 477 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/0.9506, allocations: 163.9 kB / 477.1 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004121/0.951, allocations: 230.2 kB / 477.4 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/0.9512, allocations: 127.4 kB / 477.5 MB, free: 3.531 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001573/0.9528, allocations: 1.094 MB / 478.6 MB, free: 2.445 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9528, allocations: 0 / 478.6 MB, free: 2.445 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.002423/0.9553, allocations: 0.8273 MB / 479.4 MB, free: 1.625 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 233 * 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%) 4,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 37,5 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005592/0.9558, allocations: 254.9 kB / 479.7 MB, free: 1.402 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.1007/1.057, allocations: 4.315 MB / 484 MB, free: 66.73 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.057, allocations: 3.125 kB / 484 MB, free: 66.73 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004383/1.061, allocations: 2.691 MB / 486.7 MB, free: 66.14 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/1.063, allocations: 337.3 kB / 487 MB, free: 66.14 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009947/1.073, allocations: 7.826 MB / 494.8 MB, free: 62.98 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/1.074, allocations: 1.747 MB / 496.6 MB, free: 62.23 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.002057/1.076, allocations: 312.4 kB / 496.9 MB, free: 62.2 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007697/1.077, allocations: 201.2 kB / 497.1 MB, free: 62.2 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/1.077, allocations: 0 / 497.1 MB, free: 62.2 MB / 250.7 MB Notification: Performance of Templates: time 0.06224/1.139, allocations: 50.3 MB / 0.5345 GB, free: 30.29 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)