Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009722/0.000972, allocations: 98.03 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.005614/0.005614, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.804/1.804, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.97/1.97, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005468/0.0005467, allocations: 20.16 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2882, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01676/0.305, allocations: 14.02 MB / 0.8016 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.3206, allocations: 10.32 MB / 0.8117 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.3224, allocations: 51.62 kB / 0.8117 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.3235, allocations: 294 kB / 0.812 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005456/0.329, allocations: 1.606 MB / 0.8135 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.3311, allocations: 0.6881 MB / 0.8142 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005089/0.3362, allocations: 3.409 MB / 0.8175 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003673/0.3399, allocations: 1.98 MB / 0.8195 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.3425, allocations: 1.328 MB / 0.8208 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.3445, allocations: 1.085 MB / 0.8218 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.3446, allocations: 72 kB / 0.8219 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.3465, allocations: 0.8577 MB / 0.8227 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005352/0.347, allocations: 0.506 MB / 0.8232 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.348, allocations: 0.8641 MB / 0.8241 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002974/0.351, allocations: 2.67 MB / 0.8267 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.351, allocations: 0 / 0.8267 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3511, allocations: 4 kB / 0.8267 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.144e-05/0.3511, allocations: 0 / 0.8267 GB, free: 3.66 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003678/0.3548, allocations: 1.839 MB / 0.8285 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.3548, allocations: 12.03 kB / 0.8285 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.3668, allocations: 2.175 MB / 0.8306 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/0.3701, allocations: 1.213 MB / 0.8318 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.882e-05/0.3703, allocations: 86.69 kB / 0.8319 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/0.3706, allocations: 116.1 kB / 0.832 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006295/0.3769, allocations: 2.694 MB / 0.8346 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.451e-05/0.3769, allocations: 7.938 kB / 0.8346 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.3771, allocations: 51.98 kB / 0.8347 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007091/0.3778, allocations: 190.1 kB / 0.8349 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008012/0.3858, allocations: 2.842 MB / 0.8377 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01783/0.4037, allocations: 10.57 MB / 0.848 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007084/0.4108, allocations: 2.395 MB / 0.8503 GB, free: 10.59 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003363/0.4142, allocations: 1.299 MB / 0.8516 GB, free: 9.289 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.522e-05/0.4144, allocations: 12.94 kB / 0.8516 GB, free: 9.277 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/0.4144, allocations: 39.56 kB / 0.8516 GB, free: 9.23 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 4.778e-06/0.4144, allocations: 0 / 0.8516 GB, free: 9.23 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.06231/0.4768, allocations: 16.53 MB / 0.8678 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.4769, allocations: 72.66 kB / 0.8678 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.479, allocations: 1.168 MB / 0.869 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002589/0.4792, allocations: 53.7 kB / 0.869 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000593/0.4798, allocations: 0.7514 MB / 0.8698 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006585/0.4805, allocations: 0.512 MB / 0.8703 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.4808, allocations: 125.6 kB / 0.8704 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.4809, allocations: 305.1 kB / 0.8707 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/0.4847, allocations: 1.53 MB / 0.8722 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003727/0.4884, allocations: 1.803 MB / 0.8739 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007433/0.4958, allocations: 3.405 MB / 0.8773 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.4959, allocations: 0 / 0.8773 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01426/0.5101, allocations: 5.319 MB / 0.8825 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.5102, allocations: 8 kB / 0.8825 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.5103, allocations: 8 kB / 0.8825 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007218/0.5175, allocations: 1.885 MB / 0.8843 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.5197, allocations: 419.3 kB / 0.8847 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02923/0.5489, allocations: 22.21 MB / 0.9064 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003248/0.5522, allocations: 323.5 kB / 0.9067 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003971/0.5526, allocations: 67.97 kB / 0.9068 GB, free: 15.23 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001272/0.5539, allocations: 462.1 kB / 0.9072 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005344/0.5545, allocations: 177.9 kB / 0.9074 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/0.5691, allocations: 5.363 MB / 0.9126 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.5691, allocations: 12 kB / 0.9126 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.316e-05/0.5692, allocations: 20 kB / 0.9127 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.5692, allocations: 7.969 kB / 0.9127 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01797/0.5872, allocations: 7.473 MB / 0.92 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/0.5873, allocations: 8.062 kB / 0.92 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.589, allocations: 363.3 kB / 0.9203 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5646/1.154, allocations: 1.7 MB / 0.922 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004256/1.154, allocations: 48.86 kB / 0.922 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02782/1.182, allocations: 21.37 MB / 0.9429 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.182, allocations: 3.406 kB / 0.9429 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/1.196, allocations: 4.928 MB / 0.9477 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/1.198, allocations: 0.4891 MB / 0.9482 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005573/1.198, allocations: 29.42 kB / 0.9482 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/1.201, allocations: 332.3 kB / 0.9485 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009186/1.202, allocations: 143.6 kB / 0.9487 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002514/1.202, allocations: 57.72 kB / 0.9487 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002241/1.205, allocations: 0.7918 MB / 0.9495 GB, free: 111.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.51e-07/1.205, allocations: 0.5 kB / 0.9495 GB, free: 111.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003541/1.208, allocations: 0.6558 MB / 0.9501 GB, free: 111.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004212/1.209, allocations: 150.7 kB / 0.9503 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01212/1.221, allocations: 5.164 MB / 0.9553 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.221, allocations: 0 / 0.9553 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007867/1.229, allocations: 3.361 MB / 0.9586 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004167/1.233, allocations: 0.5249 MB / 0.9591 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.245, allocations: 5.031 MB / 0.964 GB, free: 105.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/1.246, allocations: 1.568 MB / 0.9656 GB, free: 104.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001939/1.248, allocations: 395.4 kB / 0.9659 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/1.249, allocations: 103.9 kB / 0.966 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/1.249, allocations: 1.188 kB / 0.966 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.07558/1.324, allocations: 42.42 MB / 1.007 GB, free: 69.37 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) Environment - environmentSimulation: