Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.739/2.739, allocations: 287.3 MB / 302.3 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001514, allocations: 188.9 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 94.28 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 12.83 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2498, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04699/0.2968, allocations: 32.63 MB / 1.01 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.04101/0.3379, allocations: 12.53 MB / 1.022 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004161/0.3421, allocations: 139.1 kB / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.3458, allocations: 0.7453 MB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008868/0.3547, allocations: 1.873 MB / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007823/0.3626, allocations: 1.64 MB / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01241/0.3751, allocations: 4.817 MB / 1.031 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03543/0.4106, allocations: 11.43 MB / 1.042 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01061/0.4212, allocations: 2.616 MB / 1.045 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01096/0.4323, allocations: 2.667 MB / 1.048 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.00303/0.4354, allocations: 320 kB / 1.048 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006132/0.4416, allocations: 0.6556 MB / 1.049 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.007367/0.449, allocations: 2.241 MB / 1.051 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003764/0.4529, allocations: 1.171 MB / 1.052 GB, free: 0.6797 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01677/0.4697, allocations: 9.576 MB / 1.061 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.4697, allocations: 4 kB / 1.061 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.677e-06/0.4698, allocations: 0 / 1.061 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000384/0.4702, allocations: 0 / 1.061 GB, free: 7.074 MB / 0.6823 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.02058/0.4907, allocations: 5.158 MB / 1.066 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.4908, allocations: 12.03 kB / 1.066 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.5037, allocations: 1.285 MB / 1.068 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6812/1.185, allocations: 3.464 MB / 1.071 GB, free: 77.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000531/1.186, allocations: 380.4 kB / 1.071 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002416/1.188, allocations: 0.4964 MB / 1.072 GB, free: 77.65 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03398/1.222, allocations: 8.801 MB / 1.08 GB, free: 73.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004443/1.223, allocations: 27.11 kB / 1.08 GB, free: 73.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002983/1.226, allocations: 223.9 kB / 1.081 GB, free: 73.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006753/1.232, allocations: 0.6304 MB / 1.081 GB, free: 73.69 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03579/1.268, allocations: 6.973 MB / 1.088 GB, free: 71.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08834/1.357, allocations: 40.4 MB / 1.127 GB, free: 37.83 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007331/1.364, allocations: 2.889 MB / 1.13 GB, free: 36.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004847/1.365, allocations: 28.41 kB / 1.13 GB, free: 36.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.489e-05/1.365, allocations: 63.66 kB / 1.13 GB, free: 36.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=265): time 6.292e-06/1.365, allocations: 3.938 kB / 1.13 GB, free: 36.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=424): time 0.566/1.931, allocations: 77.4 MB / 1.206 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.816e-05/1.931, allocations: 98.73 kB / 1.206 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005209/1.936, allocations: 2.337 MB / 1.208 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001177/1.937, allocations: 97.7 kB / 1.208 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002698/1.94, allocations: 2.339 MB / 1.211 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002963/1.943, allocations: 1.437 MB / 1.212 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006829/1.944, allocations: 84 kB / 1.212 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0004021/1.944, allocations: 487.3 kB / 1.213 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009009/1.953, allocations: 2.98 MB / 1.216 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01021/1.963, allocations: 3.808 MB / 1.219 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/1.974, allocations: 3.548 MB / 1.223 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.42e-05/1.974, allocations: 15.84 kB / 1.223 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.05649/2.031, allocations: 12.49 MB / 1.235 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/2.031, allocations: 26.27 kB / 1.235 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.841e-05/2.031, allocations: 23.95 kB / 1.235 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04336/2.074, allocations: 6.01 MB / 1.241 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004272/2.078, allocations: 0.4946 MB / 1.241 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1494/2.228, allocations: 69.28 MB / 1.309 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006337/2.234, allocations: 215.8 kB / 1.309 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008102/2.235, allocations: 156 kB / 1.309 GB, free: 15.34 MB / 0.8386 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006202/2.241, allocations: 1.996 MB / 1.311 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/2.243, allocations: 391.4 kB / 1.312 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05219/2.295, allocations: 12.18 MB / 1.324 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.295e-05/2.295, allocations: 43.94 kB / 1.324 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001953/2.295, allocations: 48 kB / 1.324 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/2.296, allocations: 19.92 kB / 1.324 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07373/2.369, allocations: 19.12 MB / 1.342 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.691e-05/2.369, allocations: 8 kB / 1.342 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003073/2.373, allocations: 287.5 kB / 1.343 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0395/2.412, allocations: 5.566 MB / 1.348 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001026/2.413, allocations: 79.98 kB / 1.348 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1399/2.553, allocations: 66.91 MB / 1.414 GB, free: 1.176 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.457e-05/2.553, allocations: 12.03 kB / 1.414 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7852/3.338, allocations: 16.2 MB / 1.429 GB, free: 295.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004123/3.342, allocations: 1.044 MB / 1.43 GB, free: 295.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001673/3.344, allocations: 82.64 kB / 1.43 GB, free: 295.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005332/3.35, allocations: 215.6 kB / 1.431 GB, free: 295.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002569/3.352, allocations: 404.9 kB / 1.431 GB, free: 295.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008072/3.353, allocations: 105.3 kB / 1.431 GB, free: 295.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.004124/3.357, allocations: 1.534 MB / 1.433 GB, free: 295.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.81e-07/3.357, allocations: 0 / 1.433 GB, free: 295.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01075/3.368, allocations: 1.844 MB / 1.434 GB, free: 295.3 MB / 0.9323 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001472/3.369, allocations: 222.8 kB / 1.435 GB, free: 295.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.03478/3.404, allocations: 12.18 MB / 1.447 GB, free: 289.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.685e-05/3.404, allocations: 4.531 kB / 1.447 GB, free: 289.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.02754/3.432, allocations: 8.378 MB / 1.455 GB, free: 284.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009164/3.441, allocations: 1.038 MB / 1.456 GB, free: 284.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03576/3.477, allocations: 14.26 MB / 1.47 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008614/3.486, allocations: 4.191 MB / 1.474 GB, free: 275.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004396/3.49, allocations: 0.6652 MB / 1.474 GB, free: 275.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/3.491, allocations: 175.8 kB / 1.475 GB, free: 275.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.442e-06/3.491, allocations: 0 / 1.475 GB, free: 275.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.2339/3.725, allocations: 102.5 MB / 1.575 GB, free: 187.3 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)