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.000781/0.0007808, allocations: 92.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009179/0.0009178, allocations: 177.9 kB / 16.92 MB, free: 6.684 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6899/0.6899, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.000322, allocations: 8 kB / 495.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1895, allocations: 77.53 MB / 0.56 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005594/0.1952, allocations: 3.981 MB / 0.5638 GB, free: 5.047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003304/0.1985, allocations: 1.831 MB / 0.5656 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/0.1988, allocations: 11.94 kB / 0.5656 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.1991, allocations: 67.42 kB / 0.5657 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007146/0.1998, allocations: 246.9 kB / 0.5659 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006692/0.2005, allocations: 235.5 kB / 0.5662 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008979/0.2014, allocations: 0.8413 MB / 0.567 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005069/0.2019, allocations: 431.7 kB / 0.5674 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.2022, allocations: 195.2 kB / 0.5676 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004498/0.2027, allocations: 267 kB / 0.5678 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.2027, allocations: 16 kB / 0.5679 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004971/0.2032, allocations: 303.4 kB / 0.5681 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.2033, allocations: 135.6 kB / 0.5683 GB, free: 472 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.2036, allocations: 216.7 kB / 0.5685 GB, free: 248 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006461/0.2042, allocations: 0.5995 MB / 0.5691 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2042, allocations: 3.938 kB / 0.5691 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2042, allocations: 0 / 0.5691 GB, free: 15.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.2042, allocations: 0 / 0.5691 GB, free: 15.64 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.001039/0.2053, allocations: 0.6628 MB / 0.5697 GB, free: 14.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2053, allocations: 12.03 kB / 0.5697 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009725/0.2063, allocations: 160.2 kB / 0.5699 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.2067, allocations: 326.6 kB / 0.5702 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.2068, allocations: 25.38 kB / 0.5702 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.076e-05/0.2068, allocations: 32.38 kB / 0.5703 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007697/0.2076, allocations: 0.5356 MB / 0.5708 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.2076, allocations: 3.938 kB / 0.5708 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.2077, allocations: 12 kB / 0.5708 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-05/0.2078, allocations: 36.64 kB / 0.5708 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005856/0.2084, allocations: 386.3 kB / 0.5712 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.2109, allocations: 2.419 MB / 0.5736 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.2114, allocations: 252.2 kB / 0.5738 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.2116, allocations: 120.8 kB / 0.5739 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.2116, allocations: 0 / 0.5739 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.2116, allocations: 42.48 kB / 0.574 GB, free: 10.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.203e-06/0.2116, allocations: 0 / 0.574 GB, free: 10.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002155/0.2138, allocations: 1.126 MB / 0.5751 GB, free: 9.059 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.2138, allocations: 55.41 kB / 0.5751 GB, free: 8.992 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.2141, allocations: 300.4 kB / 0.5754 GB, free: 8.691 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.2142, allocations: 33.7 kB / 0.5754 GB, free: 8.652 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.2143, allocations: 227.6 kB / 0.5756 GB, free: 8.426 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.2144, allocations: 90.73 kB / 0.5757 GB, free: 8.336 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.2145, allocations: 29.7 kB / 0.5758 GB, free: 8.301 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2146, allocations: 346.8 kB / 0.5761 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.2148, allocations: 100.6 kB / 0.5762 GB, free: 7.852 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.215, allocations: 183.8 kB / 0.5764 GB, free: 7.633 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.2154, allocations: 322 kB / 0.5767 GB, free: 7.285 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2154, allocations: 0 / 0.5767 GB, free: 7.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007585/0.2162, allocations: 446.6 kB / 0.5771 GB, free: 6.836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2162, allocations: 5.719 kB / 0.5771 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2162, allocations: 4 kB / 0.5771 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003542/0.2166, allocations: 98.69 kB / 0.5772 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.2169, allocations: 59.91 kB / 0.5772 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.22, allocations: 4.083 MB / 0.5812 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.2202, allocations: 11.98 kB / 0.5812 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.2202, allocations: 15.94 kB / 0.5813 GB, free: 2.148 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.0001889/0.2204, allocations: 182.3 kB / 0.5814 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.2205, allocations: 27.72 kB / 0.5815 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.917e-05/0.2206, allocations: 38.31 kB / 0.5815 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2206, allocations: 4.094 kB / 0.5815 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.2206, allocations: 4 kB / 0.5815 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2206, allocations: 0 / 0.5815 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.2211, allocations: 401.3 kB / 0.5819 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2211, allocations: 0 / 0.5819 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.2213, allocations: 35.91 kB / 0.5819 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002882/0.2216, allocations: 98.5 kB / 0.582 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2216, allocations: 0 / 0.582 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3075/0.5291, allocations: 4.061 MB / 0.586 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5291, allocations: 1.594 kB / 0.586 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009165/0.53, allocations: 0.5611 MB / 0.5865 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.5302, allocations: 120.9 kB / 0.5867 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.5302, allocations: 5.781 kB / 0.5867 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.5304, allocations: 20.61 kB / 0.5867 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.5305, allocations: 19.25 kB / 0.5867 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.5305, allocations: 6.094 kB / 0.5867 GB, free: 27.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.5308, allocations: 211.3 kB / 0.5869 GB, free: 27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5308, allocations: 0 / 0.5869 GB, free: 27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005107/0.5313, allocations: 97.25 kB / 0.587 GB, free: 27 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.000122/0.5314, allocations: 108.8 kB / 0.5871 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008237/0.5323, allocations: 0.6093 MB / 0.5877 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5323, allocations: 0 / 0.5877 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.5327, allocations: 476 kB / 0.5881 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.5333, allocations: 66.69 kB / 0.5882 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.5345, allocations: 0.9024 MB / 0.5891 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.5348, allocations: 0.8324 MB / 0.5899 GB, free: 25.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002128/0.535, allocations: 61.66 kB / 0.59 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.5351, allocations: 22.81 kB / 0.59 GB, free: 25.09 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5351, allocations: 0 / 0.59 GB, free: 25.09 MB / 446.1 MB Notification: Performance of Templates: time 0.009713/0.5448, allocations: 4.228 MB / 0.5941 GB, free: 24.85 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)