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.0009017/0.0009015, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.41/1.41, allocations: 223.3 MB / 239 MB, free: 5.617 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.001038/0.001038, allocations: 176.5 kB / 290.3 MB, free: 2.301 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.801 MB / 350.2 MB, free: 4.746 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003926, allocations: 9.734 kB / 413.2 MB, free: 43.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1099, allocations: 52.56 MB / 465.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.0008675/0.1108, allocations: 234.2 kB / 466 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.113, allocations: 1.059 MB / 467 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.1131, allocations: 0 / 467 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.1134, allocations: 15.98 kB / 467.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.1135, allocations: 27.91 kB / 467.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.967e-06/0.1135, allocations: 0 / 467.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.72e-05/0.1136, allocations: 19.92 kB / 467.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.084e-05/0.1137, allocations: 3.984 kB / 467.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1138, allocations: 19.92 kB / 467.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.114, allocations: 23.91 kB / 467.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.114, allocations: 0 / 467.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.849e-05/0.1141, allocations: 4 kB / 467.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.1143, allocations: 75.83 kB / 467.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.1143, allocations: 37.58 kB / 467.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.066e-05/0.1144, allocations: 27.98 kB / 467.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1144, allocations: 0 / 467.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1144, allocations: 0 / 467.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1145, allocations: 0 / 467.3 MB, free: 12.04 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.0006196/0.1151, allocations: 404.8 kB / 467.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.1152, allocations: 12.03 kB / 467.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.801e-05/0.1153, allocations: 91.05 kB / 467.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.1156, allocations: 271.1 kB / 468.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/0.1157, allocations: 150.6 kB / 468.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.613e-05/0.1158, allocations: 158.5 kB / 468.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.127e-05/0.1159, allocations: 105 kB / 468.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.289e-05/0.1159, allocations: 75.28 kB / 468.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-05/0.116, allocations: 158.5 kB / 468.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-05/0.1161, allocations: 150.6 kB / 468.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.781e-05/0.1162, allocations: 154.5 kB / 469 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.1167, allocations: 485.9 kB / 469.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1169, allocations: 173.1 kB / 469.6 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.1169, allocations: 80.14 kB / 469.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/0.117, allocations: 75.28 kB / 469.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.483e-05/0.1171, allocations: 113.8 kB / 469.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.684e-06/0.1171, allocations: 0 / 469.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001343/0.1173, allocations: 45.45 kB / 469.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.1173, allocations: 130.7 kB / 470.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.1178, allocations: 235.7 kB / 470.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.1178, allocations: 25.7 kB / 470.3 MB, free: 8.797 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1179, allocations: 116.1 kB / 470.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.1179, allocations: 0 / 470.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-07/0.1179, allocations: 0 / 470.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1181, allocations: 334.8 kB / 470.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-06/0.1181, allocations: 0 / 470.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-06/0.1181, allocations: 0 / 470.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.558e-05/0.1182, allocations: 79.27 kB / 470.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.085e-05/0.1182, allocations: 75.28 kB / 470.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001099/0.1184, allocations: 41.69 kB / 471 MB, free: 8.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/0.1184, allocations: 79.28 kB / 471 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.086e-05/0.1185, allocations: 79.27 kB / 471.1 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-05/0.1186, allocations: 162.6 kB / 471.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.451e-05/0.1187, allocations: 79.22 kB / 471.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.938e-05/0.1187, allocations: 150.6 kB / 471.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1189, allocations: 83.27 kB / 471.6 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.119, allocations: 91.17 kB / 471.7 MB, free: 7.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.1192, allocations: 288.3 kB / 471.9 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1193, allocations: 112.8 kB / 472.1 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.154e-05/0.1194, allocations: 129.5 kB / 472.2 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.131e-05/0.1195, allocations: 176.3 kB / 472.3 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.301e-05/0.1196, allocations: 184.2 kB / 472.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.42e-05/0.1197, allocations: 180.3 kB / 472.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.1201, allocations: 441.2 kB / 473.1 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.164e-05/0.1202, allocations: 104.9 kB / 473.2 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.1203, allocations: 105 kB / 473.3 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-05/0.1204, allocations: 184.2 kB / 473.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-05/0.1205, allocations: 180.3 kB / 473.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.036e-05/0.1206, allocations: 180.3 kB / 473.9 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-05/0.1207, allocations: 184.2 kB / 474.1 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.1209, allocations: 323.5 kB / 474.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.1211, allocations: 186 kB / 474.6 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.1212, allocations: 184.3 kB / 474.7 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.1214, allocations: 108.9 kB / 474.8 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.1215, allocations: 176.3 kB / 475 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/0.1216, allocations: 112.9 kB / 475.1 MB, free: 3.746 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002633/0.1218, allocations: 172.2 kB / 475.3 MB, free: 3.578 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1219, allocations: 0 / 475.3 MB, free: 3.578 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004936/0.1224, allocations: 4 kB / 475.3 MB, free: 3.574 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 (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.0001721/0.1225, allocations: 171.1 kB / 475.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.771e-05/0.1226, allocations: 4 kB / 475.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1226, allocations: 0 / 475.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.976e-06/0.1226, allocations: 0 / 475.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006048/0.1233, allocations: 0.5224 MB / 476 MB, free: 2.863 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.1239, allocations: 322.7 kB / 476.3 MB, free: 2.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.1243, allocations: 0.7082 MB / 477 MB, free: 1.781 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.498e-05/0.1243, allocations: 8 kB / 477 MB, free: 1.773 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.1244, allocations: 7.438 kB / 477 MB, free: 1.766 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1244, allocations: 0 / 477 MB, free: 1.766 MB / 302.1 MB Notification: Performance of Templates: time 0.003507/0.1279, allocations: 280.3 kB / 477.3 MB, free: 1.492 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: