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.00149/0.00149, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 239.2 MB, free: 4.586 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.00147/0.00147, allocations: 192.5 kB / 289.5 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03482/0.03482, allocations: 8.797 MB / 348.5 MB, free: 4.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001737, allocations: 79.77 kB / 411.1 MB, free: 42.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1096, allocations: 51.57 MB / 462.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001968/0.1116, allocations: 0.495 MB / 463.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1131, allocations: 1.085 MB / 464.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.1131, allocations: 0 / 464.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.1134, allocations: 27.91 kB / 464.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/0.1135, allocations: 23.91 kB / 464.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.1135, allocations: 4 kB / 464.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.881e-05/0.1136, allocations: 19.92 kB / 464.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.774e-05/0.1137, allocations: 0 / 464.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.1138, allocations: 23.91 kB / 464.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.114, allocations: 19.92 kB / 464.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.114, allocations: 4 kB / 464.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.481e-05/0.114, allocations: 7.938 kB / 464.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.1142, allocations: 79.83 kB / 464.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.1142, allocations: 23.69 kB / 464.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.253e-05/0.1143, allocations: 43.78 kB / 464.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1143, allocations: 3.938 kB / 464.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1143, allocations: 0 / 464.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1143, allocations: 0 / 464.5 MB, free: 12.45 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.0005044/0.1149, allocations: 424.7 kB / 464.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1149, allocations: 8.031 kB / 464.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.115, allocations: 88.11 kB / 465 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.1152, allocations: 284.2 kB / 465.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.525e-05/0.1152, allocations: 154.9 kB / 465.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.1153, allocations: 150.9 kB / 465.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.831e-05/0.1154, allocations: 105.3 kB / 465.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.1154, allocations: 83.22 kB / 465.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.1155, allocations: 154.5 kB / 465.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.483e-05/0.1155, allocations: 150.6 kB / 466.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.799e-05/0.1156, allocations: 154.6 kB / 466.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.1159, allocations: 473.9 kB / 466.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.263e-05/0.116, allocations: 173.1 kB / 466.8 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.1161, allocations: 92.02 kB / 466.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.1161, allocations: 75.28 kB / 467 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/0.1161, allocations: 113.8 kB / 467.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1162, allocations: 0 / 467.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.475e-05/0.1162, allocations: 45.52 kB / 467.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.1163, allocations: 126.7 kB / 467.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.1166, allocations: 231.8 kB / 467.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.1166, allocations: 25.7 kB / 467.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.1167, allocations: 120.1 kB / 467.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.1167, allocations: 0 / 467.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.1167, allocations: 9.719 kB / 467.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1168, allocations: 326.8 kB / 468 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/0.1168, allocations: 7.938 kB / 468 MB, free: 8.723 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.1168, allocations: 0 / 468 MB, free: 8.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.1169, allocations: 75.28 kB / 468.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.327e-05/0.1169, allocations: 75.28 kB / 468.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.167e-05/0.117, allocations: 41.52 kB / 468.2 MB, free: 8.527 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/0.117, allocations: 83.22 kB / 468.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/0.1171, allocations: 79.27 kB / 468.3 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.623e-05/0.1171, allocations: 162.5 kB / 468.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.539e-05/0.1172, allocations: 79.28 kB / 468.6 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.614e-05/0.1172, allocations: 154.5 kB / 468.7 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.47e-05/0.1173, allocations: 75.28 kB / 468.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.1174, allocations: 75.28 kB / 468.9 MB, free: 7.828 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.0001556/0.1175, allocations: 300.3 kB / 469.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.1176, allocations: 124.9 kB / 469.3 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.1177, allocations: 121.7 kB / 469.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.216e-05/0.1177, allocations: 184.2 kB / 469.6 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.028e-05/0.1178, allocations: 184.3 kB / 469.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.738e-05/0.1179, allocations: 180.2 kB / 469.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.1181, allocations: 441.2 kB / 470.4 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.556e-05/0.1182, allocations: 105 kB / 470.5 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.1182, allocations: 104.9 kB / 470.6 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.964e-05/0.1183, allocations: 180.2 kB / 470.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.027e-05/0.1184, allocations: 184.2 kB / 470.9 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.785e-05/0.1184, allocations: 184.3 kB / 471.1 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.077e-05/0.1185, allocations: 180.2 kB / 471.3 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.1186, allocations: 315.6 kB / 471.6 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.1188, allocations: 197.9 kB / 471.8 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.788e-05/0.1188, allocations: 184.3 kB / 472 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1189, allocations: 109 kB / 472.1 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.432e-05/0.119, allocations: 184.2 kB / 472.3 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.1191, allocations: 101 kB / 472.4 MB, free: 4.121 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.1192, allocations: 168.2 kB / 472.5 MB, free: 3.957 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1192, allocations: 0 / 472.5 MB, free: 3.957 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1195, allocations: 4 kB / 472.5 MB, free: 3.953 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.0001065/0.1196, allocations: 176.8 kB / 472.7 MB, free: 3.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.625e-05/0.1196, allocations: 7.938 kB / 472.7 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1197, allocations: 0 / 472.7 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/0.1197, allocations: 0 / 472.7 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.1201, allocations: 461.9 kB / 473.2 MB, free: 3.309 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.1204, allocations: 307.7 kB / 473.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1208, allocations: 0.7119 MB / 474.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.353e-05/0.1208, allocations: 0 / 474.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.1208, allocations: 11.44 kB / 474.2 MB, free: 2.23 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1208, allocations: 4 kB / 474.2 MB, free: 2.227 MB / 302.1 MB Notification: Performance of Templates: time 0.002342/0.1232, allocations: 288.9 kB / 474.5 MB, free: 1.945 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 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)