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.0008911/0.0008911, allocations: 92.16 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.266/1.266, allocations: 223.3 MB / 240 MB, free: 5.473 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.0009524/0.0009524, allocations: 180.5 kB / 291.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03451/0.03451, allocations: 8.815 MB / 351.2 MB, free: 4.555 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.000322, allocations: 9.906 kB / 414.5 MB, free: 42.76 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06421/0.06455, allocations: 52.56 MB / 467 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.000483/0.06507, allocations: 242.2 kB / 467.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.06612, allocations: 1.065 MB / 468.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.06616, allocations: 4 kB / 468.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.06635, allocations: 15.97 kB / 468.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.742e-05/0.06642, allocations: 23.91 kB / 468.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.665e-06/0.06643, allocations: 4 kB / 468.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.531e-05/0.06648, allocations: 23.92 kB / 468.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.06653, allocations: 4 kB / 468.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.06662, allocations: 19.92 kB / 468.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.06671, allocations: 23.91 kB / 468.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.06674, allocations: 3.938 kB / 468.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.06675, allocations: 4 kB / 468.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.06688, allocations: 71.84 kB / 468.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.06692, allocations: 53.39 kB / 468.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.046e-05/0.06697, allocations: 31.97 kB / 468.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.06698, allocations: 0 / 468.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.06698, allocations: 0 / 468.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.595e-06/0.06699, allocations: 0 / 468.6 MB, free: 11.47 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.0003493/0.06734, allocations: 399.2 kB / 469 MB, free: 11.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.06738, allocations: 16.02 kB / 469 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.06744, allocations: 88.03 kB / 469.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.06761, allocations: 284.2 kB / 469.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.06766, allocations: 150.9 kB / 469.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.0677, allocations: 150.9 kB / 469.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.586e-05/0.06775, allocations: 113.2 kB / 469.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.06778, allocations: 83.22 kB / 469.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.06783, allocations: 150.6 kB / 470 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.06787, allocations: 150.6 kB / 470.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.78e-05/0.06791, allocations: 154.6 kB / 470.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.06816, allocations: 485.9 kB / 470.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.658e-05/0.06823, allocations: 169.1 kB / 471 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.06826, allocations: 84.08 kB / 471 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.06829, allocations: 75.28 kB / 471.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.06833, allocations: 113.8 kB / 471.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.06833, allocations: 0 / 471.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.337e-05/0.0684, allocations: 41.61 kB / 471.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.06845, allocations: 126.7 kB / 471.4 MB, free: 8.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.06866, allocations: 231.8 kB / 471.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.627e-06/0.06867, allocations: 25.7 kB / 471.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.06873, allocations: 116.1 kB / 471.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.163e-06/0.06874, allocations: 0 / 471.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.06876, allocations: 9.719 kB / 471.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.964e-05/0.06885, allocations: 326.8 kB / 472.1 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-06/0.06886, allocations: 11.88 kB / 472.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-06/0.06887, allocations: 4 kB / 472.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.0689, allocations: 79.27 kB / 472.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/0.06892, allocations: 75.28 kB / 472.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.675e-05/0.06898, allocations: 41.52 kB / 472.3 MB, free: 7.559 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.06901, allocations: 83.22 kB / 472.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/0.06904, allocations: 83.27 kB / 472.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-05/0.06909, allocations: 154.6 kB / 472.6 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.14e-05/0.06912, allocations: 79.28 kB / 472.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-05/0.06916, allocations: 158.5 kB / 472.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.637e-05/0.06924, allocations: 79.27 kB / 472.9 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.06927, allocations: 79.22 kB / 473 MB, free: 6.852 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.0001058/0.06938, allocations: 280.4 kB / 473.3 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.06945, allocations: 124.7 kB / 473.4 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.0695, allocations: 121.5 kB / 473.5 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.667e-05/0.06955, allocations: 184.2 kB / 473.7 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.666e-05/0.06961, allocations: 180.2 kB / 473.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.67e-05/0.06966, allocations: 184.2 kB / 474 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.06986, allocations: 433.2 kB / 474.5 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.567e-05/0.0699, allocations: 101 kB / 474.6 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.06993, allocations: 116.9 kB / 474.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.222e-05/0.06998, allocations: 180.2 kB / 474.9 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.07004, allocations: 180.2 kB / 475 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.427e-05/0.07009, allocations: 184.2 kB / 475.2 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.312e-05/0.07014, allocations: 184.3 kB / 475.4 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.07025, allocations: 319.7 kB / 475.7 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.07032, allocations: 197.8 kB / 475.9 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.07038, allocations: 176.3 kB / 476.1 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.07046, allocations: 113 kB / 476.2 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.07052, allocations: 184.2 kB / 476.4 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.07055, allocations: 101 kB / 476.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.07069, allocations: 172.2 kB / 476.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07069, allocations: 0 / 476.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.07095, allocations: 4 kB / 476.6 MB, free: 2.992 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 7.854e-05/0.07103, allocations: 172 kB / 476.8 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 2.421e-05/0.07106, allocations: 11.94 kB / 476.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.07107, allocations: 3.938 kB / 476.8 MB, free: 2.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.07107, allocations: 0 / 476.8 MB, free: 2.801 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.07141, allocations: 0.5204 MB / 477.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.07173, allocations: 361 kB / 477.7 MB, free: 1.887 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.07195, allocations: 0.7121 MB / 478.4 MB, free: 1.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.43e-05/0.07197, allocations: 7.438 kB / 478.4 MB, free: 1.141 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.07198, allocations: 0 / 478.4 MB, free: 1.141 MB / 302.1 MB Notification: Performance of Templates: time 0.001591/0.07358, allocations: 0.7263 MB / 479.1 MB, free: 424 kB / 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)