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.001556/0.001556, allocations: 108.5 kB / 16.36 MB, free: 6.305 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.001527/0.001527, allocations: 189.2 kB / 17.29 MB, free: 5.875 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.599/1.599, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.816/1.816, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001643/0.001643, allocations: 71.03 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2191, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.3866/0.6057, allocations: 11.92 MB / 0.7964 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008127/0.6138, allocations: 5.578 MB / 0.8019 GB, free: 40.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.6153, allocations: 42.5 kB / 0.8019 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002679/0.6181, allocations: 1.04 MB / 0.8029 GB, free: 39.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.6201, allocations: 0.6418 MB / 0.8036 GB, free: 39.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.6227, allocations: 0.9764 MB / 0.8045 GB, free: 39.03 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003551/0.6262, allocations: 2.582 MB / 0.807 GB, free: 37.9 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005012/0.6313, allocations: 3.846 MB / 0.8108 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002533/0.6338, allocations: 1.179 MB / 0.812 GB, free: 36.1 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00275/0.6366, allocations: 1.329 MB / 0.8132 GB, free: 35.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006641/0.6373, allocations: 256.3 kB / 0.8135 GB, free: 35.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.6388, allocations: 0.5391 MB / 0.814 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.64, allocations: 0.9379 MB / 0.8149 GB, free: 35.04 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001618/0.6416, allocations: 1.062 MB / 0.816 GB, free: 34.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005908/0.6476, allocations: 3.83 MB / 0.8197 GB, free: 33.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.6476, allocations: 5.188 kB / 0.8197 GB, free: 33.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6476, allocations: 0 / 0.8197 GB, free: 33.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001251/0.6477, allocations: 0 / 0.8197 GB, free: 33.2 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.006822/0.6546, allocations: 2.083 MB / 0.8218 GB, free: 32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.6546, allocations: 10.16 kB / 0.8218 GB, free: 32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003362/0.658, allocations: 0.692 MB / 0.8224 GB, free: 31.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.6606, allocations: 1.224 MB / 0.8236 GB, free: 31.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-05/0.6607, allocations: 123.5 kB / 0.8238 GB, free: 31.17 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004009/0.6611, allocations: 162 kB / 0.8239 GB, free: 31.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005948/0.6671, allocations: 2.935 MB / 0.8268 GB, free: 30.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.862e-05/0.6672, allocations: 9.531 kB / 0.8268 GB, free: 30.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.6674, allocations: 66.44 kB / 0.8268 GB, free: 30 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004055/0.6678, allocations: 166 kB / 0.827 GB, free: 29.99 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00475/0.6726, allocations: 2.49 MB / 0.8294 GB, free: 29.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.6858, allocations: 10.69 MB / 0.8399 GB, free: 21.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.6871, allocations: 0.9117 MB / 0.8408 GB, free: 20.97 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/0.6878, allocations: 0.4933 MB / 0.8412 GB, free: 20.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.6879, allocations: 96.69 kB / 0.8413 GB, free: 20.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.688, allocations: 38.67 kB / 0.8414 GB, free: 20.65 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=46): time 2.114e-06/0.688, allocations: 4 kB / 0.8414 GB, free: 20.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.02496/0.7129, allocations: 7.692 MB / 0.8489 GB, free: 16.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.713, allocations: 66.61 kB / 0.849 GB, free: 16.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.7145, allocations: 0.9268 MB / 0.8499 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002356/0.7148, allocations: 37.8 kB / 0.8499 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006495/0.7154, allocations: 0.7714 MB / 0.8507 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.7158, allocations: 248.3 kB / 0.8509 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005148/0.7163, allocations: 217.1 kB / 0.8511 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.7165, allocations: 393.8 kB / 0.8515 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.7179, allocations: 0.7835 MB / 0.8522 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.7195, allocations: 1.128 MB / 0.8533 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002831/0.7224, allocations: 1.943 MB / 0.8552 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.7224, allocations: 3.438 kB / 0.8552 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009742/0.7321, allocations: 3.604 MB / 0.8588 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.7322, allocations: 10.22 kB / 0.8588 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.7322, allocations: 12.84 kB / 0.8588 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007343/0.7396, allocations: 1.901 MB / 0.8606 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009627/0.7406, allocations: 223.6 kB / 0.8609 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.7541, allocations: 10.58 MB / 0.8712 GB, free: 336 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.7557, allocations: 175.8 kB / 0.8713 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.7558, allocations: 47.98 kB / 0.8714 GB, free: 112 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002611/0.7585, allocations: 1.494 MB / 0.8729 GB, free: 14.61 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001311/0.7598, allocations: 1.1 MB / 0.8739 GB, free: 13.36 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002435/0.7622, allocations: 1.884 MB / 0.8758 GB, free: 11.32 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.524e-06/0.7622, allocations: 4 kB / 0.8758 GB, free: 11.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007601/0.7699, allocations: 3.049 MB / 0.8787 GB, free: 8.254 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.7699, allocations: 14.03 kB / 0.8788 GB, free: 8.242 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.81e-05/0.77, allocations: 15.94 kB / 0.8788 GB, free: 8.227 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004842/0.7748, allocations: 1.199 MB / 0.8799 GB, free: 7.023 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.776, allocations: 271.5 kB / 0.8802 GB, free: 6.758 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00853/0.7846, allocations: 5.847 MB / 0.8859 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.7863, allocations: 173.4 kB / 0.8861 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.7864, allocations: 44 kB / 0.8861 GB, free: 0.5547 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.0004062/0.7869, allocations: 247.8 kB / 0.8864 GB, free: 312 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.7871, allocations: 86.97 kB / 0.8864 GB, free: 224 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008508/0.7956, allocations: 3.132 MB / 0.8895 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.7956, allocations: 8 kB / 0.8895 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.7957, allocations: 4 kB / 0.8895 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.7957, allocations: 7.984 kB / 0.8895 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.8078, allocations: 5.248 MB / 0.8946 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.8078, allocations: 0 / 0.8946 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000493/0.8083, allocations: 99.86 kB / 0.8947 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00676/0.8151, allocations: 1.722 MB / 0.8964 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/0.8153, allocations: 12 kB / 0.8964 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01403/0.8293, allocations: 9.997 MB / 0.9062 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.8294, allocations: 11.94 kB / 0.9062 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008225/0.8376, allocations: 3.023 MB / 0.9092 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008816/0.8385, allocations: 319.9 kB / 0.9095 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.8387, allocations: 16 kB / 0.9095 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000905/0.8396, allocations: 129.8 kB / 0.9096 GB, free: 8.02 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/0.8399, allocations: 64.42 kB / 0.9097 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.368e-05/0.84, allocations: 23.98 kB / 0.9097 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009492/0.841, allocations: 0.6629 MB / 0.9103 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.841, allocations: 0 / 0.9103 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002501/0.8435, allocations: 0.6875 MB / 0.911 GB, free: 6.586 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.0002737/0.8438, allocations: 115.2 kB / 0.9111 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005834/0.8496, allocations: 3.492 MB / 0.9145 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.8497, allocations: 0 / 0.9145 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.8517, allocations: 1.255 MB / 0.9158 GB, free: 1.652 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.8533, allocations: 275.4 kB / 0.916 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006867/0.8602, allocations: 3.657 MB / 0.9196 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/0.862, allocations: 1.73 MB / 0.9213 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.8623, allocations: 67.42 kB / 0.9213 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of SimCode: time 9.62e-07/0.8623, allocations: 0 / 0.9213 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of Templates: time 0.05712/0.9195, allocations: 42.73 MB / 0.9631 GB, free: 1.246 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)