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.001203/0.001203, allocations: 114 kB / 16.42 MB, free: 6.465 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.413/1.413, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.001349/0.001349, allocations: 188.5 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03745/0.03745, allocations: 8.8 MB / 349.3 MB, free: 4.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 75.88 kB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09608, allocations: 51.56 MB / 0.504 GB, free: 9.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.002514/0.09862, allocations: 1.384 MB / 0.5054 GB, free: 8.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.09994, allocations: 0.8643 MB / 0.5062 GB, free: 7.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.1, allocations: 4 kB / 0.5062 GB, free: 7.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.1004, allocations: 91.61 kB / 0.5063 GB, free: 7.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.851e-05/0.1005, allocations: 11.92 kB / 0.5063 GB, free: 7.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008447/0.1013, allocations: 442 kB / 0.5068 GB, free: 6.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1015, allocations: 39.78 kB / 0.5068 GB, free: 6.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.1015, allocations: 12 kB / 0.5068 GB, free: 6.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.771e-05/0.1016, allocations: 15.98 kB / 0.5068 GB, free: 6.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.888e-05/0.1016, allocations: 7.938 kB / 0.5068 GB, free: 6.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.1016, allocations: 0 / 0.5068 GB, free: 6.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/0.1019, allocations: 123.8 kB / 0.507 GB, free: 6.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.1019, allocations: 7.875 kB / 0.507 GB, free: 6.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.102, allocations: 11.94 kB / 0.507 GB, free: 6.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1022, allocations: 135.6 kB / 0.5071 GB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1022, allocations: 3.938 kB / 0.5071 GB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1022, allocations: 0 / 0.5071 GB, free: 6.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1022, allocations: 0 / 0.5071 GB, free: 6.367 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.0008528/0.1031, allocations: 427 kB / 0.5075 GB, free: 5.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1031, allocations: 12.02 kB / 0.5075 GB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.1032, allocations: 0.9375 kB / 0.5075 GB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1033, allocations: 180.2 kB / 0.5077 GB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1033, allocations: 384 / 0.5077 GB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.1033, allocations: 4.375 kB / 0.5077 GB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1035, allocations: 61.98 kB / 0.5078 GB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1035, allocations: 0 / 0.5078 GB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1035, allocations: 4 kB / 0.5078 GB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1035, allocations: 0 / 0.5078 GB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.97e-05/0.1036, allocations: 35.98 kB / 0.5078 GB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.1038, allocations: 181.7 kB / 0.508 GB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.104, allocations: 70.48 kB / 0.508 GB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.104, allocations: 28.98 kB / 0.5081 GB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1041, allocations: 8 kB / 0.5081 GB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.1041, allocations: 38.5 kB / 0.5081 GB, free: 5.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1041, allocations: 0 / 0.5081 GB, free: 5.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.00024/0.1044, allocations: 89.69 kB / 0.5082 GB, free: 5.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.1044, allocations: 55.41 kB / 0.5083 GB, free: 5.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/0.1045, allocations: 106.1 kB / 0.5084 GB, free: 4.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1045, allocations: 29.7 kB / 0.5084 GB, free: 4.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.1045, allocations: 88.08 kB / 0.5085 GB, free: 4.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.1046, allocations: 31.72 kB / 0.5085 GB, free: 4.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.1046, allocations: 17.72 kB / 0.5085 GB, free: 4.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.1047, allocations: 318.8 kB / 0.5088 GB, free: 4.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.1048, allocations: 16 kB / 0.5088 GB, free: 4.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.1048, allocations: 20 kB / 0.5089 GB, free: 4.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.916e-05/0.1049, allocations: 48.84 kB / 0.5089 GB, free: 4.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1049, allocations: 0 / 0.5089 GB, free: 4.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001315/0.105, allocations: 81.64 kB / 0.509 GB, free: 4.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1051, allocations: 9.188 kB / 0.509 GB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1051, allocations: 8 kB / 0.509 GB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1051, allocations: 0 / 0.509 GB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1052, allocations: 11.94 kB / 0.509 GB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.1052, allocations: 0 / 0.509 GB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.1053, allocations: 0 / 0.509 GB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1053, allocations: 3.938 kB / 0.509 GB, free: 4.199 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 7.518e-05/0.1054, allocations: 125.7 kB / 0.5091 GB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.1054, allocations: 11.89 kB / 0.5091 GB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.1056, allocations: 102 kB / 0.5092 GB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1056, allocations: 0 / 0.5092 GB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1056, allocations: 0 / 0.5092 GB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.1056, allocations: 77.11 kB / 0.5093 GB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.1057, allocations: 7.984 kB / 0.5093 GB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.1057, allocations: 3.938 kB / 0.5093 GB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.1057, allocations: 0 / 0.5093 GB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001873/0.1059, allocations: 168.9 kB / 0.5095 GB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001839/0.1061, allocations: 266.9 kB / 0.5097 GB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.61e-05/0.1062, allocations: 36.36 kB / 0.5098 GB, free: 3.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.391e-05/0.1062, allocations: 87.28 kB / 0.5099 GB, free: 3.27 MB / 350.1 MB Notification: Performance of Backend: time 3.51e-07/0.1062, allocations: 0 / 0.5099 GB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000468/0.1067, allocations: 168.2 kB / 0.51 GB, free: 3.102 MB / 350.1 MB Notification: Performance of SimCode: time 0.0004117/0.1071, allocations: 0.5948 MB / 0.5106 GB, free: 2.457 MB / 350.1 MB Notification: Performance of Templates: time 0.004559/0.1117, allocations: 1.893 MB / 0.5124 GB, free: 0.5664 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)