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.001402/0.001402, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.403/1.403, allocations: 222.9 MB / 239 MB, free: 4.707 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.001912/0.001912, allocations: 188.4 kB / 289.2 MB, free: 2.453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03504/0.03504, allocations: 8.8 MB / 348.2 MB, free: 4.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 78 kB / 410.6 MB, free: 42.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1386, allocations: 51.57 MB / 462.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.002305/0.141, allocations: 0.5655 MB / 462.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.1429, allocations: 1.085 MB / 463.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.1429, allocations: 0 / 463.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.1433, allocations: 27.91 kB / 463.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.449e-05/0.1434, allocations: 11.98 kB / 463.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.769e-06/0.1434, allocations: 0 / 463.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.018e-05/0.1435, allocations: 27.91 kB / 463.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.1436, allocations: 0 / 463.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.1437, allocations: 27.86 kB / 463.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.1439, allocations: 31.89 kB / 463.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.1439, allocations: 4 kB / 463.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.144, allocations: 0 / 463.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.1442, allocations: 63.86 kB / 464 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.1442, allocations: 27.69 kB / 464 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.749e-05/0.1443, allocations: 59.77 kB / 464.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1443, allocations: 0 / 464.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1444, allocations: 0 / 464.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1444, allocations: 0 / 464.1 MB, free: 12.79 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.0005794/0.145, allocations: 407 kB / 464.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.145, allocations: 8.031 kB / 464.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.033e-05/0.1451, allocations: 88.12 kB / 464.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.1454, allocations: 280.2 kB / 464.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.1454, allocations: 154.9 kB / 465 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.1455, allocations: 150.9 kB / 465.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.035e-05/0.1456, allocations: 113.2 kB / 465.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.1456, allocations: 79.28 kB / 465.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/0.1457, allocations: 154.6 kB / 465.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/0.1457, allocations: 154.6 kB / 465.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.716e-05/0.1458, allocations: 150.6 kB / 465.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.1462, allocations: 481.9 kB / 466.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.839e-05/0.1463, allocations: 169.1 kB / 466.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.1463, allocations: 84.14 kB / 466.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.1464, allocations: 75.28 kB / 466.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.01e-05/0.1464, allocations: 113.8 kB / 466.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1464, allocations: 3.938 kB / 466.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001021/0.1466, allocations: 41.52 kB / 466.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/0.1466, allocations: 130.6 kB / 466.8 MB, free: 9.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.147, allocations: 243.7 kB / 467.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.147, allocations: 25.7 kB / 467.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.1471, allocations: 116.1 kB / 467.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.1471, allocations: 0 / 467.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.1471, allocations: 9.719 kB / 467.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1473, allocations: 330.8 kB / 467.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-06/0.1473, allocations: 0 / 467.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-06/0.1473, allocations: 0 / 467.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.06e-05/0.1474, allocations: 75.28 kB / 467.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.025e-05/0.1474, allocations: 79.28 kB / 467.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.321e-05/0.1475, allocations: 49.55 kB / 467.8 MB, free: 8.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/0.1476, allocations: 83.22 kB / 467.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.74e-05/0.1476, allocations: 83.22 kB / 467.9 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.833e-05/0.1477, allocations: 150.6 kB / 468.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.458e-05/0.1477, allocations: 83.2 kB / 468.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.355e-05/0.1478, allocations: 158.6 kB / 468.3 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.1479, allocations: 79.28 kB / 468.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.148, allocations: 79.22 kB / 468.5 MB, free: 8.164 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.0001706/0.1482, allocations: 284.4 kB / 468.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.1483, allocations: 112.8 kB / 468.8 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.449e-05/0.1483, allocations: 125.5 kB / 469 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.456e-05/0.1484, allocations: 184.2 kB / 469.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.97e-05/0.1485, allocations: 176.3 kB / 469.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.899e-05/0.1486, allocations: 184.2 kB / 469.5 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.1489, allocations: 437.2 kB / 469.9 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.33e-05/0.149, allocations: 104.9 kB / 470 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.203e-05/0.1491, allocations: 109 kB / 470.1 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.1492, allocations: 180.2 kB / 470.3 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.86e-05/0.1493, allocations: 188.2 kB / 470.5 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.802e-05/0.1494, allocations: 180.3 kB / 470.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.993e-05/0.1495, allocations: 184.2 kB / 470.8 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.1497, allocations: 319.6 kB / 471.2 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.1498, allocations: 193.9 kB / 471.3 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.1499, allocations: 184.2 kB / 471.5 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.1501, allocations: 104.9 kB / 471.6 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.448e-05/0.1502, allocations: 184.3 kB / 471.8 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.1502, allocations: 108.9 kB / 471.9 MB, free: 4.477 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.1504, allocations: 172.2 kB / 472.1 MB, free: 4.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1504, allocations: 0 / 472.1 MB, free: 4.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003846/0.1508, allocations: 4 kB / 472.1 MB, free: 4.305 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.0001284/0.151, allocations: 168.8 kB / 472.3 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.037e-05/0.151, allocations: 496 / 472.3 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.151, allocations: 3.938 kB / 472.3 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.151, allocations: 0 / 472.3 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.1516, allocations: 463.7 kB / 472.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.1521, allocations: 325.1 kB / 473 MB, free: 3.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.1525, allocations: 0.7157 MB / 473.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.613e-05/0.1525, allocations: 4 kB / 473.7 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.1526, allocations: 7.438 kB / 473.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1526, allocations: 0 / 473.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of Templates: time 0.0029/0.1555, allocations: 283.5 kB / 474 MB, free: 2.293 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)