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.001466/0.001466, allocations: 101.7 kB / 16.27 MB, free: 5.93 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.001477/0.001477, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.321/1.321, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.783/0.783, allocations: 126.4 MB / 417.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 67.81 kB / 0.4953 GB, free: 3.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3298, allocations: 78.79 MB / 0.5723 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005282/0.3352, allocations: 4.33 MB / 0.5765 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.3377, allocations: 1.855 MB / 0.5783 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.3379, allocations: 12.19 kB / 0.5783 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.3394, allocations: 0.605 MB / 0.5789 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.3399, allocations: 262.3 kB / 0.5792 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.3404, allocations: 245.7 kB / 0.5794 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.3409, allocations: 0.6106 MB / 0.58 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006388/0.3416, allocations: 470.5 kB / 0.5804 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.3418, allocations: 247.4 kB / 0.5807 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003863/0.3422, allocations: 270.1 kB / 0.5809 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.108e-05/0.3423, allocations: 37.59 kB / 0.581 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/0.3427, allocations: 253.2 kB / 0.5812 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.3429, allocations: 153.2 kB / 0.5814 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.343, allocations: 211.7 kB / 0.5816 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00049/0.3435, allocations: 0.6058 MB / 0.5822 GB, free: 24.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3436, allocations: 1.719 kB / 0.5822 GB, free: 24.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3436, allocations: 0 / 0.5822 GB, free: 24.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.3436, allocations: 1.125 kB / 0.5822 GB, free: 24.32 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.00105/0.3446, allocations: 0.721 MB / 0.5829 GB, free: 23.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3447, allocations: 11.19 kB / 0.5829 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009543/0.3456, allocations: 147.1 kB / 0.583 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.346, allocations: 325.8 kB / 0.5833 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.346, allocations: 31.05 kB / 0.5834 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.3461, allocations: 34.67 kB / 0.5834 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006762/0.3468, allocations: 0.5312 MB / 0.5839 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3468, allocations: 4.531 kB / 0.5839 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.3468, allocations: 18.56 kB / 0.5839 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.026e-05/0.3469, allocations: 31.19 kB / 0.584 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006405/0.3475, allocations: 389.7 kB / 0.5843 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/0.3499, allocations: 2.408 MB / 0.5867 GB, free: 20.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.3505, allocations: 269.2 kB / 0.5869 GB, free: 20.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.3507, allocations: 111.6 kB / 0.587 GB, free: 20.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.3507, allocations: 2.188 kB / 0.587 GB, free: 20.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3507, allocations: 38.53 kB / 0.5871 GB, free: 20.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.3508, allocations: 0 / 0.5871 GB, free: 20.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001968/0.3527, allocations: 1.126 MB / 0.5882 GB, free: 19.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.3528, allocations: 58.22 kB / 0.5882 GB, free: 19.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.353, allocations: 297.3 kB / 0.5885 GB, free: 19.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3531, allocations: 30.86 kB / 0.5885 GB, free: 19.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.3532, allocations: 237.5 kB / 0.5888 GB, free: 18.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.3533, allocations: 80.72 kB / 0.5889 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/0.3533, allocations: 63.5 kB / 0.5889 GB, free: 18.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.034e-05/0.3534, allocations: 339.2 kB / 0.5892 GB, free: 18.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.3536, allocations: 104.3 kB / 0.5893 GB, free: 18.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.3538, allocations: 195.8 kB / 0.5895 GB, free: 18.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.3542, allocations: 314.5 kB / 0.5898 GB, free: 18.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3542, allocations: 1.594 kB / 0.5898 GB, free: 18.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007075/0.3549, allocations: 439.6 kB / 0.5902 GB, free: 17.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3549, allocations: 5.594 kB / 0.5902 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3549, allocations: 5.281 kB / 0.5903 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.3553, allocations: 104.8 kB / 0.5904 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.3555, allocations: 61.09 kB / 0.5904 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.3579, allocations: 4.394 MB / 0.5947 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.3582, allocations: 12.45 kB / 0.5947 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.3582, allocations: 9.5 kB / 0.5947 GB, free: 13.21 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.0001607/0.3584, allocations: 182.6 kB / 0.5949 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.3584, allocations: 35.45 kB / 0.5949 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.57e-05/0.3585, allocations: 41.88 kB / 0.595 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3585, allocations: 2.375 kB / 0.595 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.3585, allocations: 6.188 kB / 0.595 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3585, allocations: 0 / 0.595 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.3589, allocations: 393.8 kB / 0.5954 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3589, allocations: 0 / 0.5954 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.3591, allocations: 47.53 kB / 0.5954 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002723/0.3594, allocations: 89.75 kB / 0.5955 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.3594, allocations: 10.34 kB / 0.5955 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/0.3617, allocations: 4.389 MB / 0.5998 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3617, allocations: 1.25 kB / 0.5998 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000744/0.3625, allocations: 0.5672 MB / 0.6003 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3626, allocations: 120.8 kB / 0.6005 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.3626, allocations: 5.5 kB / 0.6005 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.3628, allocations: 10.66 kB / 0.6005 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.3629, allocations: 20.16 kB / 0.6005 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.3629, allocations: 11.67 kB / 0.6005 GB, free: 7.574 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.3631, allocations: 215 kB / 0.6007 GB, free: 7.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3631, allocations: 0 / 0.6007 GB, free: 7.434 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004612/0.3636, allocations: 98.81 kB / 0.6008 GB, free: 7.422 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 9.697e-05/0.3637, allocations: 104 kB / 0.6009 GB, free: 7.328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000683/0.3644, allocations: 0.6307 MB / 0.6015 GB, free: 6.688 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3644, allocations: 3.984 kB / 0.6015 GB, free: 6.684 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.3647, allocations: 476.6 kB / 0.602 GB, free: 6.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.3652, allocations: 75.81 kB / 0.602 GB, free: 6.105 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008806/0.3661, allocations: 0.7151 MB / 0.6027 GB, free: 5.363 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.3663, allocations: 0.8311 MB / 0.6036 GB, free: 4.504 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.3665, allocations: 62.94 kB / 0.6036 GB, free: 4.441 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.3666, allocations: 23.44 kB / 0.6036 GB, free: 4.418 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3666, allocations: 0 / 0.6036 GB, free: 4.418 MB / 446.1 MB Notification: Performance of Templates: time 0.006856/0.3734, allocations: 4.423 MB / 0.608 GB, free: 52 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)