Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.00115, allocations: 104.8 kB / 16.29 MB, free: 6.414 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.00116/0.001161, allocations: 189.3 kB / 17.22 MB, free: 5.953 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.616/1.616, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.859/1.859, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.001601/0.001602, allocations: 78.41 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2231, allocations: 114.5 MB / 0.7841 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.5115/0.7346, allocations: 37.54 MB / 0.8207 GB, free: 27.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02565/0.7603, allocations: 13.04 MB / 0.8335 GB, free: 18.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007318/0.7677, allocations: 171.5 kB / 0.8336 GB, free: 18.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01187/0.7796, allocations: 3.874 MB / 0.8374 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.7905, allocations: 2.491 MB / 0.8399 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008652/0.7992, allocations: 2.705 MB / 0.8425 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01723/0.8164, allocations: 9.563 MB / 0.8518 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01817/0.8347, allocations: 10.65 MB / 0.8622 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01107/0.8458, allocations: 3.998 MB / 0.8661 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009655/0.8555, allocations: 4.383 MB / 0.8704 GB, free: 15.72 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.004062/0.8596, allocations: 0.7701 MB / 0.8712 GB, free: 15.72 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009687/0.8693, allocations: 1.779 MB / 0.8729 GB, free: 15.18 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.007909/0.8773, allocations: 3.045 MB / 0.8759 GB, free: 13.02 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01115/0.8885, allocations: 3.575 MB / 0.8794 GB, free: 9.434 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01999/0.9085, allocations: 11.85 MB / 0.891 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.454e-05/0.9086, allocations: 0 / 0.891 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of FrontEnd: time 5.29e-06/0.9086, allocations: 0 / 0.891 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0005685/0.9092, allocations: 0 / 0.891 GB, free: 13.54 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02237/0.9316, allocations: 6.354 MB / 0.8972 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.9316, allocations: 8.031 kB / 0.8972 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009778/0.9414, allocations: 1.305 MB / 0.8984 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008457/0.9499, allocations: 3.564 MB / 0.9019 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/0.9503, allocations: 378.5 kB / 0.9023 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002151/0.9525, allocations: 0.5002 MB / 0.9028 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/0.9767, allocations: 8.886 MB / 0.9114 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002679/0.977, allocations: 31.7 kB / 0.9115 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001704/0.9788, allocations: 223.9 kB / 0.9117 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002143/0.9809, allocations: 0.6304 MB / 0.9123 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01753/0.9985, allocations: 7.01 MB / 0.9192 GB, free: 140 kB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06128/1.06, allocations: 40.06 MB / 0.9583 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006228/1.066, allocations: 2.888 MB / 0.9611 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004931/1.071, allocations: 2.671 MB / 0.9637 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004484/1.072, allocations: 30.03 kB / 0.9637 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.13e-05/1.072, allocations: 64.59 kB / 0.9638 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=265): time 6.502e-06/1.072, allocations: 0 / 0.9638 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of matching and sorting (n=424): time 0.2858/1.357, allocations: 74.66 MB / 1.037 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/1.358, allocations: 94.73 kB / 1.037 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005539/1.363, allocations: 2.359 MB / 1.039 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.001061/1.364, allocations: 93.7 kB / 1.039 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0021/1.366, allocations: 2.345 MB / 1.041 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.002417/1.369, allocations: 1.432 MB / 1.043 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002928/1.372, allocations: 0.7254 MB / 1.044 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.372, allocations: 309.1 kB / 1.044 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00539/1.377, allocations: 2.995 MB / 1.047 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005836/1.383, allocations: 3.851 MB / 1.051 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/1.395, allocations: 7.376 MB / 1.058 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-05/1.395, allocations: 4 kB / 1.058 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03197/1.427, allocations: 12.57 MB / 1.07 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.987e-05/1.427, allocations: 16 kB / 1.07 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.482e-05/1.427, allocations: 20 kB / 1.07 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0232/1.45, allocations: 6.015 MB / 1.076 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002426/1.452, allocations: 495.2 kB / 1.076 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6569/2.109, allocations: 72.99 MB / 1.148 GB, free: 267 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/2.114, allocations: 214.9 kB / 1.148 GB, free: 267 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007062/2.115, allocations: 153.1 kB / 1.148 GB, free: 267 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004248/2.119, allocations: 1.997 MB / 1.15 GB, free: 266.9 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/2.12, allocations: 390.9 kB / 1.15 GB, free: 266.9 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0304/2.15, allocations: 12.23 MB / 1.162 GB, free: 263.4 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.981e-05/2.15, allocations: 44.66 kB / 1.162 GB, free: 263.4 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002709/2.151, allocations: 47.88 kB / 1.162 GB, free: 263.4 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001118/2.151, allocations: 20.16 kB / 1.162 GB, free: 263.4 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04896/2.2, allocations: 19.15 MB / 1.181 GB, free: 256 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-05/2.2, allocations: 6.312 kB / 1.181 GB, free: 256 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/2.202, allocations: 288.1 kB / 1.181 GB, free: 256 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0209/2.223, allocations: 5.577 MB / 1.187 GB, free: 254.7 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008491/2.223, allocations: 84.12 kB / 1.187 GB, free: 254.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06946/2.293, allocations: 70.61 MB / 1.256 GB, free: 204.3 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/2.293, allocations: 7.562 kB / 1.256 GB, free: 204.3 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02823/2.321, allocations: 15.62 MB / 1.271 GB, free: 190.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002983/2.324, allocations: 1.043 MB / 1.272 GB, free: 189.6 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/2.325, allocations: 87.78 kB / 1.272 GB, free: 189.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002644/2.328, allocations: 215.7 kB / 1.272 GB, free: 189.3 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001533/2.329, allocations: 408.1 kB / 1.273 GB, free: 188.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003461/2.33, allocations: 112 kB / 1.273 GB, free: 188.8 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002118/2.332, allocations: 1.553 MB / 1.274 GB, free: 187.3 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/2.332, allocations: 7.5 kB / 1.274 GB, free: 187.3 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.006673/2.339, allocations: 1.855 MB / 1.276 GB, free: 185.4 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007657/2.339, allocations: 217.9 kB / 1.276 GB, free: 185.2 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01894/2.358, allocations: 12.2 MB / 1.288 GB, free: 172.7 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/2.358, allocations: 11.97 kB / 1.288 GB, free: 172.7 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0142/2.373, allocations: 8.354 MB / 1.297 GB, free: 164.1 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006853/2.38, allocations: 1.195 MB / 1.298 GB, free: 163 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02455/2.404, allocations: 12.19 MB / 1.31 GB, free: 150.9 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006606/2.411, allocations: 4.097 MB / 1.314 GB, free: 146.8 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002771/2.414, allocations: 0.6641 MB / 1.314 GB, free: 146.1 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/2.414, allocations: 175.4 kB / 1.314 GB, free: 145.9 MB / 0.92 GB Notification: Performance of SimCode: time 9.02e-07/2.414, allocations: 0 / 1.314 GB, free: 145.9 MB / 0.92 GB Notification: Performance of Templates: time 0.1543/2.569, allocations: 111.5 MB / 1.423 GB, free: 35.56 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)