Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005771/0.005771, allocations: 102.8 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 239.4 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 188.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03442/0.03442, allocations: 8.789 MB / 348.6 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 75.88 kB / 463.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1115, allocations: 51.57 MB / 0.5034 GB, free: 9.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001686/0.1133, allocations: 0.5101 MB / 0.5039 GB, free: 9.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1147, allocations: 1.089 MB / 0.5049 GB, free: 7.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.1147, allocations: 0 / 0.5049 GB, free: 7.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.115, allocations: 23.97 kB / 0.505 GB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.967e-05/0.115, allocations: 23.92 kB / 0.505 GB, free: 7.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/0.115, allocations: 0 / 0.505 GB, free: 7.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.447e-05/0.1151, allocations: 27.91 kB / 0.505 GB, free: 7.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.1152, allocations: 3.938 kB / 0.505 GB, free: 7.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.1153, allocations: 15.92 kB / 0.505 GB, free: 7.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1154, allocations: 31.89 kB / 0.5051 GB, free: 7.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.1154, allocations: 0 / 0.5051 GB, free: 7.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.1154, allocations: 0 / 0.5051 GB, free: 7.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.1156, allocations: 67.86 kB / 0.5051 GB, free: 7.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.1156, allocations: 27.69 kB / 0.5051 GB, free: 7.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.092e-05/0.1157, allocations: 47.78 kB / 0.5052 GB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1157, allocations: 0 / 0.5052 GB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1157, allocations: 0 / 0.5052 GB, free: 7.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1157, allocations: 0 / 0.5052 GB, free: 7.637 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005024/0.1163, allocations: 406.8 kB / 0.5056 GB, free: 7.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1163, allocations: 12.03 kB / 0.5056 GB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.188e-05/0.1164, allocations: 92.02 kB / 0.5057 GB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.1166, allocations: 284.2 kB / 0.506 GB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/0.1167, allocations: 150.9 kB / 0.5061 GB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/0.1168, allocations: 166.8 kB / 0.5063 GB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.402e-05/0.1168, allocations: 105.3 kB / 0.5064 GB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.1169, allocations: 75.28 kB / 0.5064 GB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.1169, allocations: 150.6 kB / 0.5066 GB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.471e-05/0.117, allocations: 150.6 kB / 0.5067 GB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.645e-05/0.1171, allocations: 150.6 kB / 0.5069 GB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.1174, allocations: 485.9 kB / 0.5073 GB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.848e-05/0.1175, allocations: 177 kB / 0.5075 GB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.1176, allocations: 88.14 kB / 0.5076 GB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.1176, allocations: 79.27 kB / 0.5077 GB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.1177, allocations: 113.8 kB / 0.5078 GB, free: 4.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1177, allocations: 0 / 0.5078 GB, free: 4.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.634e-05/0.1178, allocations: 41.45 kB / 0.5078 GB, free: 4.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.1179, allocations: 130.7 kB / 0.5079 GB, free: 4.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.1181, allocations: 231.8 kB / 0.5081 GB, free: 4.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1181, allocations: 25.7 kB / 0.5082 GB, free: 4.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.1182, allocations: 116.1 kB / 0.5083 GB, free: 4.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.1182, allocations: 0 / 0.5083 GB, free: 4.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/0.1183, allocations: 17.72 kB / 0.5083 GB, free: 4.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1184, allocations: 322.8 kB / 0.5086 GB, free: 3.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-06/0.1184, allocations: 0 / 0.5086 GB, free: 3.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-06/0.1184, allocations: 0 / 0.5086 GB, free: 3.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.1185, allocations: 79.27 kB / 0.5087 GB, free: 3.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.531e-05/0.1185, allocations: 79.28 kB / 0.5088 GB, free: 3.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.816e-05/0.1186, allocations: 37.61 kB / 0.5088 GB, free: 3.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.1186, allocations: 91.16 kB / 0.5089 GB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.024e-05/0.1187, allocations: 79.28 kB / 0.509 GB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-05/0.1187, allocations: 150.6 kB / 0.5091 GB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.986e-05/0.1188, allocations: 79.22 kB / 0.5092 GB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-05/0.1188, allocations: 158.6 kB / 0.5093 GB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.1189, allocations: 83.36 kB / 0.5094 GB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.119, allocations: 79.3 kB / 0.5095 GB, free: 3 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.1192, allocations: 288.4 kB / 0.5098 GB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.001e-05/0.1193, allocations: 120.7 kB / 0.5099 GB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.621e-05/0.1193, allocations: 125.5 kB / 0.51 GB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.12e-05/0.1194, allocations: 176.3 kB / 0.5102 GB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.566e-05/0.1195, allocations: 188.2 kB / 0.5103 GB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.742e-05/0.1196, allocations: 180.3 kB / 0.5105 GB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.1199, allocations: 433.2 kB / 0.5109 GB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.904e-05/0.1199, allocations: 104.9 kB / 0.511 GB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.12, allocations: 109 kB / 0.5111 GB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.256e-05/0.12, allocations: 184.1 kB / 0.5113 GB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/0.1201, allocations: 184.2 kB / 0.5115 GB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-05/0.1202, allocations: 184.2 kB / 0.5117 GB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.919e-05/0.1203, allocations: 184.2 kB / 0.5118 GB, free: 452 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.1204, allocations: 319.6 kB / 0.5121 GB, free: 108 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1206, allocations: 193.9 kB / 0.5123 GB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.261e-05/0.1206, allocations: 180.3 kB / 0.5125 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.294e-05/0.1207, allocations: 112.9 kB / 0.5126 GB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.1208, allocations: 176.3 kB / 0.5128 GB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.1209, allocations: 104.9 kB / 0.5129 GB, free: 15.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.121, allocations: 176.2 kB / 0.513 GB, free: 15.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.121, allocations: 0 / 0.513 GB, free: 15.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1213, allocations: 8 kB / 0.513 GB, free: 15.12 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001136/0.1214, allocations: 168.8 kB / 0.5132 GB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.981e-05/0.1214, allocations: 4 kB / 0.5132 GB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1215, allocations: 0 / 0.5132 GB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.123e-06/0.1215, allocations: 0 / 0.5132 GB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1219, allocations: 461.2 kB / 0.5136 GB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.1222, allocations: 305 kB / 0.5139 GB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1225, allocations: 0.7119 MB / 0.5146 GB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.901e-05/0.1226, allocations: 3.984 kB / 0.5146 GB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.1226, allocations: 7.438 kB / 0.5146 GB, free: 13.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1226, allocations: 0 / 0.5146 GB, free: 13.41 MB / 366.1 MB Notification: Performance of Templates: time 0.00232/0.1249, allocations: 289 kB / 0.5149 GB, free: 13.13 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)