Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.363/1.363, allocations: 222.9 MB / 239 MB, free: 4.637 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.001412/0.001412, allocations: 192.5 kB / 289.2 MB, free: 2.379 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03326/0.03326, allocations: 8.794 MB / 348.2 MB, free: 4.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 75.17 kB / 410.6 MB, free: 42.28 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1255, allocations: 51.56 MB / 462.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.0017/0.1272, allocations: 0.5831 MB / 462.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1286, allocations: 1.116 MB / 463.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.1286, allocations: 3.938 kB / 463.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.1288, allocations: 15.98 kB / 463.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.896e-05/0.1289, allocations: 11.92 kB / 463.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.823e-05/0.129, allocations: 11.98 kB / 463.9 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.764e-05/0.129, allocations: 35.84 kB / 463.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.1291, allocations: 8 kB / 463.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1292, allocations: 31.84 kB / 464 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1293, allocations: 35.89 kB / 464 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1294, allocations: 4 kB / 464 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.1294, allocations: 4 kB / 464 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.818e-05/0.1295, allocations: 31.91 kB / 464 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.1295, allocations: 31.72 kB / 464.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.337e-05/0.1296, allocations: 55.69 kB / 464.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1296, allocations: 0 / 464.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1296, allocations: 0 / 464.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1296, allocations: 0 / 464.1 MB, free: 12.76 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000535/0.1302, allocations: 407.2 kB / 464.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1302, allocations: 12.02 kB / 464.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.1303, allocations: 12.75 kB / 464.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1305, allocations: 216.6 kB / 464.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1305, allocations: 384 / 464.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1305, allocations: 384 / 464.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.306e-05/0.1306, allocations: 46 kB / 464.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1306, allocations: 0 / 464.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.1307, allocations: 0 / 464.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1307, allocations: 4 kB / 464.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.553e-05/0.1307, allocations: 11.94 kB / 464.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.1309, allocations: 189.7 kB / 465 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.663e-05/0.131, allocations: 38.55 kB / 465 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.131, allocations: 12.86 kB / 465 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.131, allocations: 96 / 465 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1311, allocations: 42.48 kB / 465.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.1311, allocations: 4 kB / 465.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001788/0.1313, allocations: 65.44 kB / 465.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.1313, allocations: 59.41 kB / 465.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1315, allocations: 210.3 kB / 465.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1315, allocations: 29.7 kB / 465.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.1316, allocations: 108.1 kB / 465.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.1316, allocations: 11.84 kB / 465.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.1317, allocations: 17.7 kB / 465.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1318, allocations: 326.8 kB / 465.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.1318, allocations: 4 kB / 465.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.493e-05/0.1318, allocations: 11.94 kB / 465.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.036e-05/0.1319, allocations: 24.84 kB / 465.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1319, allocations: 0 / 465.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.747e-05/0.132, allocations: 57.53 kB / 466 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.132, allocations: 11.94 kB / 466 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.132, allocations: 0 / 466 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.132, allocations: 0 / 466 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.1321, allocations: 11.98 kB / 466 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1321, allocations: 0 / 466 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.942e-05/0.1322, allocations: 4 kB / 466 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.1322, allocations: 0 / 466 MB, free: 10.63 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 (3): * Single equations (assignments): 3 * 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 8.061e-05/0.1323, allocations: 125.8 kB / 466.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.1323, allocations: 15.75 kB / 466.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.1324, allocations: 74.55 kB / 466.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1325, allocations: 0 / 466.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1325, allocations: 0 / 466.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1325, allocations: 4 kB / 466.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.1326, allocations: 181.6 kB / 466.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1326, allocations: 0 / 466.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.1326, allocations: 4 kB / 466.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1327, allocations: 8.312 kB / 466.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.1327, allocations: 0 / 466.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1327, allocations: 0 / 466.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1327, allocations: 0 / 466.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.599e-05/0.1328, allocations: 93 kB / 466.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.1328, allocations: 92.86 kB / 466.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.1329, allocations: 0 / 466.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.1329, allocations: 7.984 kB / 466.6 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.1329, allocations: 3.938 kB / 466.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1329, allocations: 0 / 466.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.1331, allocations: 172.2 kB / 466.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1331, allocations: 3.938 kB / 466.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001746/0.1333, allocations: 8 kB / 466.8 MB, free: 9.746 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 (3): * Single equations (assignments): 3 * 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 8.061e-05/0.1333, allocations: 97.12 kB / 466.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.542e-05/0.1334, allocations: 19.98 kB / 466.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1334, allocations: 4 kB / 466.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.758e-05/0.1335, allocations: 11.94 kB / 466.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.1336, allocations: 8 kB / 466.9 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.134, allocations: 221.3 kB / 467.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.1342, allocations: 0.7002 MB / 467.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.832e-05/0.1343, allocations: 23.91 kB / 467.9 MB, free: 8.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.1343, allocations: 15.38 kB / 467.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1343, allocations: 0 / 467.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of Templates: time 0.002419/0.1367, allocations: 0.5671 MB / 468.5 MB, free: 8.023 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1)