Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 110.5 kB / 15.99 MB, free: 6.348 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.001081/0.001081, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.466/1.466, allocations: 205.1 MB / 222.8 MB, free: 4.68 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.719/1.719, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.00165/0.00165, allocations: 71.64 kB / 0.6717 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2486, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03952/0.2882, allocations: 37.46 MB / 0.8201 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02071/0.3089, allocations: 10.98 MB / 0.8308 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00493/0.3139, allocations: 139.2 kB / 0.831 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.3263, allocations: 4.082 MB / 0.8349 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007892/0.3342, allocations: 2.045 MB / 0.8369 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006215/0.3405, allocations: 1.982 MB / 0.8389 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01201/0.3525, allocations: 9.288 MB / 0.848 GB, free: 11.7 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0223/0.3748, allocations: 13.58 MB / 0.8612 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007867/0.3827, allocations: 4.05 MB / 0.8652 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008259/0.391, allocations: 4.713 MB / 0.8698 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003038/0.3941, allocations: 0.8242 MB / 0.8706 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00477/0.3989, allocations: 1.592 MB / 0.8721 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00574/0.4047, allocations: 3.146 MB / 0.8752 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.008466/0.4132, allocations: 3.649 MB / 0.8788 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.4258, allocations: 10.53 MB / 0.889 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4259, allocations: 0 / 0.889 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4259, allocations: 0 / 0.889 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004224/0.4263, allocations: 0 / 0.889 GB, free: 1.438 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01859/0.4449, allocations: 6.326 MB / 0.8952 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.445, allocations: 8.031 kB / 0.8952 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006456/0.4514, allocations: 1.071 MB / 0.8963 GB, free: 9.953 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007596/0.4591, allocations: 3.419 MB / 0.8996 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004935/0.4596, allocations: 427.7 kB / 0.9 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00224/0.4619, allocations: 0.5471 MB / 0.9006 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02301/0.4849, allocations: 9.374 MB / 0.9097 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000257/0.4852, allocations: 19.81 kB / 0.9097 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001828/0.4871, allocations: 251.9 kB / 0.91 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000706/0.4878, allocations: 422.9 kB / 0.9104 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/0.5047, allocations: 7.123 MB / 0.9173 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4852/0.9899, allocations: 41.32 MB / 0.9577 GB, free: 91.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006409/0.9964, allocations: 3.099 MB / 0.9607 GB, free: 90.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004615/1.001, allocations: 2.14 MB / 0.9628 GB, free: 89.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/1.001, allocations: 22.5 kB / 0.9628 GB, free: 89.58 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.622e-05/1.001, allocations: 67.89 kB / 0.9629 GB, free: 89.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=209): time 9.057e-06/1.001, allocations: 0 / 0.9629 GB, free: 89.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=212): time 0.02896/1.03, allocations: 10.56 MB / 0.9732 GB, free: 84.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/1.031, allocations: 74.91 kB / 0.9733 GB, free: 84.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007076/1.038, allocations: 2.005 MB / 0.9752 GB, free: 83.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005926/1.038, allocations: 67.95 kB / 0.9753 GB, free: 83.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002255/1.041, allocations: 2.401 MB / 0.9776 GB, free: 81.22 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/1.042, allocations: 0.7357 MB / 0.9784 GB, free: 80.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001574/1.043, allocations: 476 kB / 0.9788 GB, free: 80.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.473e-05/1.043, allocations: 310.4 kB / 0.9791 GB, free: 80.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002223/1.046, allocations: 1.375 MB / 0.9804 GB, free: 79.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/1.048, allocations: 2.099 MB / 0.9825 GB, free: 77.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004398/1.052, allocations: 3.769 MB / 0.9862 GB, free: 75.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-05/1.052, allocations: 7.906 kB / 0.9862 GB, free: 75.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008432/1.061, allocations: 5.073 MB / 0.9911 GB, free: 72.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/1.061, allocations: 14.44 kB / 0.9912 GB, free: 72.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/1.061, allocations: 22.94 kB / 0.9912 GB, free: 72.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003469/1.064, allocations: 1.597 MB / 0.9927 GB, free: 71.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/1.066, allocations: 451.2 kB / 0.9932 GB, free: 71.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/1.085, allocations: 18.59 MB / 1.011 GB, free: 54.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/1.088, allocations: 147.8 kB / 1.011 GB, free: 54.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000544/1.089, allocations: 108 kB / 1.012 GB, free: 54.6 MB / 0.7325 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003814/1.093, allocations: 1.945 MB / 1.013 GB, free: 52.64 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.094, allocations: 288.6 kB / 1.014 GB, free: 52.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006801/1.1, allocations: 4.447 MB / 1.018 GB, free: 47.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/1.1, allocations: 23.98 kB / 1.018 GB, free: 47.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.152e-05/1.1, allocations: 16 kB / 1.018 GB, free: 47.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/1.101, allocations: 11.97 kB / 1.018 GB, free: 47.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/1.118, allocations: 9.66 MB / 1.028 GB, free: 38.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/1.118, allocations: 4 kB / 1.028 GB, free: 38.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009921/1.119, allocations: 243.5 kB / 1.028 GB, free: 37.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/1.122, allocations: 1.439 MB / 1.029 GB, free: 36.37 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/1.122, allocations: 36 kB / 1.029 GB, free: 36.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/1.14, allocations: 18.58 MB / 1.047 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.14, allocations: 8 kB / 1.047 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007142/1.147, allocations: 4.54 MB / 1.052 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001778/1.149, allocations: 0.6344 MB / 1.052 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008706/1.15, allocations: 43.98 kB / 1.052 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/1.152, allocations: 119.8 kB / 1.053 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006049/1.153, allocations: 181.6 kB / 1.053 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002225/1.153, allocations: 60 kB / 1.053 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002239/1.155, allocations: 1.311 MB / 1.054 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/1.155, allocations: 0 / 1.054 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004147/1.159, allocations: 1.141 MB / 1.055 GB, free: 9.051 MB / 0.7325 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003966/1.16, allocations: 167 kB / 1.055 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008735/1.168, allocations: 5.902 MB / 1.061 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.169, allocations: 7.234 kB / 1.061 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004/1.173, allocations: 2.929 MB / 1.064 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005203/1.178, allocations: 0.8971 MB / 1.065 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0239/1.202, allocations: 12.54 MB / 1.077 GB, free: 2.457 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006487/1.208, allocations: 3.784 MB / 1.081 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009474/1.209, allocations: 159.4 kB / 1.081 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of SimCode: time 2.184e-06/1.209, allocations: 4 kB / 1.081 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of Templates: time 0.2259/1.435, allocations: 171.8 MB / 1.249 GB, free: 2.77 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)