Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001015/0.001015, allocations: 178.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.156/1.156, allocations: 194.5 MB / 211.6 MB, free: 3.059 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001568/0.001568, allocations: 111.9 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003099, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0795/0.07982, allocations: 44.5 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.236/0.3159, allocations: 87.25 MB / 442.3 MB, free: 2.406 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.3161, allocations: 90.98 kB / 442.4 MB, free: 2.359 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1353/0.4515, allocations: 49.37 MB / 491.8 MB, free: 3.438 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4515, allocations: 0 / 491.8 MB, free: 3.438 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.4516, allocations: 44 kB / 491.8 MB, free: 3.395 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.005294/0.4569, allocations: 2.637 MB / 494.5 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4569, allocations: 8.031 kB / 494.5 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004246/0.4574, allocations: 296.4 kB / 494.7 MB, free: 392 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.4597, allocations: 1.329 MB / 496.1 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.4598, allocations: 156.1 kB / 496.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/0.4601, allocations: 212.2 kB / 496.4 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003364/0.4635, allocations: 1.908 MB / 498.3 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.853e-05/0.4635, allocations: 7.984 kB / 498.4 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.4637, allocations: 80 kB / 498.4 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.4638, allocations: 52 kB / 498.5 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003731/0.4675, allocations: 2.007 MB / 0.4888 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/0.4787, allocations: 7.604 MB / 0.4962 GB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/0.4822, allocations: 2.369 MB / 0.4985 GB, free: 220 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.4823, allocations: 37.95 kB / 0.4985 GB, free: 184 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.4823, allocations: 60.56 kB / 0.4986 GB, free: 116 kB / 378.7 MB Notification: Performance of pre-optimization done (n=240): time 3.918e-06/0.4824, allocations: 0 / 0.4986 GB, free: 116 kB / 378.7 MB Notification: Performance of matching and sorting (n=375): time 0.2026/0.6849, allocations: 19.03 MB / 0.5172 GB, free: 100.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09489/0.7798, allocations: 34.51 MB / 0.5509 GB, free: 88.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.7821, allocations: 1.629 MB / 0.5525 GB, free: 88.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004903/0.7826, allocations: 90.45 kB / 0.5526 GB, free: 88.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005048/0.7831, allocations: 0.9531 MB / 0.5535 GB, free: 87.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008044/0.7839, allocations: 1.235 MB / 0.5547 GB, free: 86.65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.7841, allocations: 71.5 kB / 0.5548 GB, free: 86.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.7842, allocations: 434.4 kB / 0.5552 GB, free: 86.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.7864, allocations: 1.353 MB / 0.5565 GB, free: 85.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/0.7887, allocations: 1.641 MB / 0.5581 GB, free: 84.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/0.7911, allocations: 1.567 MB / 0.5596 GB, free: 84.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.7911, allocations: 3.953 kB / 0.5596 GB, free: 84.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=437) (initialization): time 0.009342/0.8004, allocations: 4.802 MB / 0.5643 GB, free: 82.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.8005, allocations: 32.42 kB / 0.5644 GB, free: 82.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.8005, allocations: 4.219 kB / 0.5644 GB, free: 82.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004966/0.8055, allocations: 1.385 MB / 0.5657 GB, free: 81.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/0.8085, allocations: 0.5739 MB / 0.5663 GB, free: 81.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02049/0.829, allocations: 19.62 MB / 0.5854 GB, free: 67.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/0.8318, allocations: 168 kB / 0.5856 GB, free: 67.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/0.8321, allocations: 121.7 kB / 0.5857 GB, free: 67.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 307 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 2 {3 54,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.001197/0.8333, allocations: 0.5956 MB / 0.5863 GB, free: 66.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003927/0.8337, allocations: 264.5 kB / 0.5865 GB, free: 66.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009156/0.8429, allocations: 4.795 MB / 0.5912 GB, free: 64.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007966/0.8509, allocations: 4.216 MB / 0.5953 GB, free: 60.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.8509, allocations: 6.188 kB / 0.5954 GB, free: 60.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/0.8509, allocations: 19.12 kB / 0.5954 GB, free: 60.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/0.8662, allocations: 9.882 MB / 0.605 GB, free: 52.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.8662, allocations: 4 kB / 0.605 GB, free: 52.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002383/0.8686, allocations: 0.4909 MB / 0.6055 GB, free: 51.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00506/0.8737, allocations: 1.421 MB / 0.6069 GB, free: 50.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000263/0.874, allocations: 74.66 kB / 0.607 GB, free: 50.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/0.8916, allocations: 18.15 MB / 0.6247 GB, free: 32.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07559/0.9672, allocations: 30.62 MB / 0.6546 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/0.9805, allocations: 6.953 MB / 0.6614 GB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/0.982, allocations: 0.6889 MB / 0.6621 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003222/0.9823, allocations: 68 kB / 0.6621 GB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/0.9842, allocations: 155.9 kB / 0.6623 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006068/0.9848, allocations: 289.7 kB / 0.6625 GB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/0.985, allocations: 100.9 kB / 0.6626 GB, free: 8.602 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001696/0.9867, allocations: 1.273 MB / 0.6639 GB, free: 7.336 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9868, allocations: 0 / 0.6639 GB, free: 7.336 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002859/0.9896, allocations: 1.069 MB / 0.6649 GB, free: 6.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 250 * Array equations: 0 * 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%) 2,(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 42,5 55} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007736/0.9904, allocations: 360.1 kB / 0.6653 GB, free: 5.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007269/0.9977, allocations: 4.829 MB / 0.67 GB, free: 1.039 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.9977, allocations: 0 / 0.67 GB, free: 1.039 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1403/1.138, allocations: 3.255 MB / 0.6732 GB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/1.14, allocations: 302.8 kB / 0.6735 GB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009784/1.15, allocations: 8.214 MB / 0.6815 GB, free: 101.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.151, allocations: 1.842 MB / 0.6833 GB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001818/1.152, allocations: 314.4 kB / 0.6836 GB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007006/1.153, allocations: 180.5 kB / 0.6838 GB, free: 100.8 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/1.153, allocations: 3.375 kB / 0.6838 GB, free: 100.8 MB / 410.7 MB Notification: Performance of Templates: time 0.08818/1.241, allocations: 63.18 MB / 0.7455 GB, free: 74.31 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)