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.000759/0.000759, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.379/1.379, allocations: 223.3 MB / 239.4 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.001261/0.001261, allocations: 180.5 kB / 290.6 MB, free: 2.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03344/0.03344, allocations: 8.797 MB / 350.5 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003766, allocations: 9.719 kB / 413.8 MB, free: 42.7 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09957/0.09996, allocations: 52.56 MB / 466.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.0006478/0.1007, allocations: 242.2 kB / 466.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1021, allocations: 1.065 MB / 467.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.1022, allocations: 0 / 467.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.1025, allocations: 23.91 kB / 467.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.936e-05/0.1026, allocations: 23.97 kB / 467.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.536e-06/0.1026, allocations: 0 / 467.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.511e-05/0.1027, allocations: 23.92 kB / 467.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.663e-05/0.1027, allocations: 7.938 kB / 467.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1028, allocations: 15.98 kB / 467.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.103, allocations: 27.84 kB / 467.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.103, allocations: 4 kB / 467.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.103, allocations: 0 / 467.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.1031, allocations: 71.84 kB / 467.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.1032, allocations: 53.39 kB / 467.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.825e-05/0.1033, allocations: 43.78 kB / 468 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1033, allocations: 0 / 468 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1033, allocations: 0 / 468 MB, free: 11.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1033, allocations: 0 / 468 MB, free: 11.54 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.0004591/0.1038, allocations: 403.2 kB / 468.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1038, allocations: 12.03 kB / 468.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.1039, allocations: 92.02 kB / 468.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1041, allocations: 280.2 kB / 468.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.399e-05/0.1042, allocations: 154.9 kB / 468.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.1043, allocations: 154.9 kB / 469 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.424e-05/0.1044, allocations: 121.2 kB / 469.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.1044, allocations: 75.28 kB / 469.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.1044, allocations: 150.6 kB / 469.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.1045, allocations: 150.6 kB / 469.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.532e-05/0.1046, allocations: 150.6 kB / 469.7 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.1049, allocations: 493.9 kB / 470.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.54e-05/0.105, allocations: 173 kB / 470.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.1051, allocations: 84.14 kB / 470.4 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.1051, allocations: 75.28 kB / 470.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.1052, allocations: 113.8 kB / 470.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.1052, allocations: 4 kB / 470.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.772e-05/0.1053, allocations: 33.61 kB / 470.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.1053, allocations: 130.7 kB / 470.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.1056, allocations: 231.7 kB / 471 MB, free: 8.312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1056, allocations: 25.7 kB / 471 MB, free: 8.281 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.1057, allocations: 116.1 kB / 471.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.1057, allocations: 0 / 471.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/0.1057, allocations: 9.719 kB / 471.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1059, allocations: 334.8 kB / 471.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-06/0.1059, allocations: 0 / 471.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.457e-06/0.1059, allocations: 0 / 471.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.1059, allocations: 75.28 kB / 471.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.231e-05/0.1059, allocations: 75.28 kB / 471.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.877e-05/0.106, allocations: 45.5 kB / 471.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.1061, allocations: 83.22 kB / 471.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/0.1061, allocations: 87.27 kB / 471.8 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.105e-05/0.1062, allocations: 154.6 kB / 472 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.519e-05/0.1062, allocations: 79.22 kB / 472 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.864e-05/0.1062, allocations: 158.5 kB / 472.2 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.13e-05/0.1063, allocations: 83.27 kB / 472.3 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.1064, allocations: 79.22 kB / 472.3 MB, free: 6.898 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.000145/0.1065, allocations: 284.4 kB / 472.6 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.1066, allocations: 116.7 kB / 472.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.1067, allocations: 129.5 kB / 472.9 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.678e-05/0.1067, allocations: 176.3 kB / 473 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.054e-05/0.1068, allocations: 176.3 kB / 473.2 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.34e-05/0.1069, allocations: 188.2 kB / 473.4 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.1071, allocations: 437.2 kB / 473.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.37e-05/0.1072, allocations: 104.9 kB / 473.9 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.1072, allocations: 109 kB / 474 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.875e-05/0.1073, allocations: 180.2 kB / 474.2 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.235e-05/0.1074, allocations: 188.1 kB / 474.4 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.026e-05/0.1075, allocations: 184.2 kB / 474.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.951e-05/0.1075, allocations: 184.2 kB / 474.7 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.1077, allocations: 311.7 kB / 475.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.1079, allocations: 201.8 kB / 475.2 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.108, allocations: 180.3 kB / 475.4 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.1081, allocations: 108.9 kB / 475.5 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.504e-05/0.1082, allocations: 180.3 kB / 475.7 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/0.1083, allocations: 105 kB / 475.8 MB, free: 3.211 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.1085, allocations: 172.1 kB / 476 MB, free: 3.043 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1085, allocations: 0 / 476 MB, free: 3.043 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1087, allocations: 4 kB / 476 MB, free: 3.039 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.0001405/0.1089, allocations: 176.8 kB / 476.2 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.91e-05/0.1089, allocations: 0 / 476.2 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.109, allocations: 0 / 476.2 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.109, allocations: 0 / 476.2 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.1094, allocations: 0.5245 MB / 476.7 MB, free: 2.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.1099, allocations: 323.3 kB / 477 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1102, allocations: 0.7082 MB / 477.7 MB, free: 1.246 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.099e-05/0.1103, allocations: 7.938 kB / 477.7 MB, free: 1.238 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.1103, allocations: 11.44 kB / 477.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1103, allocations: 0 / 477.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of Templates: time 0.002456/0.1127, allocations: 280.9 kB / 478 MB, free: 0.9531 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: