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.001483/0.001483, allocations: 110.9 kB / 15.99 MB, free: 6.355 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.384/1.384, allocations: 222.9 MB / 239.6 MB, free: 4.734 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.00143/0.00143, allocations: 188.5 kB / 289.9 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0353/0.0353, allocations: 8.8 MB / 348.9 MB, free: 4.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 79.34 kB / 411.2 MB, free: 42.36 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.104, allocations: 51.56 MB / 462.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.00298/0.107, allocations: 1.438 MB / 464.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1085, allocations: 0.8489 MB / 465.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.1086, allocations: 0 / 465.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1089, allocations: 83.75 kB / 465.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.109, allocations: 7.922 kB / 465.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008999/0.11, allocations: 426.3 kB / 465.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1101, allocations: 39.8 kB / 465.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.1102, allocations: 8 kB / 465.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.324e-05/0.1103, allocations: 19.91 kB / 465.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.034e-05/0.1103, allocations: 11.94 kB / 465.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1103, allocations: 0 / 465.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.1106, allocations: 111.9 kB / 465.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.1106, allocations: 15.86 kB / 465.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.1107, allocations: 15.94 kB / 465.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1109, allocations: 83.83 kB / 465.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1109, allocations: 0 / 465.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1109, allocations: 0 / 465.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1109, allocations: 0 / 465.9 MB, free: 11.68 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.001038/0.112, allocations: 431.5 kB / 466.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.112, allocations: 8.031 kB / 466.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.1121, allocations: 16.84 kB / 466.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1122, allocations: 168.3 kB / 466.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1122, allocations: 4.375 kB / 466.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.1123, allocations: 4.375 kB / 466.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1124, allocations: 54 kB / 466.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1124, allocations: 0 / 466.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1124, allocations: 0 / 466.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1124, allocations: 0 / 466.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1126, allocations: 39.92 kB / 466.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.1128, allocations: 189.6 kB / 466.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.113, allocations: 66.56 kB / 466.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.999e-05/0.1131, allocations: 28.97 kB / 466.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1131, allocations: 0 / 466.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.1132, allocations: 38.5 kB / 466.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1132, allocations: 0 / 466.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002651/0.1134, allocations: 101.6 kB / 467 MB, free: 10.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1135, allocations: 59.41 kB / 467.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.041e-05/0.1136, allocations: 105.8 kB / 467.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1136, allocations: 25.7 kB / 467.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.1136, allocations: 84.14 kB / 467.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.1137, allocations: 19.66 kB / 467.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.1137, allocations: 21.7 kB / 467.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1139, allocations: 314.8 kB / 467.6 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-05/0.1139, allocations: 19.98 kB / 467.7 MB, free: 9.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.114, allocations: 23.94 kB / 467.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.029e-05/0.1141, allocations: 49.42 kB / 467.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1141, allocations: 0 / 467.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001354/0.1142, allocations: 85.62 kB / 467.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1143, allocations: 11.94 kB / 467.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1143, allocations: 0 / 467.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1143, allocations: 0 / 467.8 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1144, allocations: 11.98 kB / 467.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1144, allocations: 0 / 467.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.1145, allocations: 0 / 467.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.1145, allocations: 12 kB / 467.9 MB, free: 9.508 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 8.065e-05/0.1146, allocations: 110.4 kB / 468 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.1146, allocations: 11.84 kB / 468 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.1148, allocations: 110 kB / 468.1 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1148, allocations: 0 / 468.1 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1149, allocations: 0 / 468.1 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1149, allocations: 0 / 468.1 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.115, allocations: 185.6 kB / 468.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.115, allocations: 0 / 468.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.37e-05/0.1151, allocations: 16 kB / 468.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-06/0.1151, allocations: 7.922 kB / 468.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1152, allocations: 0 / 468.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1152, allocations: 0 / 468.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1152, allocations: 0 / 468.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.1153, allocations: 117 kB / 468.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.1154, allocations: 84.98 kB / 468.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.1154, allocations: 4 kB / 468.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.696e-05/0.1155, allocations: 4 kB / 468.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.1155, allocations: 7.969 kB / 468.5 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1155, allocations: 8 kB / 468.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.904e-05/0.1156, allocations: 79.34 kB / 468.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1156, allocations: 0 / 468.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002032/0.1158, allocations: 16 kB / 468.6 MB, free: 8.656 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.0001663/0.1159, allocations: 107.4 kB / 468.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.1161, allocations: 63.92 kB / 468.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1161, allocations: 3.938 kB / 468.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.605e-05/0.1162, allocations: 36.12 kB / 468.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.1163, allocations: 4 kB / 468.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.1167, allocations: 221.8 kB / 469 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.117, allocations: 0.6807 MB / 469.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.117, allocations: 11.44 kB / 469.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.117, allocations: 3.938 kB / 469.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of Templates: time 0.002542/0.1196, allocations: 0.9277 MB / 470.6 MB, free: 6.543 MB / 302.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)