Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.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.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001428/0.001428, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.341/1.341, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001549/0.001549, allocations: 120.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.41e-05/3.422e-05, allocations: 0 / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 44.49 MB / 349.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3306/0.4375, allocations: 69.71 MB / 419.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.4378, allocations: 59.36 kB / 419.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001764/0.4396, allocations: 0.8226 MB / 420 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4396, allocations: 0 / 420 MB, free: 10.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.4396, allocations: 0 / 420 MB, free: 10.67 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002561/0.4399, allocations: 329.9 kB / 420.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.4399, allocations: 11.53 kB / 420.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.44, allocations: 3.906 kB / 420.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.629e-05/0.4401, allocations: 170.4 kB / 420.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.4401, allocations: 0 / 420.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.4401, allocations: 9 kB / 420.5 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.4403, allocations: 100.9 kB / 420.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.4403, allocations: 3.938 kB / 420.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4403, allocations: 0 / 420.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4403, allocations: 0 / 420.6 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.742e-05/0.4404, allocations: 41.88 kB / 420.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.4405, allocations: 186 kB / 420.8 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.4406, allocations: 114 kB / 421 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.4407, allocations: 61.05 kB / 421 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.4407, allocations: 3.844 kB / 421 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.4407, allocations: 34.5 kB / 421.1 MB, free: 9.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.4407, allocations: 0 / 421.1 MB, free: 9.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000255/0.441, allocations: 172.1 kB / 421.2 MB, free: 9.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.441, allocations: 136.5 kB / 421.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.833e-05/0.4411, allocations: 108 kB / 421.5 MB, free: 9.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.4411, allocations: 28.7 kB / 421.5 MB, free: 9.324 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.359e-05/0.4412, allocations: 80.14 kB / 421.6 MB, free: 9.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.4412, allocations: 15.17 kB / 421.6 MB, free: 9.238 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.4412, allocations: 0 / 421.6 MB, free: 9.238 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.433e-05/0.4413, allocations: 314.8 kB / 421.9 MB, free: 8.922 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.103e-05/0.4413, allocations: 43.03 kB / 421.9 MB, free: 8.918 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.743e-05/0.4414, allocations: 67.69 kB / 422 MB, free: 8.883 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.747e-05/0.4414, allocations: 37.72 kB / 422 MB, free: 8.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4414, allocations: 0 / 422 MB, free: 8.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001536/0.4416, allocations: 130.8 kB / 422.2 MB, free: 8.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4416, allocations: 10.16 kB / 422.2 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4416, allocations: 0 / 422.2 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.4416, allocations: 0 / 422.2 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.94e-05/0.4417, allocations: 7.812 kB / 422.2 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4417, allocations: 3.844 kB / 422.2 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.4417, allocations: 0 / 422.2 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.4417, allocations: 12.58 kB / 422.2 MB, free: 8.836 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (success4,success3,success2,success1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/0.4418, allocations: 102.6 kB / 422.3 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.4418, allocations: 18.44 kB / 422.3 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.717e-05/0.4418, allocations: 7.5 kB / 422.3 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.4418, allocations: 0 / 422.3 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4418, allocations: 0 / 422.3 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4419, allocations: 3.844 kB / 422.3 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.368e-05/0.4419, allocations: 159.6 kB / 422.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4419, allocations: 0 / 422.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-06/0.442, allocations: 2.531 kB / 422.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.442, allocations: 7.797 kB / 422.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.442, allocations: 0 / 422.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.442, allocations: 3.875 kB / 422.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.442, allocations: 7.938 kB / 422.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.4422, allocations: 239.1 kB / 422.7 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.4422, allocations: 87.86 kB / 422.8 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.4423, allocations: 3.938 kB / 422.8 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.911e-05/0.4423, allocations: 3.781 kB / 422.8 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.4423, allocations: 3.938 kB / 422.8 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.4423, allocations: 10.16 kB / 422.8 MB, free: 8.273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.145e-05/0.4424, allocations: 97.48 kB / 422.9 MB, free: 8.191 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4424, allocations: 0 / 422.9 MB, free: 8.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001781/0.4425, allocations: 15.58 kB / 423 MB, free: 8.184 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (success4,success3,success2,success1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002149/0.4428, allocations: 132.4 kB / 423.1 MB, free: 8.074 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.55e-05/0.4429, allocations: 64.14 kB / 423.1 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4429, allocations: 3.844 kB / 423.1 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.4429, allocations: 26.61 kB / 423.2 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.73e-05/0.443, allocations: 8.391 kB / 423.2 MB, free: 8.066 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001929/0.4432, allocations: 115.6 kB / 423.3 MB, free: 7.973 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.4434, allocations: 0.6866 MB / 424 MB, free: 7.277 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.051e-05/0.4434, allocations: 0 / 424 MB, free: 7.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.4434, allocations: 14.48 kB / 424 MB, free: 7.273 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4434, allocations: 0 / 424 MB, free: 7.273 MB / 298.7 MB Notification: Performance of Templates: time 0.002313/0.4457, allocations: 0.5658 MB / 424.6 MB, free: 7.203 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile (rm -f Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1)