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.001124/0.001124, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.669/1.669, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.947/1.947, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001415/0.001416, allocations: 68.23 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2798, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01814/0.298, allocations: 13.91 MB / 0.797 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.3139, allocations: 9.482 MB / 0.8062 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.316, allocations: 59.62 kB / 0.8063 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004979/0.321, allocations: 1.656 MB / 0.8079 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006204/0.3272, allocations: 1.547 MB / 0.8094 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.33, allocations: 0.7552 MB / 0.8101 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00536/0.3354, allocations: 2.512 MB / 0.8126 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003683/0.3391, allocations: 1.43 MB / 0.814 GB, free: 14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.3422, allocations: 1.036 MB / 0.815 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002896/0.3451, allocations: 1.144 MB / 0.8161 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008313/0.346, allocations: 168 kB / 0.8163 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002853/0.3489, allocations: 0.7838 MB / 0.8171 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001649/0.3505, allocations: 0.6193 MB / 0.8177 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003356/0.3539, allocations: 0.9484 MB / 0.8186 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006575/0.3605, allocations: 2.722 MB / 0.8212 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.3605, allocations: 0 / 0.8212 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.887e-06/0.3606, allocations: 0 / 0.8212 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001807/0.3607, allocations: 0 / 0.8212 GB, free: 6.559 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.007537/0.3683, allocations: 2.147 MB / 0.8233 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3684, allocations: 12.03 kB / 0.8233 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.38, allocations: 2.081 MB / 0.8254 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003331/0.3834, allocations: 1.197 MB / 0.8265 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.3835, allocations: 86.73 kB / 0.8266 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004032/0.3839, allocations: 132 kB / 0.8268 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006089/0.39, allocations: 2.678 MB / 0.8294 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/0.3901, allocations: 4 kB / 0.8294 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.3903, allocations: 51.98 kB / 0.8294 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006963/0.391, allocations: 190 kB / 0.8296 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007692/0.3987, allocations: 2.795 MB / 0.8323 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.4168, allocations: 10.52 MB / 0.8426 GB, free: 15.81 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006965/0.4239, allocations: 2.528 MB / 0.8451 GB, free: 13.22 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003306/0.4272, allocations: 1.288 MB / 0.8463 GB, free: 11.93 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.219e-05/0.4273, allocations: 17 kB / 0.8463 GB, free: 11.91 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.4274, allocations: 39.56 kB / 0.8464 GB, free: 11.86 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 3.156e-06/0.4274, allocations: 0 / 0.8464 GB, free: 11.86 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.04846/0.4759, allocations: 13.35 MB / 0.8594 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.476, allocations: 64.72 kB / 0.8595 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.4778, allocations: 1.113 MB / 0.8606 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002799/0.4781, allocations: 53.7 kB / 0.8606 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005708/0.4786, allocations: 0.7156 MB / 0.8613 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005164/0.4792, allocations: 453.4 kB / 0.8618 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005024/0.4797, allocations: 259.4 kB / 0.862 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4799, allocations: 357.9 kB / 0.8623 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/0.4834, allocations: 1.343 MB / 0.8637 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003659/0.4871, allocations: 1.604 MB / 0.8652 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007686/0.4948, allocations: 2.994 MB / 0.8681 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4949, allocations: 4 kB / 0.8681 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01326/0.5081, allocations: 4.442 MB / 0.8725 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.5082, allocations: 8 kB / 0.8725 GB, free: 0.6055 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.5083, allocations: 8 kB / 0.8725 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005786/0.5141, allocations: 1.443 MB / 0.8739 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/0.5166, allocations: 439.2 kB / 0.8743 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03916/0.5558, allocations: 26.7 MB / 0.9004 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/0.5588, allocations: 299.7 kB / 0.9007 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.559, allocations: 67.91 kB / 0.9008 GB, free: 1.797 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.001039/0.5601, allocations: 437.1 kB / 0.9012 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/0.5604, allocations: 166.1 kB / 0.9013 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.5735, allocations: 4.465 MB / 0.9057 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.5735, allocations: 12 kB / 0.9057 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-05/0.5736, allocations: 12 kB / 0.9057 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.5736, allocations: 3.984 kB / 0.9057 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/0.5906, allocations: 6.763 MB / 0.9123 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.5907, allocations: 4 kB / 0.9123 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/0.5926, allocations: 379.7 kB / 0.9127 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004756/0.5974, allocations: 1.322 MB / 0.914 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.5975, allocations: 39.97 kB / 0.914 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5747/1.172, allocations: 25.5 MB / 0.9389 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.172, allocations: 8.031 kB / 0.9389 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/1.186, allocations: 4.2 MB / 0.943 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/1.187, allocations: 458.2 kB / 0.9435 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/1.187, allocations: 29.08 kB / 0.9435 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/1.19, allocations: 307.5 kB / 0.9438 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007324/1.19, allocations: 124.5 kB / 0.9439 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/1.19, allocations: 52.19 kB / 0.9439 GB, free: 110 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001387/1.192, allocations: 0.7562 MB / 0.9447 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.192, allocations: 0 / 0.9447 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002834/1.195, allocations: 0.5672 MB / 0.9452 GB, free: 109.6 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.0003442/1.195, allocations: 138.8 kB / 0.9454 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01552/1.211, allocations: 5.52 MB / 0.9508 GB, free: 107 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/1.211, allocations: 1 kB / 0.9508 GB, free: 107 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008011/1.219, allocations: 3.493 MB / 0.9542 GB, free: 104.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/1.222, allocations: 0.5409 MB / 0.9547 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009375/1.231, allocations: 4.037 MB / 0.9586 GB, free: 103.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/1.232, allocations: 1.476 MB / 0.9601 GB, free: 102.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001995/1.234, allocations: 424.2 kB / 0.9605 GB, free: 102.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/1.235, allocations: 117.4 kB / 0.9606 GB, free: 102.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/1.235, allocations: 0 / 0.9606 GB, free: 102.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.06242/1.297, allocations: 38.96 MB / 0.9987 GB, free: 74.12 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)