Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.836/1.836, allocations: 292.3 MB / 308.1 MB, free: 4.254 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.001713/0.001713, allocations: 187.9 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205 MB / 0.6353 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001176, allocations: 99.03 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3057, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0402/0.346, allocations: 32.2 MB / 1.014 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.5533/0.8993, allocations: 10.37 MB / 1.024 GB, free: 71.26 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003661/0.9031, allocations: 136.2 kB / 1.024 GB, free: 71.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.009001/0.9121, allocations: 3.469 MB / 1.027 GB, free: 71.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.007436/0.9196, allocations: 1.743 MB / 1.029 GB, free: 71.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00695/0.9266, allocations: 1.936 MB / 1.031 GB, free: 71.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.017/0.9436, allocations: 10.62 MB / 1.041 GB, free: 71.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02188/0.9655, allocations: 10.63 MB / 1.052 GB, free: 69.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006489/0.9721, allocations: 2.725 MB / 1.054 GB, free: 68.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007914/0.98, allocations: 3.559 MB / 1.058 GB, free: 68.36 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.004128/0.9843, allocations: 456.9 kB / 1.058 GB, free: 68.35 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008076/0.9924, allocations: 1.873 MB / 1.06 GB, free: 68.16 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.004129/0.9966, allocations: 2.34 MB / 1.062 GB, free: 67.34 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00476/1.001, allocations: 2.664 MB / 1.065 GB, free: 65.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01082/1.012, allocations: 9.984 MB / 1.075 GB, free: 62.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/1.012, allocations: 0 / 1.075 GB, free: 62.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.665e-06/1.012, allocations: 0 / 1.075 GB, free: 62.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003115/1.013, allocations: 0 / 1.075 GB, free: 62.78 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01293/1.026, allocations: 4.996 MB / 1.08 GB, free: 60.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.026, allocations: 8.094 kB / 1.08 GB, free: 60.03 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005148/1.031, allocations: 0.9555 MB / 1.081 GB, free: 59.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008174/1.039, allocations: 2.85 MB / 1.083 GB, free: 58.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003371/1.039, allocations: 353 kB / 1.084 GB, free: 58.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00193/1.041, allocations: 461.5 kB / 1.084 GB, free: 58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/1.059, allocations: 7.664 MB / 1.092 GB, free: 54.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/1.059, allocations: 36.81 kB / 1.092 GB, free: 54.65 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008232/1.06, allocations: 203.4 kB / 1.092 GB, free: 54.51 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003426/1.06, allocations: 311.1 kB / 1.092 GB, free: 54.47 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/1.072, allocations: 5.712 MB / 1.098 GB, free: 52.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05216/1.124, allocations: 35.1 MB / 1.132 GB, free: 23.4 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003135/1.127, allocations: 2.159 MB / 1.134 GB, free: 22.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/1.129, allocations: 1.26 MB / 1.135 GB, free: 21.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/1.129, allocations: 13.12 kB / 1.135 GB, free: 21.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.369e-05/1.129, allocations: 53.53 kB / 1.135 GB, free: 21.6 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=133): time 9.488e-06/1.129, allocations: 0 / 1.135 GB, free: 21.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=136): time 0.01746/1.147, allocations: 7.086 MB / 1.142 GB, free: 17.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/1.147, allocations: 70.56 kB / 1.142 GB, free: 17.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003537/1.15, allocations: 1.478 MB / 1.144 GB, free: 17.19 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/1.151, allocations: 49.78 kB / 1.144 GB, free: 17.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001489/1.152, allocations: 2.001 MB / 1.146 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006048/1.153, allocations: 489.6 kB / 1.146 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007843/1.153, allocations: 349.6 kB / 1.147 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.072e-05/1.154, allocations: 309.9 kB / 1.147 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/1.155, allocations: 0.9089 MB / 1.148 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/1.157, allocations: 1.605 MB / 1.149 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004281/1.162, allocations: 2.726 MB / 1.152 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-05/1.162, allocations: 5.562 kB / 1.152 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.008492/1.17, allocations: 3.537 MB / 1.155 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/1.17, allocations: 14.06 kB / 1.155 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.164e-05/1.17, allocations: 22.31 kB / 1.155 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003131/1.174, allocations: 0.9072 MB / 1.156 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/1.175, allocations: 357 kB / 1.157 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02316/1.198, allocations: 21.2 MB / 1.177 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/1.201, allocations: 99.56 kB / 1.178 GB, free: 7.301 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004893/1.201, allocations: 86.75 kB / 1.178 GB, free: 7.285 MB / 0.7605 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005015/1.206, allocations: 1.607 MB / 1.179 GB, free: 6.57 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008782/1.207, allocations: 210.9 kB / 1.179 GB, free: 6.461 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007199/1.214, allocations: 2.992 MB / 1.182 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/1.214, allocations: 12.91 kB / 1.182 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.277e-05/1.214, allocations: 10.42 kB / 1.182 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/1.214, allocations: 7.812 kB / 1.182 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01954/1.234, allocations: 7.344 MB / 1.189 GB, free: 1.891 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.234, allocations: 12.12 kB / 1.19 GB, free: 1.887 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008487/1.235, allocations: 170.5 kB / 1.19 GB, free: 1.875 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002585/1.237, allocations: 0.8225 MB / 1.19 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/1.238, allocations: 31.72 kB / 1.191 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01954/1.257, allocations: 20.3 MB / 1.21 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/1.257, allocations: 12 kB / 1.21 GB, free: 15.05 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009873/1.267, allocations: 5.214 MB / 1.215 GB, free: 9.676 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.269, allocations: 454.5 kB / 1.216 GB, free: 9.211 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005175/1.269, allocations: 28 kB / 1.216 GB, free: 9.184 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/1.271, allocations: 75.97 kB / 1.216 GB, free: 9.109 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004637/1.271, allocations: 128.7 kB / 1.216 GB, free: 8.98 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-05/1.271, allocations: 40 kB / 1.216 GB, free: 8.941 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00143/1.273, allocations: 0.9756 MB / 1.217 GB, free: 7.941 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.51e-07/1.273, allocations: 3.938 kB / 1.217 GB, free: 7.938 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003899/1.277, allocations: 0.7929 MB / 1.218 GB, free: 7.145 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002741/1.277, allocations: 147 kB / 1.218 GB, free: 6.992 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006456/1.283, allocations: 4.015 MB / 1.222 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/1.283, allocations: 5.719 kB / 1.222 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004298/1.288, allocations: 2.721 MB / 1.225 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004557/1.292, allocations: 0.6694 MB / 1.225 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01947/1.312, allocations: 9.965 MB / 1.235 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00557/1.317, allocations: 3.156 MB / 1.238 GB, free: 2.047 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001881/1.319, allocations: 454 kB / 1.238 GB, free: 1.602 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/1.32, allocations: 123.4 kB / 1.239 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of SimCode: time 6.52e-07/1.32, allocations: 0 / 1.239 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of Templates: time 0.06921/1.389, allocations: 35.77 MB / 1.274 GB, free: 14.09 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)