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.001061/0.001061, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.45/1.45, allocations: 223.3 MB / 239 MB, free: 5.469 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.00132/0.00132, allocations: 184.5 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0332/0.0332, allocations: 8.803 MB / 350.2 MB, free: 4.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004091, allocations: 10.53 kB / 413.2 MB, free: 43.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.09705, allocations: 52.56 MB / 465.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.001557/0.09865, allocations: 1.076 MB / 466.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.09978, allocations: 0.7639 MB / 467.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.09984, allocations: 0 / 467.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.1001, allocations: 75.75 kB / 467.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.1002, allocations: 7.922 kB / 467.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000693/0.1009, allocations: 362.8 kB / 468 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.1011, allocations: 39.78 kB / 468.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.1011, allocations: 0 / 468.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.143e-05/0.1012, allocations: 15.98 kB / 468.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.1013, allocations: 11.94 kB / 468.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.1013, allocations: 0 / 468.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.1015, allocations: 115.8 kB / 468.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.979e-06/0.1015, allocations: 4 kB / 468.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.1016, allocations: 29.7 kB / 468.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1017, allocations: 88.03 kB / 468.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1018, allocations: 0 / 468.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1018, allocations: 0 / 468.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1018, allocations: 0 / 468.3 MB, free: 10.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008792/0.1027, allocations: 435 kB / 468.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1027, allocations: 8.031 kB / 468.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.1028, allocations: 11.86 kB / 468.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1029, allocations: 163.1 kB / 468.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1029, allocations: 4 kB / 468.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1029, allocations: 0 / 468.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.1031, allocations: 53.69 kB / 469 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1031, allocations: 0 / 469 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1031, allocations: 0 / 469 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1031, allocations: 8 kB / 469 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.612e-05/0.1032, allocations: 35.94 kB / 469 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.1034, allocations: 185.5 kB / 469.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.1036, allocations: 74.61 kB / 469.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.1037, allocations: 28.97 kB / 469.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1037, allocations: 4 kB / 469.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1037, allocations: 30.56 kB / 469.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.1038, allocations: 7.938 kB / 469.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002464/0.104, allocations: 101.5 kB / 469.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.104, allocations: 51.41 kB / 469.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.1041, allocations: 109.8 kB / 469.6 MB, free: 9.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1042, allocations: 25.7 kB / 469.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.1042, allocations: 88.14 kB / 469.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.1042, allocations: 15.73 kB / 469.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.1043, allocations: 4 kB / 469.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1044, allocations: 318.8 kB / 470.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.1044, allocations: 16 kB / 470.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.575e-05/0.1045, allocations: 19.98 kB / 470.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.546e-05/0.1045, allocations: 20 kB / 470.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1045, allocations: 0 / 470.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001311/0.1047, allocations: 81.59 kB / 470.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1047, allocations: 7.938 kB / 470.2 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1047, allocations: 0 / 470.2 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1047, allocations: 4 kB / 470.2 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1048, allocations: 8 kB / 470.2 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1049, allocations: 4 kB / 470.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.817e-05/0.1049, allocations: 3.984 kB / 470.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1049, allocations: 3.953 kB / 470.2 MB, free: 8.848 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.201e-05/0.105, allocations: 114.5 kB / 470.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.105, allocations: 0 / 470.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.1052, allocations: 109.9 kB / 470.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1053, allocations: 4 kB / 470.4 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1053, allocations: 0 / 470.4 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.1053, allocations: 7.984 kB / 470.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.1055, allocations: 181.6 kB / 470.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1055, allocations: 8.625 kB / 470.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.85e-05/0.1056, allocations: 8 kB / 470.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1056, allocations: 0 / 470.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1056, allocations: 4 kB / 470.7 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1056, allocations: 8 kB / 470.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1056, allocations: 0 / 470.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.1058, allocations: 121 kB / 470.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.1059, allocations: 85.05 kB / 470.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.1059, allocations: 7.938 kB / 470.9 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.049e-05/0.1059, allocations: 0 / 470.9 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.106, allocations: 4 kB / 470.9 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.106, allocations: 0 / 470.9 MB, free: 8.094 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.734e-05/0.106, allocations: 87.27 kB / 471 MB, free: 8.008 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.106, allocations: 4 kB / 471 MB, free: 8.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002065/0.1062, allocations: 11.94 kB / 471 MB, free: 7.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000158/0.1064, allocations: 114.7 kB / 471.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.1065, allocations: 47.98 kB / 471.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1065, allocations: 0 / 471.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.296e-05/0.1066, allocations: 39.92 kB / 471.2 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.1068, allocations: 7.953 kB / 471.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.1071, allocations: 198.5 kB / 471.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1074, allocations: 0.6809 MB / 472.1 MB, free: 6.852 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.571e-05/0.1075, allocations: 4 kB / 472.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.1075, allocations: 11.44 kB / 472.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.615e-06/0.1075, allocations: 3.938 kB / 472.1 MB, free: 6.836 MB / 302.1 MB Notification: Performance of Templates: time 0.003206/0.1107, allocations: 0.7459 MB / 472.8 MB, free: 6.09 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: