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.001455/0.001455, allocations: 114.5 kB / 17.04 MB, free: 5.352 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.001664/0.001664, allocations: 193.6 kB / 17.98 MB, free: 4.887 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.37/1.37, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7404/0.7404, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3621, allocations: 76.15 MB / 0.5576 GB, free: 36.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.0052/0.3673, allocations: 4.33 MB / 0.5618 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.3701, allocations: 1.853 MB / 0.5636 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.3704, allocations: 16.03 kB / 0.5636 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.372, allocations: 0.5949 MB / 0.5642 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000607/0.3727, allocations: 252.2 kB / 0.5645 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006422/0.3733, allocations: 253.5 kB / 0.5647 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006344/0.374, allocations: 0.6082 MB / 0.5653 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006471/0.3746, allocations: 474 kB / 0.5657 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.3749, allocations: 246.7 kB / 0.566 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.3753, allocations: 270.8 kB / 0.5662 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.583e-05/0.3754, allocations: 37.41 kB / 0.5663 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004338/0.3758, allocations: 258.2 kB / 0.5665 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.376, allocations: 154.4 kB / 0.5667 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.3762, allocations: 214.5 kB / 0.5669 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007222/0.3769, allocations: 0.6128 MB / 0.5675 GB, free: 30.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3769, allocations: 0 / 0.5675 GB, free: 30.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3769, allocations: 0 / 0.5675 GB, free: 30.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.3769, allocations: 1.094 kB / 0.5675 GB, free: 30.98 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.001163/0.3781, allocations: 0.7227 MB / 0.5682 GB, free: 30.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3782, allocations: 9.156 kB / 0.5682 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.3792, allocations: 151.1 kB / 0.5683 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.3797, allocations: 333.6 kB / 0.5686 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.3798, allocations: 28.36 kB / 0.5687 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.3798, allocations: 34 kB / 0.5687 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008457/0.3807, allocations: 0.5345 MB / 0.5692 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.3807, allocations: 5.781 kB / 0.5692 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.737e-05/0.3808, allocations: 16.38 kB / 0.5692 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/0.3808, allocations: 37.53 kB / 0.5693 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006973/0.3815, allocations: 388 kB / 0.5697 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.3839, allocations: 2.397 MB / 0.572 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.3844, allocations: 257.7 kB / 0.5722 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.3846, allocations: 114.2 kB / 0.5723 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.3847, allocations: 2.406 kB / 0.5724 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3847, allocations: 34.59 kB / 0.5724 GB, free: 27.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.3847, allocations: 0 / 0.5724 GB, free: 27.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002115/0.3868, allocations: 1.128 MB / 0.5735 GB, free: 26.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.3869, allocations: 54.62 kB / 0.5735 GB, free: 26.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.3872, allocations: 302.7 kB / 0.5738 GB, free: 26.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.3872, allocations: 31.61 kB / 0.5739 GB, free: 26.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3873, allocations: 233.8 kB / 0.5741 GB, free: 26.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.3874, allocations: 81.7 kB / 0.5742 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3875, allocations: 61.78 kB / 0.5742 GB, free: 26.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.3876, allocations: 338.1 kB / 0.5745 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.3878, allocations: 105.4 kB / 0.5746 GB, free: 25.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.388, allocations: 187.6 kB / 0.5748 GB, free: 25.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.3883, allocations: 315.5 kB / 0.5751 GB, free: 25.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3883, allocations: 3.938 kB / 0.5751 GB, free: 25.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007171/0.3891, allocations: 444.6 kB / 0.5755 GB, free: 25.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3891, allocations: 8.75 kB / 0.5756 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3891, allocations: 3.406 kB / 0.5756 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003549/0.3895, allocations: 94.31 kB / 0.5756 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.3898, allocations: 72.39 kB / 0.5757 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.3924, allocations: 4.391 MB / 0.58 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.3928, allocations: 9.359 kB / 0.58 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.3928, allocations: 14.03 kB / 0.58 GB, free: 20.84 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.0002831/0.3931, allocations: 180.2 kB / 0.5802 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.3932, allocations: 36.12 kB / 0.5802 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.875e-05/0.3933, allocations: 38.05 kB / 0.5803 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3933, allocations: 2.438 kB / 0.5803 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.3933, allocations: 1.219 kB / 0.5803 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.3933, allocations: 1.406 kB / 0.5803 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.3939, allocations: 397 kB / 0.5807 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3939, allocations: 0.6562 kB / 0.5807 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.3941, allocations: 40.14 kB / 0.5807 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003242/0.3944, allocations: 99.05 kB / 0.5808 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.3945, allocations: 5.219 kB / 0.5808 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.397, allocations: 4.392 MB / 0.5851 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.397, allocations: 4.906 kB / 0.5851 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008238/0.3978, allocations: 0.5541 MB / 0.5856 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.398, allocations: 124.3 kB / 0.5857 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.398, allocations: 6.156 kB / 0.5858 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.3983, allocations: 15.12 kB / 0.5858 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.3983, allocations: 15.25 kB / 0.5858 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3983, allocations: 7.812 kB / 0.5858 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002155/0.3986, allocations: 209.4 kB / 0.586 GB, free: 15.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3986, allocations: 0 / 0.586 GB, free: 15.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005597/0.3991, allocations: 103.1 kB / 0.5861 GB, free: 15.42 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.0001387/0.3993, allocations: 109.2 kB / 0.5862 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008535/0.4001, allocations: 0.6002 MB / 0.5868 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4002, allocations: 5.844 kB / 0.5868 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004612/0.4006, allocations: 472.5 kB / 0.5872 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.4011, allocations: 87.73 kB / 0.5873 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.4023, allocations: 0.7078 MB / 0.588 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.4026, allocations: 0.8315 MB / 0.5888 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.4028, allocations: 67.27 kB / 0.5889 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.4029, allocations: 22.62 kB / 0.5889 GB, free: 13.32 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4029, allocations: 0 / 0.5889 GB, free: 13.32 MB / 446.1 MB Notification: Performance of Templates: time 0.008698/0.4116, allocations: 4.429 MB / 0.5932 GB, free: 12.12 MB / 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)