Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 101.6 kB / 16.27 MB, free: 6.418 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.001307/0.001307, allocations: 189.8 kB / 17.2 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.436/1.436, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.758/1.758, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001431/0.001432, allocations: 59.91 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2407, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.4075/0.6483, allocations: 11.92 MB / 0.7957 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007969/0.6563, allocations: 5.574 MB / 0.8011 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.6576, allocations: 39.09 kB / 0.8012 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002757/0.6604, allocations: 1.038 MB / 0.8022 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.6625, allocations: 0.6486 MB / 0.8028 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.6651, allocations: 0.9811 MB / 0.8038 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003442/0.6685, allocations: 2.583 MB / 0.8063 GB, free: 38.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005211/0.6737, allocations: 3.836 MB / 0.81 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.6762, allocations: 1.18 MB / 0.8112 GB, free: 36.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.6788, allocations: 1.331 MB / 0.8125 GB, free: 35.65 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007705/0.6796, allocations: 252.8 kB / 0.8127 GB, free: 35.65 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.6814, allocations: 0.5312 MB / 0.8132 GB, free: 35.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001446/0.6828, allocations: 0.9384 MB / 0.8142 GB, free: 35.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00186/0.6847, allocations: 1.061 MB / 0.8152 GB, free: 34.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005868/0.6906, allocations: 3.814 MB / 0.8189 GB, free: 33.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.6906, allocations: 0 / 0.8189 GB, free: 33.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.826e-06/0.6907, allocations: 0 / 0.8189 GB, free: 33.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001497/0.6908, allocations: 0 / 0.8189 GB, free: 33.32 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.007454/0.6983, allocations: 2.09 MB / 0.821 GB, free: 32.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.6983, allocations: 8.969 kB / 0.821 GB, free: 32.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/0.7018, allocations: 0.6979 MB / 0.8217 GB, free: 32.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/0.7046, allocations: 1.188 MB / 0.8228 GB, free: 31.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.7047, allocations: 124.8 kB / 0.8229 GB, free: 31.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003535/0.7051, allocations: 157.4 kB / 0.8231 GB, free: 31.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00615/0.7112, allocations: 2.946 MB / 0.826 GB, free: 30.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-05/0.7113, allocations: 6.688 kB / 0.826 GB, free: 30.17 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.7116, allocations: 72.98 kB / 0.826 GB, free: 30.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004323/0.712, allocations: 165.9 kB / 0.8262 GB, free: 30.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004682/0.7167, allocations: 2.491 MB / 0.8286 GB, free: 29.33 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.7303, allocations: 10.79 MB / 0.8392 GB, free: 21.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.7317, allocations: 0.9031 MB / 0.84 GB, free: 21.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/0.7325, allocations: 0.4922 MB / 0.8405 GB, free: 20.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.7326, allocations: 95.44 kB / 0.8406 GB, free: 20.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.7327, allocations: 38.62 kB / 0.8407 GB, free: 20.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=46): time 3.196e-06/0.7327, allocations: 0 / 0.8407 GB, free: 20.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.02543/0.7581, allocations: 7.69 MB / 0.8482 GB, free: 17.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.7582, allocations: 59.5 kB / 0.8482 GB, free: 17.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.7596, allocations: 0.9299 MB / 0.8491 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.7597, allocations: 38.08 kB / 0.8492 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.7601, allocations: 0.7726 MB / 0.8499 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.7603, allocations: 252.9 kB / 0.8502 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/0.7608, allocations: 218.2 kB / 0.8504 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7609, allocations: 395.2 kB / 0.8507 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.762, allocations: 0.779 MB / 0.8515 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.7633, allocations: 1.128 MB / 0.8526 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/0.7657, allocations: 1.943 MB / 0.8545 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.7657, allocations: 11.81 kB / 0.8545 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009194/0.7749, allocations: 3.6 MB / 0.858 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.775, allocations: 13.31 kB / 0.858 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/0.775, allocations: 11.53 kB / 0.8581 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007577/0.7826, allocations: 1.901 MB / 0.8599 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009983/0.7836, allocations: 224.2 kB / 0.8601 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.798, allocations: 10.59 MB / 0.8705 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.7998, allocations: 171.7 kB / 0.8706 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.7999, allocations: 51.98 kB / 0.8707 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002639/0.8026, allocations: 1.494 MB / 0.8721 GB, free: 15.02 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001387/0.804, allocations: 1.096 MB / 0.8732 GB, free: 13.77 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002545/0.8065, allocations: 1.888 MB / 0.8751 GB, free: 11.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.476e-06/0.8065, allocations: 4 kB / 0.8751 GB, free: 11.72 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007752/0.8143, allocations: 3.041 MB / 0.878 GB, free: 8.668 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.8143, allocations: 12 kB / 0.878 GB, free: 8.656 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.8144, allocations: 15.94 kB / 0.8781 GB, free: 8.641 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004913/0.8193, allocations: 1.201 MB / 0.8792 GB, free: 7.438 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.8205, allocations: 271.5 kB / 0.8795 GB, free: 7.172 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008469/0.829, allocations: 5.847 MB / 0.8852 GB, free: 1.176 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.8306, allocations: 163.8 kB / 0.8854 GB, free: 1.016 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.8308, allocations: 45.5 kB / 0.8854 GB, free: 0.9727 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004395/0.8312, allocations: 247.9 kB / 0.8856 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.8315, allocations: 86.97 kB / 0.8857 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008841/0.8404, allocations: 3.14 MB / 0.8888 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.8404, allocations: 11.94 kB / 0.8888 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.8404, allocations: 4 kB / 0.8888 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.8405, allocations: 7.984 kB / 0.8888 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/0.8541, allocations: 5.256 MB / 0.8939 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.8541, allocations: 0 / 0.8939 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.8546, allocations: 99.86 kB / 0.894 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006891/0.8615, allocations: 1.726 MB / 0.8957 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.8617, allocations: 16 kB / 0.8957 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/0.8763, allocations: 10.01 MB / 0.9055 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.8764, allocations: 4 kB / 0.9055 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008697/0.8851, allocations: 3.022 MB / 0.9085 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009902/0.8861, allocations: 319.9 kB / 0.9088 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004362/0.8866, allocations: 17.97 kB / 0.9088 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.8879, allocations: 127.8 kB / 0.9089 GB, free: 8.406 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003594/0.8883, allocations: 64.42 kB / 0.909 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.736e-05/0.8884, allocations: 20 kB / 0.909 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001405/0.8898, allocations: 0.6707 MB / 0.9097 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8898, allocations: 0 / 0.9097 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003447/0.8933, allocations: 0.6875 MB / 0.9103 GB, free: 6.969 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002809/0.8936, allocations: 119.2 kB / 0.9104 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007113/0.9007, allocations: 3.68 MB / 0.914 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.9007, allocations: 0 / 0.914 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.903, allocations: 1.246 MB / 0.9152 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.9051, allocations: 292.7 kB / 0.9155 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00743/0.9125, allocations: 3.682 MB / 0.9191 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/0.9145, allocations: 1.73 MB / 0.9208 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.9149, allocations: 63.44 kB / 0.9209 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of SimCode: time 1.042e-06/0.9149, allocations: 0 / 0.9209 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of Templates: time 0.05296/0.9679, allocations: 42.73 MB / 0.9626 GB, free: 1.398 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)