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.000865/0.0008649, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.39/1.39, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.001101/0.001101, allocations: 176.5 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03291/0.03291, allocations: 8.808 MB / 350.5 MB, free: 4.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005405/0.0005404, allocations: 11.77 kB / 413.8 MB, free: 42.79 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1084, allocations: 52.56 MB / 466.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.001348/0.1098, allocations: 1.103 MB / 467.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1109, allocations: 0.8101 MB / 468.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.862e-05/0.111, allocations: 0 / 468.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.1113, allocations: 87.73 kB / 468.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.978e-05/0.1113, allocations: 11.92 kB / 468.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007399/0.1121, allocations: 436.8 kB / 468.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1122, allocations: 35.84 kB / 468.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.1123, allocations: 7.938 kB / 468.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.1124, allocations: 15.92 kB / 468.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.898e-05/0.1124, allocations: 11.92 kB / 468.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1124, allocations: 4 kB / 468.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.1126, allocations: 111.9 kB / 469 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.1127, allocations: 7.938 kB / 469 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.1127, allocations: 37.64 kB / 469 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1129, allocations: 127.9 kB / 469.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1129, allocations: 0 / 469.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1129, allocations: 0 / 469.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1129, allocations: 0 / 469.2 MB, free: 10.37 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.000841/0.1138, allocations: 431.2 kB / 469.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1138, allocations: 8.031 kB / 469.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.1139, allocations: 8.844 kB / 469.6 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.114, allocations: 172.4 kB / 469.8 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.114, allocations: 4.375 kB / 469.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.114, allocations: 384 / 469.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1142, allocations: 58 kB / 469.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1142, allocations: 0 / 469.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1142, allocations: 3.984 kB / 469.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1142, allocations: 4 kB / 469.8 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.466e-05/0.1143, allocations: 39.92 kB / 469.9 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.1145, allocations: 177.6 kB / 470 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.1147, allocations: 70.62 kB / 470.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.1147, allocations: 32.97 kB / 470.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1147, allocations: 0 / 470.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.1148, allocations: 34.5 kB / 470.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.1148, allocations: 4 kB / 470.2 MB, free: 9.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002311/0.115, allocations: 101.5 kB / 470.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.1151, allocations: 55.41 kB / 470.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/0.1151, allocations: 105.8 kB / 470.4 MB, free: 8.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1152, allocations: 25.7 kB / 470.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.1152, allocations: 84.14 kB / 470.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.1153, allocations: 27.58 kB / 470.6 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.1153, allocations: 13.72 kB / 470.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1154, allocations: 314.8 kB / 470.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.1154, allocations: 27.92 kB / 470.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.1155, allocations: 16 kB / 470.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.074e-05/0.1156, allocations: 48.86 kB / 471 MB, free: 8.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1156, allocations: 0 / 471 MB, free: 8.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001276/0.1157, allocations: 78.25 kB / 471.1 MB, free: 8.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1157, allocations: 7.938 kB / 471.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1157, allocations: 0 / 471.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1158, allocations: 0 / 471.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1159, allocations: 15.98 kB / 471.1 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1159, allocations: 4.062 kB / 471.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.116, allocations: 8 kB / 471.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.116, allocations: 0 / 471.1 MB, free: 8.207 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.1161, allocations: 118.4 kB / 471.2 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.1161, allocations: 7.844 kB / 471.2 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.1164, allocations: 106 kB / 471.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1164, allocations: 0 / 471.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1164, allocations: 4 kB / 471.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1164, allocations: 4 kB / 471.3 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.1166, allocations: 181.6 kB / 471.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1166, allocations: 0 / 471.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.537e-05/0.1166, allocations: 12 kB / 471.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1167, allocations: 3.938 kB / 471.5 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1167, allocations: 3.984 kB / 471.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1167, allocations: 0 / 471.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1167, allocations: 4 kB / 471.5 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.1168, allocations: 113 kB / 471.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.1169, allocations: 92.98 kB / 471.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1169, allocations: 0 / 471.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.489e-05/0.117, allocations: 4 kB / 471.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.117, allocations: 7.984 kB / 471.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.117, allocations: 0 / 471.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.859e-05/0.117, allocations: 79.28 kB / 471.8 MB, free: 7.375 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.117, allocations: 0 / 471.8 MB, free: 7.375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001892/0.1172, allocations: 16 kB / 471.8 MB, free: 7.359 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001238/0.1174, allocations: 123.2 kB / 472 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.1175, allocations: 51.92 kB / 472 MB, free: 7.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1175, allocations: 0 / 472 MB, free: 7.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.1176, allocations: 28 kB / 472 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.1177, allocations: 15.92 kB / 472.1 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.118, allocations: 206.6 kB / 472.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.1183, allocations: 0.6809 MB / 472.9 MB, free: 6.199 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.33e-05/0.1183, allocations: 11.98 kB / 472.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.1184, allocations: 11.44 kB / 473 MB, free: 6.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1184, allocations: 0 / 473 MB, free: 6.18 MB / 302.1 MB Notification: Performance of Templates: time 0.002782/0.1211, allocations: 0.7621 MB / 473.7 MB, free: 5.418 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: