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.001649/0.001649, allocations: 101.8 kB / 16.35 MB, free: 5.824 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.492/1.492, allocations: 222.9 MB / 240 MB, free: 4.359 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.001882/0.001882, allocations: 192.5 kB / 290.3 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03448/0.03448, allocations: 8.794 MB / 349.3 MB, free: 4.562 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 83.06 kB / 412.5 MB, free: 41.78 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09951/0.101, allocations: 51.56 MB / 464.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.002475/0.1035, allocations: 1.387 MB / 465.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1047, allocations: 0.8565 MB / 466.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.1048, allocations: 4 kB / 466.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.1051, allocations: 91.61 kB / 466.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.1051, allocations: 11.94 kB / 466.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008039/0.1059, allocations: 450 kB / 466.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1061, allocations: 35.84 kB / 466.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.1061, allocations: 7.938 kB / 466.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.335e-05/0.1062, allocations: 15.92 kB / 466.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.1063, allocations: 15.92 kB / 466.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1063, allocations: 0 / 466.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.1065, allocations: 119.9 kB / 467.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.1065, allocations: 3.938 kB / 467.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.1066, allocations: 15.92 kB / 467.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.1068, allocations: 127.7 kB / 467.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1068, allocations: 0 / 467.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1068, allocations: 0 / 467.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1068, allocations: 0 / 467.2 MB, free: 10.45 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.0008809/0.1077, allocations: 431.3 kB / 467.6 MB, free: 9.984 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1078, allocations: 8.031 kB / 467.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.1078, allocations: 8.844 kB / 467.6 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.1079, allocations: 168.3 kB / 467.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1079, allocations: 384 / 467.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.108, allocations: 4.375 kB / 467.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1081, allocations: 58 kB / 467.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.1081, allocations: 0 / 467.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1081, allocations: 0 / 467.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1081, allocations: 0 / 467.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.1082, allocations: 39.92 kB / 467.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.1084, allocations: 185.5 kB / 468.1 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1086, allocations: 74.61 kB / 468.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.1087, allocations: 24.97 kB / 468.2 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.1087, allocations: 4 kB / 468.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1087, allocations: 34.5 kB / 468.2 MB, free: 9.273 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.001e-06/0.1087, allocations: 0 / 468.2 MB, free: 9.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002266/0.1089, allocations: 101.6 kB / 468.3 MB, free: 9.168 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.109, allocations: 55.41 kB / 468.4 MB, free: 9.102 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.61e-05/0.1091, allocations: 101.8 kB / 468.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1091, allocations: 29.7 kB / 468.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.1091, allocations: 88.08 kB / 468.6 MB, free: 8.867 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.1092, allocations: 23.64 kB / 468.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.1092, allocations: 17.72 kB / 468.6 MB, free: 8.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.1093, allocations: 318.8 kB / 468.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.216e-05/0.1094, allocations: 24.48 kB / 469 MB, free: 8.477 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.769e-05/0.1094, allocations: 16 kB / 469 MB, free: 8.461 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.479e-05/0.1095, allocations: 48.98 kB / 469 MB, free: 8.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1095, allocations: 0 / 469 MB, free: 8.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001234/0.1096, allocations: 81.62 kB / 469.1 MB, free: 8.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1097, allocations: 11.94 kB / 469.1 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1097, allocations: 3.984 kB / 469.1 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1097, allocations: 0 / 469.1 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1098, allocations: 8 kB / 469.1 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1098, allocations: 0 / 469.1 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.1098, allocations: 4 kB / 469.1 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1099, allocations: 4 kB / 469.1 MB, free: 8.293 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 7.916e-05/0.1099, allocations: 118.4 kB / 469.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.11, allocations: 11.84 kB / 469.3 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.1102, allocations: 110 kB / 469.4 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1102, allocations: 0 / 469.4 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1102, allocations: 0 / 469.4 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1102, allocations: 0 / 469.4 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.1103, allocations: 181.6 kB / 469.5 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1103, allocations: 4 kB / 469.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.509e-05/0.1104, allocations: 19.98 kB / 469.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1105, allocations: 3.938 kB / 469.6 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1105, allocations: 0 / 469.6 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1105, allocations: 0 / 469.6 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1105, allocations: 0 / 469.6 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.1106, allocations: 121 kB / 469.7 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.1107, allocations: 84.98 kB / 469.8 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.1107, allocations: 8 kB / 469.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.59e-05/0.1108, allocations: 64 / 469.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.1108, allocations: 7.984 kB / 469.8 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1108, allocations: 4 kB / 469.8 MB, free: 7.527 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.699e-05/0.1108, allocations: 83.28 kB / 469.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.873e-06/0.1109, allocations: 0 / 469.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002093/0.1111, allocations: 23.92 kB / 469.9 MB, free: 7.422 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.0001128/0.1112, allocations: 103.2 kB / 470 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.1113, allocations: 55.92 kB / 470.1 MB, free: 7.258 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1113, allocations: 0 / 470.1 MB, free: 7.258 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.073e-05/0.1114, allocations: 31.98 kB / 470.1 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.1116, allocations: 10.12 kB / 470.1 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.1119, allocations: 188.1 kB / 470.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.1122, allocations: 0.6807 MB / 471 MB, free: 6.301 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.542e-05/0.1122, allocations: 7.984 kB / 471 MB, free: 6.293 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.1122, allocations: 7.438 kB / 471 MB, free: 6.289 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1122, allocations: 0 / 471 MB, free: 6.289 MB / 302.1 MB Notification: Performance of Templates: time 0.003183/0.1154, allocations: 0.8029 MB / 471.8 MB, free: 5.488 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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1)