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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009818/0.0009817, allocations: 95.34 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009295/0.0009296, allocations: 184 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 223.4 MB, free: 5.789 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.000469, allocations: 11.94 kB / 280.1 MB, free: 13.1 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2698, allocations: 47.58 MB / 327.7 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.000654/0.2705, allocations: 216 kB / 327.9 MB, free: 1.25 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002314/0.2708, allocations: 50.89 kB / 327.9 MB, free: 1.215 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.2708, allocations: 0 / 327.9 MB, free: 1.215 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.2709, allocations: 0.9688 kB / 327.9 MB, free: 1.215 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 9.426e-05/0.271, allocations: 15.55 kB / 328 MB, free: 1.207 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.2711, allocations: 23.25 kB / 328 MB, free: 1.191 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 5.722e-05/0.2712, allocations: 10.89 kB / 328 MB, free: 1.188 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.874e-05/0.2713, allocations: 3.625 kB / 328 MB, free: 1.188 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.2713, allocations: 26.97 kB / 328 MB, free: 1.168 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.2714, allocations: 14.42 kB / 328 MB, free: 1.164 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.2714, allocations: 1.344 kB / 328 MB, free: 1.164 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.461e-05/0.2715, allocations: 7.219 kB / 328 MB, free: 1.16 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 3.91e-05/0.2715, allocations: 2.969 kB / 328 MB, free: 1.16 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.2716, allocations: 31.8 kB / 328.1 MB, free: 1.125 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 8.995e-05/0.2717, allocations: 17.5 kB / 328.1 MB, free: 1.117 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2717, allocations: 0 / 328.1 MB, free: 1.117 MB / 254.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.2717, allocations: 0 / 328.1 MB, free: 1.117 MB / 254.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.2717, allocations: 0 / 328.1 MB, free: 1.117 MB / 254.1 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.0003117/0.272, allocations: 362.8 kB / 328.4 MB, free: 0.7188 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2721, allocations: 9.875 kB / 328.5 MB, free: 0.7188 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.2721, allocations: 0.9375 kB / 328.5 MB, free: 0.7188 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.315e-05/0.2722, allocations: 173.8 kB / 328.6 MB, free: 0.5117 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.2722, allocations: 4 kB / 328.6 MB, free: 0.5078 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.2722, allocations: 1.75 kB / 328.6 MB, free: 0.5078 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.2724, allocations: 63.08 kB / 328.7 MB, free: 476 kB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2724, allocations: 0 / 328.7 MB, free: 476 kB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2724, allocations: 5.016 kB / 328.7 MB, free: 472 kB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2724, allocations: 5.125 kB / 328.7 MB, free: 468 kB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.328e-05/0.2725, allocations: 30.02 kB / 328.7 MB, free: 460 kB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.2726, allocations: 154.7 kB / 328.9 MB, free: 260 kB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.704e-05/0.2727, allocations: 47.02 kB / 328.9 MB, free: 228 kB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-06/0.2727, allocations: 3.938 kB / 328.9 MB, free: 224 kB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.2727, allocations: 62.8 kB / 329 MB, free: 148 kB / 254.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2727, allocations: 0 / 329 MB, free: 148 kB / 254.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003491/0.2731, allocations: 269.6 kB / 329.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.2732, allocations: 78.23 kB / 329.3 MB, free: 15.86 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.796e-05/0.2733, allocations: 111.3 kB / 329.4 MB, free: 15.75 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.2733, allocations: 25.7 kB / 329.5 MB, free: 15.72 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.2733, allocations: 85.64 kB / 329.6 MB, free: 15.64 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.2734, allocations: 5.375 kB / 329.6 MB, free: 15.63 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.2734, allocations: 1.125 kB / 329.6 MB, free: 15.63 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2735, allocations: 317 kB / 329.9 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-05/0.2736, allocations: 33.67 kB / 329.9 MB, free: 15.3 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.2736, allocations: 22.47 kB / 329.9 MB, free: 15.3 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.82e-05/0.2737, allocations: 53.34 kB / 330 MB, free: 15.27 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2737, allocations: 0 / 330 MB, free: 15.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001795/0.2739, allocations: 164.4 kB / 330.1 MB, free: 15.18 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.2739, allocations: 32.86 kB / 330.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2739, allocations: 0 / 330.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.274, allocations: 3.953 kB / 330.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.274, allocations: 3.938 kB / 330.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.274, allocations: 0 / 330.2 MB, free: 15.14 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.274, allocations: 7.562 kB / 330.2 MB, free: 15.13 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.274, allocations: 0 / 330.2 MB, free: 15.13 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (success1,success2,success3,success4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.707e-05/0.2741, allocations: 150.2 kB / 330.3 MB, free: 14.98 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.2741, allocations: 3.688 kB / 330.3 MB, free: 14.98 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.438e-05/0.2742, allocations: 3.906 kB / 330.3 MB, free: 14.97 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.2742, allocations: 7.938 kB / 330.3 MB, free: 14.96 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2742, allocations: 0 / 330.3 MB, free: 14.96 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2742, allocations: 0 / 330.3 MB, free: 14.96 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.2743, allocations: 157 kB / 330.5 MB, free: 14.77 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2743, allocations: 0 / 330.5 MB, free: 14.77 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2743, allocations: 7.156 kB / 330.5 MB, free: 14.77 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2743, allocations: 0 / 330.5 MB, free: 14.77 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.2743, allocations: 0 / 330.5 MB, free: 14.77 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.2744, allocations: 3.812 kB / 330.5 MB, free: 14.77 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.2744, allocations: 4.203 kB / 330.5 MB, free: 14.76 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.2746, allocations: 201.2 kB / 330.7 MB, free: 14.63 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.2746, allocations: 78.11 kB / 330.8 MB, free: 14.54 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.2747, allocations: 5.281 kB / 330.8 MB, free: 14.53 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.429e-05/0.2747, allocations: 6.438 kB / 330.8 MB, free: 14.53 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.2747, allocations: 8.156 kB / 330.8 MB, free: 14.52 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.2747, allocations: 6.234 kB / 330.8 MB, free: 14.52 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.046e-05/0.2748, allocations: 88.25 kB / 330.9 MB, free: 14.44 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2748, allocations: 0 / 330.9 MB, free: 14.44 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002096/0.275, allocations: 13.02 kB / 330.9 MB, free: 14.43 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (success1,success2,success3,success4) * Number of discrete states: 4 (success4,success3,success2,success1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004181/0.2754, allocations: 133.9 kB / 331 MB, free: 14.32 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.2757, allocations: 122.5 kB / 331.2 MB, free: 14.24 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2757, allocations: 0 / 331.2 MB, free: 14.24 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.737e-05/0.2758, allocations: 98.53 kB / 331.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.2759, allocations: 13.94 kB / 331.3 MB, free: 14.15 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.2762, allocations: 138.9 kB / 331.4 MB, free: 14.03 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.2766, allocations: 0.6891 MB / 332.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.252e-06/0.2766, allocations: 0 / 332.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.103e-05/0.2766, allocations: 8.469 kB / 332.1 MB, free: 13.31 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2766, allocations: 0 / 332.1 MB, free: 13.31 MB / 270.1 MB Notification: Performance of Templates: time 0.003135/0.2798, allocations: 0.6092 MB / 332.7 MB, free: 13.01 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: