Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 110.4 kB / 16.42 MB, free: 6.457 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.332/1.332, allocations: 222.9 MB / 240.1 MB, free: 4.488 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.001305/0.001305, allocations: 188.5 kB / 290.4 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03663/0.03663, allocations: 8.803 MB / 349.3 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 79.88 kB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08158/0.08319, allocations: 51.56 MB / 0.504 GB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.002213/0.08544, allocations: 1.388 MB / 0.5054 GB, free: 8.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.08663, allocations: 0.8604 MB / 0.5062 GB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.08668, allocations: 0 / 0.5062 GB, free: 7.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.08695, allocations: 91.67 kB / 0.5063 GB, free: 7.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.426e-05/0.08703, allocations: 15.86 kB / 0.5063 GB, free: 7.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008068/0.08784, allocations: 446 kB / 0.5068 GB, free: 6.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.08798, allocations: 43.84 kB / 0.5068 GB, free: 6.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.044e-05/0.08802, allocations: 3.938 kB / 0.5068 GB, free: 6.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.08809, allocations: 15.98 kB / 0.5068 GB, free: 6.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.646e-05/0.08814, allocations: 15.92 kB / 0.5068 GB, free: 6.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.08815, allocations: 0 / 0.5068 GB, free: 6.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.08839, allocations: 119.8 kB / 0.507 GB, free: 6.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.08841, allocations: 3.938 kB / 0.507 GB, free: 6.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.08844, allocations: 11.94 kB / 0.507 GB, free: 6.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.08865, allocations: 127.7 kB / 0.5071 GB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.08866, allocations: 0 / 0.5071 GB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08867, allocations: 0 / 0.5071 GB, free: 6.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.08868, allocations: 0 / 0.5071 GB, free: 6.344 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008507/0.08953, allocations: 427.3 kB / 0.5075 GB, free: 5.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.08957, allocations: 8.031 kB / 0.5075 GB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.08961, allocations: 8.844 kB / 0.5075 GB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.08972, allocations: 172.3 kB / 0.5077 GB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.08974, allocations: 8.312 kB / 0.5077 GB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.08975, allocations: 4.375 kB / 0.5077 GB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.08988, allocations: 54 kB / 0.5077 GB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.0899, allocations: 0 / 0.5077 GB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.08991, allocations: 0 / 0.5077 GB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.08992, allocations: 4 kB / 0.5078 GB, free: 5.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.09001, allocations: 35.98 kB / 0.5078 GB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.0902, allocations: 181.7 kB / 0.508 GB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.09036, allocations: 66.5 kB / 0.508 GB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.09042, allocations: 32.95 kB / 0.5081 GB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.09045, allocations: 4 kB / 0.5081 GB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.09047, allocations: 42.5 kB / 0.5081 GB, free: 5.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.09048, allocations: 4 kB / 0.5081 GB, free: 5.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002235/0.09071, allocations: 93.59 kB / 0.5082 GB, free: 5.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.09074, allocations: 59.34 kB / 0.5082 GB, free: 4.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.09082, allocations: 101.8 kB / 0.5083 GB, free: 4.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.09084, allocations: 29.7 kB / 0.5084 GB, free: 4.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.09088, allocations: 84.14 kB / 0.5085 GB, free: 4.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.09091, allocations: 23.64 kB / 0.5085 GB, free: 4.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.09096, allocations: 13.72 kB / 0.5085 GB, free: 4.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.09106, allocations: 326.8 kB / 0.5088 GB, free: 4.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.154e-05/0.09111, allocations: 23.92 kB / 0.5088 GB, free: 4.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.09115, allocations: 20.5 kB / 0.5088 GB, free: 4.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.693e-05/0.09124, allocations: 48.98 kB / 0.5089 GB, free: 4.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.09125, allocations: 0 / 0.5089 GB, free: 4.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001349/0.09139, allocations: 73.69 kB / 0.509 GB, free: 4.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.09141, allocations: 13.5 kB / 0.509 GB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.09142, allocations: 0 / 0.509 GB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.09145, allocations: 3.984 kB / 0.509 GB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.09155, allocations: 15.94 kB / 0.509 GB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.09157, allocations: 0 / 0.509 GB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.09162, allocations: 4 kB / 0.509 GB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.09164, allocations: 7.984 kB / 0.509 GB, free: 4.168 MB / 350.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 (6): * Single equations (assignments): 6 * 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 6.717e-05/0.09171, allocations: 113.7 kB / 0.5091 GB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.09173, allocations: 11.84 kB / 0.5091 GB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.09193, allocations: 102 kB / 0.5092 GB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.09194, allocations: 0 / 0.5092 GB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.09194, allocations: 0 / 0.5092 GB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.09198, allocations: 85.11 kB / 0.5093 GB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.092, allocations: 4 kB / 0.5093 GB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.09206, allocations: 0 / 0.5093 GB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.09208, allocations: 7.922 kB / 0.5093 GB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001924/0.09228, allocations: 169 kB / 0.5095 GB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001904/0.09248, allocations: 262.6 kB / 0.5097 GB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.265e-05/0.09254, allocations: 31.98 kB / 0.5098 GB, free: 3.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.066e-05/0.09258, allocations: 87.22 kB / 0.5098 GB, free: 3.25 MB / 350.1 MB Notification: Performance of Backend: time 3.51e-07/0.09258, allocations: 0 / 0.5098 GB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00045/0.09304, allocations: 162.3 kB / 0.51 GB, free: 3.086 MB / 350.1 MB Notification: Performance of SimCode: time 0.0004023/0.09345, allocations: 0.5951 MB / 0.5106 GB, free: 2.441 MB / 350.1 MB Notification: Performance of Templates: time 0.004014/0.09748, allocations: 1.901 MB / 0.5124 GB, free: 0.5391 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & ./HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1)