Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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/Complex 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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 104 kB / 16.94 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.41/1.41, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.755/0.755, allocations: 122.9 MB / 414.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 67.91 kB / 0.4918 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3585, allocations: 77.91 MB / 0.5678 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005723/0.3643, allocations: 4.337 MB / 0.5721 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.3672, allocations: 1.856 MB / 0.5739 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.3674, allocations: 11.56 kB / 0.5739 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.369, allocations: 0.5977 MB / 0.5745 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008449/0.3698, allocations: 259.9 kB / 0.5747 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008809/0.3707, allocations: 253.4 kB / 0.575 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008869/0.3716, allocations: 0.6037 MB / 0.5756 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007504/0.3724, allocations: 472.7 kB / 0.576 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.3727, allocations: 248.4 kB / 0.5762 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004633/0.3732, allocations: 270.4 kB / 0.5765 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.3733, allocations: 36.94 kB / 0.5765 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005559/0.3739, allocations: 253.9 kB / 0.5768 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.374, allocations: 154.3 kB / 0.5769 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.3743, allocations: 215.2 kB / 0.5771 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007721/0.375, allocations: 0.5982 MB / 0.5777 GB, free: 26.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.375, allocations: 1.25 kB / 0.5777 GB, free: 26.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3751, allocations: 1.812 kB / 0.5777 GB, free: 26.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.3751, allocations: 0.75 kB / 0.5777 GB, free: 26.65 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001201/0.3763, allocations: 0.7278 MB / 0.5784 GB, free: 26.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3763, allocations: 10.28 kB / 0.5784 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009922/0.3773, allocations: 149.2 kB / 0.5786 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.3777, allocations: 324.8 kB / 0.5789 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.3777, allocations: 26.81 kB / 0.5789 GB, free: 25.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.3778, allocations: 31.97 kB / 0.579 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007523/0.3786, allocations: 0.5333 MB / 0.5795 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3786, allocations: 5.359 kB / 0.5795 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.3786, allocations: 16.91 kB / 0.5795 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-05/0.3787, allocations: 29 kB / 0.5795 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005774/0.3793, allocations: 393 kB / 0.5799 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.3817, allocations: 2.404 MB / 0.5822 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/0.3823, allocations: 273.2 kB / 0.5825 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.3824, allocations: 106.7 kB / 0.5826 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.3825, allocations: 7.5 kB / 0.5826 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.3825, allocations: 37.03 kB / 0.5826 GB, free: 23.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.3825, allocations: 0 / 0.5826 GB, free: 23.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002249/0.3847, allocations: 1.132 MB / 0.5838 GB, free: 22.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.3848, allocations: 53.59 kB / 0.5838 GB, free: 22.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.3851, allocations: 300.4 kB / 0.5841 GB, free: 21.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.3852, allocations: 38.98 kB / 0.5841 GB, free: 21.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3853, allocations: 230.7 kB / 0.5843 GB, free: 21.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.3853, allocations: 81.19 kB / 0.5844 GB, free: 21.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.302e-05/0.3854, allocations: 62.66 kB / 0.5845 GB, free: 21.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.3855, allocations: 339 kB / 0.5848 GB, free: 21.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3857, allocations: 105.2 kB / 0.5849 GB, free: 21.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.3859, allocations: 193.3 kB / 0.5851 GB, free: 21.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.3862, allocations: 314.7 kB / 0.5854 GB, free: 20.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3862, allocations: 1.5 kB / 0.5854 GB, free: 20.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006676/0.3869, allocations: 437.5 kB / 0.5858 GB, free: 20.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3869, allocations: 6.031 kB / 0.5858 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3869, allocations: 3 kB / 0.5858 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/0.3873, allocations: 102.4 kB / 0.5859 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.3876, allocations: 62.09 kB / 0.586 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.3898, allocations: 4.402 MB / 0.5903 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.3901, allocations: 14.5 kB / 0.5903 GB, free: 16.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.3901, allocations: 10.06 kB / 0.5903 GB, free: 16.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.3903, allocations: 183.9 kB / 0.5905 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.3904, allocations: 32.06 kB / 0.5905 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.3905, allocations: 45.44 kB / 0.5905 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3905, allocations: 2.344 kB / 0.5906 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.3905, allocations: 1.062 kB / 0.5906 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3905, allocations: 1.031 kB / 0.5906 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.3909, allocations: 394.1 kB / 0.5909 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3909, allocations: 0 / 0.5909 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.3911, allocations: 45.78 kB / 0.591 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002832/0.3914, allocations: 94.94 kB / 0.5911 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.3914, allocations: 5.469 kB / 0.5911 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.3935, allocations: 4.395 MB / 0.5954 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3935, allocations: 0 / 0.5954 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/0.3942, allocations: 0.5595 MB / 0.5959 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3943, allocations: 125.3 kB / 0.596 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.3944, allocations: 5.344 kB / 0.596 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.3946, allocations: 9.469 kB / 0.596 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.3946, allocations: 24.14 kB / 0.5961 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.3946, allocations: 4.844 kB / 0.5961 GB, free: 10.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.3948, allocations: 214.9 kB / 0.5963 GB, free: 10.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3948, allocations: 0 / 0.5963 GB, free: 10.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005119/0.3954, allocations: 98.47 kB / 0.5964 GB, free: 10.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000114/0.3955, allocations: 107.5 kB / 0.5965 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007726/0.3963, allocations: 0.6252 MB / 0.5971 GB, free: 9.652 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3963, allocations: 0 / 0.5971 GB, free: 9.652 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.3967, allocations: 478.2 kB / 0.5975 GB, free: 9.234 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.3972, allocations: 77.08 kB / 0.5976 GB, free: 9.188 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.3983, allocations: 0.7522 MB / 0.5983 GB, free: 8.668 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3986, allocations: 0.8305 MB / 0.5992 GB, free: 7.895 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.3987, allocations: 24.5 kB / 0.5992 GB, free: 7.887 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3987, allocations: 4 kB / 0.5992 GB, free: 7.883 MB / 446.1 MB Notification: Performance of Templates: time 0.009928/0.4086, allocations: 8.662 MB / 0.6076 GB, free: 436 kB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)