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.000929/0.000929, allocations: 92.39 kB / 16.02 MB, free: 80 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.268/1.268, allocations: 223.3 MB / 240 MB, free: 5.422 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.0009539/0.0009539, allocations: 164.6 kB / 291.3 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03477/0.03477, allocations: 8.793 MB / 351.2 MB, free: 4.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 12.03 kB / 414.5 MB, free: 42.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06362/0.06396, allocations: 52.55 MB / 467 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.0004751/0.06445, allocations: 258.2 kB / 467.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.06558, allocations: 1.108 MB / 468.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.06562, allocations: 0 / 468.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.06576, allocations: 11.92 kB / 468.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.06589, allocations: 15.92 kB / 468.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.164e-05/0.06595, allocations: 15.98 kB / 468.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.042e-05/0.06602, allocations: 35.84 kB / 468.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.06607, allocations: 3.984 kB / 468.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.999e-05/0.06615, allocations: 23.94 kB / 468.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.06627, allocations: 43.81 kB / 468.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.06629, allocations: 4 kB / 468.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.06631, allocations: 0 / 468.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.06639, allocations: 35.89 kB / 468.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.06645, allocations: 53.44 kB / 468.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.894e-05/0.0665, allocations: 31.95 kB / 468.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.06651, allocations: 0 / 468.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.06651, allocations: 0 / 468.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.635e-06/0.06652, allocations: 4 kB / 468.7 MB, free: 11.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004375/0.06697, allocations: 395.3 kB / 469 MB, free: 11.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.067, allocations: 8.031 kB / 469.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.06704, allocations: 16.84 kB / 469.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.06723, allocations: 216.5 kB / 469.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.06724, allocations: 384 / 469.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.06726, allocations: 12.38 kB / 469.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.285e-05/0.06734, allocations: 45.94 kB / 469.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.06735, allocations: 0 / 469.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.06737, allocations: 0 / 469.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.06737, allocations: 0 / 469.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.06741, allocations: 19.97 kB / 469.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.06758, allocations: 189.7 kB / 469.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.027e-05/0.06765, allocations: 30.58 kB / 469.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.06768, allocations: 12.94 kB / 469.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.06771, allocations: 7.984 kB / 469.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.06774, allocations: 38.44 kB / 469.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.06774, allocations: 0 / 469.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.00015/0.0679, allocations: 65.53 kB / 469.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.06794, allocations: 59.39 kB / 469.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.06813, allocations: 214.3 kB / 470 MB, free: 9.961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.06815, allocations: 25.7 kB / 470 MB, free: 9.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.0682, allocations: 104.1 kB / 470.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.06824, allocations: 23.8 kB / 470.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.06826, allocations: 9.719 kB / 470.1 MB, free: 9.785 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.522e-05/0.06835, allocations: 322.8 kB / 470.4 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.06838, allocations: 4 kB / 470.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.0684, allocations: 8 kB / 470.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.06845, allocations: 28.78 kB / 470.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.06845, allocations: 0 / 470.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.007e-05/0.06854, allocations: 53.59 kB / 470.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.06856, allocations: 7.938 kB / 470.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.06857, allocations: 11.97 kB / 470.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.06858, allocations: 0 / 470.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.06866, allocations: 8 kB / 470.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.06867, allocations: 0 / 470.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.06872, allocations: 0 / 470.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.06874, allocations: 7.984 kB / 470.6 MB, free: 9.324 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 7.242e-05/0.06882, allocations: 129.7 kB / 470.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.06884, allocations: 15.75 kB / 470.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.06897, allocations: 66.61 kB / 470.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.06898, allocations: 4 kB / 470.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.06899, allocations: 0 / 470.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.06899, allocations: 0 / 470.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.06911, allocations: 178 kB / 471 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.06912, allocations: 0 / 471 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.06916, allocations: 8 kB / 471 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.06917, allocations: 3.938 kB / 471 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.06918, allocations: 0 / 471 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.06919, allocations: 3.984 kB / 471 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.0692, allocations: 4 kB / 471 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.13e-05/0.0693, allocations: 84.95 kB / 471.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.06935, allocations: 92.95 kB / 471.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.06938, allocations: 3.984 kB / 471.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.08e-05/0.06943, allocations: 7.938 kB / 471.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.06945, allocations: 4 kB / 471.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.06946, allocations: 0 / 471.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.06959, allocations: 168.2 kB / 471.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.0696, allocations: 4 kB / 471.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001895/0.0698, allocations: 8 kB / 471.3 MB, free: 8.449 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 5.93e-05/0.06986, allocations: 91.25 kB / 471.4 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.449e-05/0.06994, allocations: 23.92 kB / 471.5 MB, free: 8.324 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.06995, allocations: 0 / 471.5 MB, free: 8.324 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.861e-05/0.06997, allocations: 12 kB / 471.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.07013, allocations: 15.78 kB / 471.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.07045, allocations: 255.1 kB / 471.7 MB, free: 8.012 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.07067, allocations: 0.7043 MB / 472.4 MB, free: 7.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.07071, allocations: 11.44 kB / 472.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.07071, allocations: 0 / 472.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of Templates: time 0.001906/0.07262, allocations: 0.9137 MB / 473.4 MB, free: 6.359 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)