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.001205/0.001205, allocations: 110.4 kB / 16.37 MB, free: 6.453 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.455/1.455, allocations: 222.9 MB / 240 MB, free: 4.59 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.001761/0.001761, allocations: 187.7 kB / 290.3 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03363/0.03363, allocations: 8.803 MB / 349.3 MB, free: 4.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 85.25 kB / 412.5 MB, free: 41.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1196, allocations: 51.56 MB / 464.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001958/0.1216, allocations: 0.5029 MB / 464.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1231, allocations: 1.081 MB / 465.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.1232, allocations: 0 / 465.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.1235, allocations: 23.89 kB / 465.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.1236, allocations: 23.92 kB / 465.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.077e-06/0.1236, allocations: 0 / 465.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.1237, allocations: 31.91 kB / 465.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.685e-05/0.1237, allocations: 3.984 kB / 465.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1238, allocations: 11.94 kB / 465.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1239, allocations: 31.89 kB / 465.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.124, allocations: 0 / 465.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.124, allocations: 4 kB / 465.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.1241, allocations: 63.86 kB / 465.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.1242, allocations: 27.69 kB / 465.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.922e-05/0.1243, allocations: 51.77 kB / 465.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1243, allocations: 0 / 465.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1243, allocations: 0 / 465.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1243, allocations: 0 / 465.9 MB, free: 11.89 MB / 302.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.000495/0.1248, allocations: 406.7 kB / 466.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1248, allocations: 16.03 kB / 466.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.1249, allocations: 88.06 kB / 466.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.1251, allocations: 284.2 kB / 466.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/0.1252, allocations: 158.9 kB / 466.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.1253, allocations: 154.9 kB / 467 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.378e-05/0.1253, allocations: 105.3 kB / 467.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.1254, allocations: 79.28 kB / 467.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.1254, allocations: 150.6 kB / 467.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-05/0.1255, allocations: 150.6 kB / 467.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.019e-05/0.1256, allocations: 158.4 kB / 467.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.1259, allocations: 481.9 kB / 468.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.323e-05/0.126, allocations: 177.1 kB / 468.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.1261, allocations: 84.14 kB / 468.4 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.1261, allocations: 75.28 kB / 468.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.1262, allocations: 109.8 kB / 468.6 MB, free: 9.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.041e-06/0.1262, allocations: 0 / 468.6 MB, free: 9.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 9.647e-05/0.1263, allocations: 45.45 kB / 468.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.1263, allocations: 130.7 kB / 468.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.1266, allocations: 235.8 kB / 469 MB, free: 8.656 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.1266, allocations: 25.7 kB / 469 MB, free: 8.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.1267, allocations: 120.1 kB / 469.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.1267, allocations: 0 / 469.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.1267, allocations: 9.719 kB / 469.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1269, allocations: 322.8 kB / 469.4 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-06/0.1269, allocations: 4 kB / 469.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.448e-06/0.1269, allocations: 4 kB / 469.4 MB, free: 8.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/0.1269, allocations: 75.28 kB / 469.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-05/0.127, allocations: 75.28 kB / 469.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.734e-05/0.127, allocations: 49.45 kB / 469.6 MB, free: 7.953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/0.1271, allocations: 83.22 kB / 469.7 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.715e-05/0.1271, allocations: 79.27 kB / 469.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.906e-05/0.1272, allocations: 158.5 kB / 469.9 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.413e-05/0.1272, allocations: 79.28 kB / 470 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.312e-05/0.1273, allocations: 154.5 kB / 470.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1274, allocations: 79.22 kB / 470.3 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.1274, allocations: 75.28 kB / 470.3 MB, free: 7.254 MB / 302.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.000145/0.1276, allocations: 292.4 kB / 470.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.1276, allocations: 124.8 kB / 470.7 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.1277, allocations: 121.8 kB / 470.9 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.839e-05/0.1278, allocations: 192.2 kB / 471 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.737e-05/0.1279, allocations: 184.2 kB / 471.2 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.269e-05/0.1279, allocations: 176.3 kB / 471.4 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.1282, allocations: 441.1 kB / 471.8 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.87e-05/0.1283, allocations: 109 kB / 471.9 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.1283, allocations: 101 kB / 472 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-05/0.1284, allocations: 184.1 kB / 472.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.737e-05/0.1285, allocations: 176.3 kB / 472.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.737e-05/0.1286, allocations: 188.2 kB / 472.6 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.013e-05/0.1286, allocations: 184.2 kB / 472.7 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.1288, allocations: 315.6 kB / 473.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1289, allocations: 189.9 kB / 473.2 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.071e-05/0.129, allocations: 188.1 kB / 473.4 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1291, allocations: 109 kB / 473.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.1292, allocations: 180.2 kB / 473.7 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.1292, allocations: 105 kB / 473.8 MB, free: 3.551 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.1294, allocations: 176.2 kB / 474 MB, free: 3.379 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1294, allocations: 0 / 474 MB, free: 3.379 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.1297, allocations: 4 kB / 474 MB, free: 3.375 MB / 302.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.0001121/0.1298, allocations: 172.8 kB / 474.2 MB, free: 3.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.582e-05/0.1298, allocations: 4 kB / 474.2 MB, free: 3.191 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1298, allocations: 0 / 474.2 MB, free: 3.191 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.1299, allocations: 3.938 kB / 474.2 MB, free: 3.188 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.1303, allocations: 455.7 kB / 474.6 MB, free: 2.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.1306, allocations: 305.1 kB / 474.9 MB, free: 2.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.1309, allocations: 0.7158 MB / 475.6 MB, free: 1.668 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.203e-05/0.1309, allocations: 0 / 475.6 MB, free: 1.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.1309, allocations: 11.44 kB / 475.6 MB, free: 1.656 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1309, allocations: 0 / 475.6 MB, free: 1.656 MB / 302.1 MB Notification: Performance of Templates: time 0.002058/0.133, allocations: 285 kB / 475.9 MB, free: 1.379 MB / 302.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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)