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.0007572/0.0007573, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.382/1.382, allocations: 223.3 MB / 239.4 MB, free: 5.516 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.001311/0.001311, allocations: 191.5 kB / 290.6 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03529/0.03529, allocations: 8.793 MB / 350.5 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 9.562 kB / 413.8 MB, free: 42.79 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08575/0.08612, allocations: 52.56 MB / 466.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.0006475/0.08681, allocations: 270.2 kB / 466.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.08818, allocations: 1.104 MB / 467.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.08824, allocations: 0 / 467.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.0884, allocations: 7.984 kB / 467.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.08856, allocations: 27.91 kB / 467.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.997e-05/0.08864, allocations: 7.984 kB / 467.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.976e-05/0.08871, allocations: 35.86 kB / 467.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.08877, allocations: 0 / 467.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.764e-05/0.08887, allocations: 31.84 kB / 467.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.089, allocations: 35.89 kB / 467.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.08903, allocations: 0 / 467.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.358e-05/0.08905, allocations: 4 kB / 467.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.08914, allocations: 39.89 kB / 467.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.477e-05/0.0892, allocations: 53.44 kB / 468 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.892e-05/0.08928, allocations: 43.77 kB / 468 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.08929, allocations: 0 / 468 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.08929, allocations: 0 / 468 MB, free: 11.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.08931, allocations: 0 / 468 MB, free: 11.49 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.0005333/0.08985, allocations: 399.3 kB / 468.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.08989, allocations: 12.03 kB / 468.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.08994, allocations: 12.84 kB / 468.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.09015, allocations: 228.4 kB / 468.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.09017, allocations: 384 / 468.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.09019, allocations: 4.375 kB / 468.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.555e-05/0.09028, allocations: 42 kB / 468.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.0903, allocations: 0 / 468.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.09031, allocations: 0 / 468.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.09032, allocations: 0 / 468.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.634e-05/0.09036, allocations: 11.98 kB / 468.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.09058, allocations: 193.7 kB / 468.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.606e-05/0.09067, allocations: 34.52 kB / 468.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.0907, allocations: 16.94 kB / 468.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.09073, allocations: 0 / 468.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.09076, allocations: 34.5 kB / 469 MB, free: 10.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.09077, allocations: 7.938 kB / 469 MB, free: 10.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001617/0.09094, allocations: 57.59 kB / 469 MB, free: 10.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.09098, allocations: 55.41 kB / 469.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.09118, allocations: 218.3 kB / 469.3 MB, free: 10 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.0912, allocations: 29.64 kB / 469.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.09126, allocations: 104.1 kB / 469.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.0913, allocations: 15.8 kB / 469.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.09133, allocations: 9.719 kB / 469.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.09145, allocations: 326.8 kB / 469.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.09147, allocations: 8 kB / 469.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.09149, allocations: 8 kB / 469.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.09154, allocations: 24.84 kB / 469.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.09155, allocations: 0 / 469.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.127e-05/0.09165, allocations: 53.59 kB / 469.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.09167, allocations: 7.938 kB / 469.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.09168, allocations: 0 / 469.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.0917, allocations: 7.984 kB / 469.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.633e-05/0.09178, allocations: 7.938 kB / 469.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.0918, allocations: 0 / 469.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.09185, allocations: 4 kB / 469.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.09187, allocations: 12.31 kB / 469.9 MB, free: 9.359 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.631e-05/0.09196, allocations: 121.8 kB / 470 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.09199, allocations: 15.75 kB / 470.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.09213, allocations: 66.59 kB / 470.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.09214, allocations: 4 kB / 470.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.09215, allocations: 0 / 470.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.09216, allocations: 0 / 470.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.0923, allocations: 181.6 kB / 470.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.09231, allocations: 0 / 470.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.09236, allocations: 11.94 kB / 470.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.09237, allocations: 3.938 kB / 470.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.09238, allocations: 0 / 470.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.09239, allocations: 4 kB / 470.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.0924, allocations: 3.984 kB / 470.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.09251, allocations: 77.03 kB / 470.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.09258, allocations: 96.95 kB / 470.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.0926, allocations: 3.984 kB / 470.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.09266, allocations: 8 kB / 470.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.09268, allocations: 0 / 470.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.09269, allocations: 0 / 470.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.09282, allocations: 168.2 kB / 470.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09283, allocations: 0 / 470.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001811/0.09302, allocations: 15.94 kB / 470.7 MB, free: 8.488 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 9.397e-05/0.09312, allocations: 91.25 kB / 470.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.633e-05/0.09321, allocations: 27.86 kB / 470.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.09322, allocations: 4 kB / 470.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/0.09324, allocations: 8 kB / 470.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.09341, allocations: 13.95 kB / 470.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.09378, allocations: 223 kB / 471 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.09404, allocations: 0.7096 MB / 471.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.115e-05/0.0941, allocations: 16.25 kB / 471.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.09413, allocations: 11.44 kB / 471.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.09414, allocations: 0 / 471.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of Templates: time 0.002507/0.09665, allocations: 0.5473 MB / 472.3 MB, free: 6.781 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: