Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002048/0.002048, allocations: 188.8 kB / 16.25 MB, free: 6.637 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.709/1.709, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.814/1.814, allocations: 292.2 MB / 0.5485 GB, free: 13.59 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.001383/0.001383, allocations: 72.48 kB / 0.671 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3286, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02046/0.3492, allocations: 13.84 MB / 0.7964 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01688/0.3661, allocations: 9.39 MB / 0.8055 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.3689, allocations: 55.62 kB / 0.8056 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005628/0.3746, allocations: 1.572 MB / 0.8071 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007589/0.3822, allocations: 1.403 MB / 0.8085 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.3855, allocations: 0.6894 MB / 0.8092 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006139/0.3917, allocations: 2.524 MB / 0.8116 GB, free: 308 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004894/0.3966, allocations: 1.582 MB / 0.8132 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.3996, allocations: 1.063 MB / 0.8142 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002719/0.4024, allocations: 1.183 MB / 0.8154 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001115/0.4035, allocations: 164 kB / 0.8155 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.4064, allocations: 0.7955 MB / 0.8163 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.4078, allocations: 0.6154 MB / 0.8169 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002681/0.4105, allocations: 0.9484 MB / 0.8178 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005705/0.4162, allocations: 2.776 MB / 0.8206 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4163, allocations: 0 / 0.8206 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4163, allocations: 0 / 0.8206 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001469/0.4164, allocations: 0 / 0.8206 GB, free: 7.117 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.005781/0.4222, allocations: 2.135 MB / 0.8226 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/0.4223, allocations: 8.031 kB / 0.8226 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.4336, allocations: 2.085 MB / 0.8247 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0032/0.4368, allocations: 1.197 MB / 0.8259 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-05/0.437, allocations: 94.67 kB / 0.8259 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003035/0.4373, allocations: 124 kB / 0.8261 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006001/0.4433, allocations: 2.678 MB / 0.8287 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.882e-05/0.4434, allocations: 11.92 kB / 0.8287 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.4435, allocations: 55.98 kB / 0.8287 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006009/0.4442, allocations: 182.1 kB / 0.8289 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007458/0.4516, allocations: 2.791 MB / 0.8316 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.4679, allocations: 10.51 MB / 0.8419 GB, free: 404 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006842/0.4748, allocations: 2.528 MB / 0.8444 GB, free: 13.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002939/0.4778, allocations: 1.288 MB / 0.8456 GB, free: 12.51 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.615e-05/0.4779, allocations: 16.92 kB / 0.8456 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.4779, allocations: 47.5 kB / 0.8457 GB, free: 12.44 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 3.156e-06/0.4779, allocations: 0 / 0.8457 GB, free: 12.44 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.04519/0.5231, allocations: 13.36 MB / 0.8587 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.5233, allocations: 68.7 kB / 0.8588 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.5251, allocations: 1.113 MB / 0.8599 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003005/0.5254, allocations: 45.7 kB / 0.8599 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005584/0.5259, allocations: 0.7117 MB / 0.8606 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000516/0.5265, allocations: 453.4 kB / 0.8611 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005275/0.527, allocations: 271.4 kB / 0.8613 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0003465/0.5274, allocations: 361.9 kB / 0.8617 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003277/0.5306, allocations: 1.339 MB / 0.863 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/0.5341, allocations: 1.6 MB / 0.8645 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006751/0.5408, allocations: 2.991 MB / 0.8675 GB, free: 5.676 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.5409, allocations: 8 kB / 0.8675 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01183/0.5527, allocations: 4.446 MB / 0.8718 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.5529, allocations: 8 kB / 0.8718 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.5529, allocations: 4 kB / 0.8718 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005541/0.5584, allocations: 1.44 MB / 0.8732 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/0.5607, allocations: 443.2 kB / 0.8736 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03124/0.5919, allocations: 26.69 MB / 0.8997 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/0.5952, allocations: 307.6 kB / 0.9 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003571/0.5956, allocations: 67.91 kB / 0.9001 GB, free: 2.352 MB / 0.7169 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001042/0.5966, allocations: 440.7 kB / 0.9005 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004929/0.5971, allocations: 158.1 kB / 0.9006 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/0.6086, allocations: 4.453 MB / 0.905 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.6087, allocations: 16.12 kB / 0.905 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.935e-05/0.6088, allocations: 12 kB / 0.905 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-05/0.6088, allocations: 15.91 kB / 0.905 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/0.6243, allocations: 6.759 MB / 0.9116 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.6244, allocations: 8.016 kB / 0.9116 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/0.6262, allocations: 375.4 kB / 0.912 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004862/0.6311, allocations: 1.31 MB / 0.9133 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000277/0.6314, allocations: 43.95 kB / 0.9133 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5593/1.191, allocations: 25.5 MB / 0.9382 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.191, allocations: 5.562 kB / 0.9382 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/1.202, allocations: 4.2 MB / 0.9423 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/1.204, allocations: 458.5 kB / 0.9428 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/1.204, allocations: 28.67 kB / 0.9428 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/1.206, allocations: 308.1 kB / 0.9431 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005941/1.207, allocations: 125.6 kB / 0.9432 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.207, allocations: 52.56 kB / 0.9432 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001175/1.208, allocations: 0.7511 MB / 0.944 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.834e-06/1.208, allocations: 3.375 kB / 0.944 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00325/1.211, allocations: 0.575 MB / 0.9445 GB, free: 110.3 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004533/1.212, allocations: 140.2 kB / 0.9447 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01505/1.227, allocations: 5.509 MB / 0.9501 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/1.227, allocations: 0.5625 kB / 0.9501 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007506/1.234, allocations: 3.494 MB / 0.9535 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/1.238, allocations: 0.5488 MB / 0.954 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/1.25, allocations: 4.663 MB / 0.9586 GB, free: 103.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/1.251, allocations: 1.471 MB / 0.96 GB, free: 102.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002151/1.253, allocations: 428.1 kB / 0.9604 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004337/1.254, allocations: 113 kB / 0.9605 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/1.254, allocations: 0 / 0.9605 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.06378/1.318, allocations: 39.25 MB / 0.9988 GB, free: 73.85 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)