Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.009334/0.009335, allocations: 169.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.896/1.896, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005922/0.0005921, allocations: 16.84 kB / 0.6743 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3247, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003871/0.3286, allocations: 2.765 MB / 0.7906 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00304/0.3317, allocations: 1.926 MB / 0.7925 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.3319, allocations: 7.938 kB / 0.7925 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.3321, allocations: 31.72 kB / 0.7925 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005133/0.3326, allocations: 175.3 kB / 0.7927 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.3332, allocations: 215.5 kB / 0.7929 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004524/0.3336, allocations: 450.7 kB / 0.7933 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006539/0.3343, allocations: 326.2 kB / 0.7936 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.3345, allocations: 111.5 kB / 0.7937 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000286/0.3348, allocations: 143.4 kB / 0.7938 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.3348, allocations: 12 kB / 0.7939 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006971/0.3355, allocations: 467.1 kB / 0.7943 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3356, allocations: 75.78 kB / 0.7944 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.3358, allocations: 133.1 kB / 0.7945 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005872/0.3364, allocations: 494.5 kB / 0.795 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3364, allocations: 4 kB / 0.795 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.657e-06/0.3364, allocations: 0 / 0.795 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3364, allocations: 3.938 kB / 0.795 GB, free: 4.25 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008664/0.3373, allocations: 0.503 MB / 0.7955 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.3373, allocations: 16.02 kB / 0.7955 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008488/0.3382, allocations: 112.5 kB / 0.7956 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.3385, allocations: 263.8 kB / 0.7958 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3385, allocations: 16.75 kB / 0.7959 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.3386, allocations: 16.38 kB / 0.7959 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.3391, allocations: 361 kB / 0.7962 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3392, allocations: 0 / 0.7962 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.3392, allocations: 8 kB / 0.7962 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/0.3393, allocations: 32.41 kB / 0.7963 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004461/0.3397, allocations: 297.5 kB / 0.7965 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.342, allocations: 1.737 MB / 0.7982 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.3425, allocations: 318.1 kB / 0.7985 GB, free: 292 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.3426, allocations: 109.6 kB / 0.7987 GB, free: 176 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.3428, allocations: 89.39 kB / 0.7987 GB, free: 68 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.3428, allocations: 34.55 kB / 0.7988 GB, free: 24 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.3428, allocations: 4 kB / 0.7988 GB, free: 20 kB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.002575/0.3454, allocations: 0.9794 MB / 0.7997 GB, free: 15 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.3455, allocations: 88.98 kB / 0.7998 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.3457, allocations: 207.8 kB / 0.8 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.3458, allocations: 33.73 kB / 0.8 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.3459, allocations: 172.1 kB / 0.8002 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.514e-05/0.346, allocations: 78.84 kB / 0.8003 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.346, allocations: 29.72 kB / 0.8003 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3462, allocations: 330.8 kB / 0.8006 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.3463, allocations: 127.9 kB / 0.8007 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.3466, allocations: 221.8 kB / 0.801 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.3471, allocations: 365.2 kB / 0.8013 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3471, allocations: 0 / 0.8013 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009753/0.3481, allocations: 0.5081 MB / 0.8018 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3481, allocations: 8 kB / 0.8018 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3481, allocations: 7.938 kB / 0.8018 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/0.3487, allocations: 155.6 kB / 0.802 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.3489, allocations: 55.91 kB / 0.802 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.3521, allocations: 3.965 MB / 0.8059 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.3523, allocations: 24.03 kB / 0.8059 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.3524, allocations: 16 kB / 0.8059 GB, free: 8.18 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000266/0.3526, allocations: 161.8 kB / 0.8061 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.46e-05/0.3527, allocations: 19.81 kB / 0.8061 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.3538, allocations: 480.2 kB / 0.8066 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3539, allocations: 0 / 0.8066 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3539, allocations: 4 kB / 0.8066 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3539, allocations: 3.984 kB / 0.8066 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.3563, allocations: 1.011 MB / 0.8076 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.3564, allocations: 4 kB / 0.8076 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.3565, allocations: 31.98 kB / 0.8076 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006573/0.3572, allocations: 147.2 kB / 0.8077 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.3573, allocations: 20.11 kB / 0.8078 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003637/0.3609, allocations: 3.938 MB / 0.8116 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.361, allocations: 4.031 kB / 0.8116 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.3621, allocations: 0.6308 MB / 0.8122 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.3623, allocations: 128.8 kB / 0.8123 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.3624, allocations: 11.98 kB / 0.8124 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.3626, allocations: 19.97 kB / 0.8124 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.3627, allocations: 23.92 kB / 0.8124 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.3628, allocations: 15.98 kB / 0.8124 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002095/0.363, allocations: 161.5 kB / 0.8126 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.363, allocations: 0 / 0.8126 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006571/0.3636, allocations: 87.94 kB / 0.8126 GB, free: 0.7852 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002752/0.3639, allocations: 139.1 kB / 0.8128 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.365, allocations: 0.5748 MB / 0.8133 GB, free: 40 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.365, allocations: 0 / 0.8133 GB, free: 40 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005265/0.3655, allocations: 410.2 kB / 0.8137 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.3661, allocations: 43.91 kB / 0.8138 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.3673, allocations: 0.7529 MB / 0.8145 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.3676, allocations: 0.7753 MB / 0.8153 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00018/0.3678, allocations: 66.19 kB / 0.8153 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.3679, allocations: 27.42 kB / 0.8154 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of SimCode: time 8.21e-07/0.3679, allocations: 0 / 0.8154 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of Templates: time 0.008291/0.3762, allocations: 3.921 MB / 0.8192 GB, free: 9.969 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) Environment - environmentSimulation: