Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 186 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 96.41 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003891, allocations: 12 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3275, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.4742, allocations: 92.1 MB / 466.6 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.4746, allocations: 91.95 kB / 466.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4803/0.955, allocations: 50.04 MB / 0.5047 GB, free: 95.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.955, allocations: 0 / 0.5047 GB, free: 95.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001643/0.9552, allocations: 52 kB / 0.5047 GB, free: 95.16 MB / 378.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.009372/0.9646, allocations: 2.615 MB / 0.5073 GB, free: 93.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.9646, allocations: 11.03 kB / 0.5073 GB, free: 93.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009884/0.9656, allocations: 288.1 kB / 0.5075 GB, free: 93.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004056/0.9697, allocations: 1.344 MB / 0.5089 GB, free: 93.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.9699, allocations: 161.8 kB / 0.509 GB, free: 93.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006638/0.9706, allocations: 206.8 kB / 0.5092 GB, free: 93.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006331/0.977, allocations: 1.916 MB / 0.5111 GB, free: 93.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-05/0.9771, allocations: 0 / 0.5111 GB, free: 93.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003276/0.9775, allocations: 82.44 kB / 0.5112 GB, free: 93.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/0.9775, allocations: 49.88 kB / 0.5112 GB, free: 93.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007439/0.985, allocations: 2.008 MB / 0.5132 GB, free: 92.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02099/1.006, allocations: 7.606 MB / 0.5206 GB, free: 88.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00666/1.013, allocations: 2.362 MB / 0.5229 GB, free: 87.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003517/1.013, allocations: 38.97 kB / 0.5229 GB, free: 87.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/1.013, allocations: 55.75 kB / 0.523 GB, free: 87.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=240): time 5.3e-06/1.013, allocations: 0 / 0.523 GB, free: 87.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=375): time 0.1182/1.131, allocations: 19.03 MB / 0.5416 GB, free: 71.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1729/1.304, allocations: 34.51 MB / 0.5753 GB, free: 36.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003712/1.308, allocations: 1.632 MB / 0.5769 GB, free: 35.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006805/1.309, allocations: 85.7 kB / 0.577 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007034/1.31, allocations: 0.8988 MB / 0.5778 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001459/1.311, allocations: 1.242 MB / 0.579 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000427/1.312, allocations: 75.47 kB / 0.5791 GB, free: 32.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002008/1.312, allocations: 434 kB / 0.5795 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004463/1.316, allocations: 1.354 MB / 0.5809 GB, free: 31.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004895/1.321, allocations: 1.637 MB / 0.5824 GB, free: 29.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0049/1.326, allocations: 1.539 MB / 0.584 GB, free: 27.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/1.326, allocations: 4 kB / 0.584 GB, free: 27.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01865/1.345, allocations: 4.679 MB / 0.5885 GB, free: 23.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/1.345, allocations: 8 kB / 0.5885 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/1.345, allocations: 8 kB / 0.5885 GB, free: 23.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009535/1.355, allocations: 1.389 MB / 0.5899 GB, free: 21.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005622/1.36, allocations: 0.5802 MB / 0.5905 GB, free: 21.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0361/1.396, allocations: 19.61 MB / 0.6096 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0048/1.401, allocations: 163.9 kB / 0.6098 GB, free: 444 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007362/1.402, allocations: 112 kB / 0.6099 GB, free: 332 kB / 378.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 (316): * Single equations (assignments): 307 * 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%) 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.00231/1.404, allocations: 0.5867 MB / 0.6105 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009999/1.405, allocations: 276.6 kB / 0.6107 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02181/1.427, allocations: 4.789 MB / 0.6154 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01844/1.446, allocations: 4.207 MB / 0.6195 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/1.446, allocations: 4 kB / 0.6195 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.837e-05/1.446, allocations: 19.92 kB / 0.6195 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03501/1.481, allocations: 9.882 MB / 0.6292 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.291e-05/1.481, allocations: 4 kB / 0.6292 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005394/1.486, allocations: 0.4916 MB / 0.6297 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01038/1.497, allocations: 1.406 MB / 0.631 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007697/1.498, allocations: 75.97 kB / 0.6311 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3184/1.816, allocations: 18.15 MB / 0.6488 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1538/1.97, allocations: 30.63 MB / 0.6787 GB, free: 95.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02332/1.993, allocations: 6.952 MB / 0.6855 GB, free: 92.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/1.996, allocations: 0.6894 MB / 0.6862 GB, free: 91.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008484/1.997, allocations: 74.66 kB / 0.6863 GB, free: 91.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004035/2.001, allocations: 158 kB / 0.6864 GB, free: 91.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00102/2.002, allocations: 280 kB / 0.6867 GB, free: 91.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000354/2.002, allocations: 99.28 kB / 0.6868 GB, free: 91.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002917/2.005, allocations: 1.276 MB / 0.688 GB, free: 91.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.02e-07/2.005, allocations: 3.844 kB / 0.688 GB, free: 91.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00557/2.011, allocations: 1.073 MB / 0.6891 GB, free: 90.89 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.001708/2.012, allocations: 481.2 kB / 0.6896 GB, free: 90.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01303/2.025, allocations: 4.772 MB / 0.6942 GB, free: 86.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/2.025, allocations: 0 / 0.6942 GB, free: 86.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008445/2.034, allocations: 3.256 MB / 0.6974 GB, free: 83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/2.037, allocations: 322.2 kB / 0.6977 GB, free: 82.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/2.056, allocations: 8.286 MB / 0.7058 GB, free: 75.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001951/2.058, allocations: 1.836 MB / 0.7076 GB, free: 73.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002102/2.06, allocations: 201.4 kB / 0.7078 GB, free: 73.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.203e-06/2.06, allocations: 0 / 0.7078 GB, free: 73.42 MB / 410.7 MB Notification: Performance of Templates: time 0.4539/2.514, allocations: 126.9 MB / 0.8317 GB, free: 111.1 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)