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.001026/0.001027, allocations: 100 kB / 15.05 MB, free: 1.105 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.001083/0.001083, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.733/1.733, allocations: 292.5 MB / 0.5497 GB, free: 14.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.0005272/0.0005275, allocations: 16.09 kB / 0.6736 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2881, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03601/0.3241, allocations: 33.03 MB / 0.8194 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0173/0.3415, allocations: 10.71 MB / 0.8298 GB, free: 104 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003973/0.3455, allocations: 127.3 kB / 0.83 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002584/0.3481, allocations: 0.7648 MB / 0.8307 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005974/0.3541, allocations: 1.702 MB / 0.8324 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004671/0.3588, allocations: 1.294 MB / 0.8336 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008962/0.3678, allocations: 4.443 MB / 0.838 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02129/0.3891, allocations: 12.65 MB / 0.8503 GB, free: 11.04 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006825/0.396, allocations: 2.495 MB / 0.8528 GB, free: 8.531 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005572/0.4016, allocations: 2.651 MB / 0.8553 GB, free: 5.871 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0009746/0.4026, allocations: 344 kB / 0.8557 GB, free: 5.535 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.4048, allocations: 0.5932 MB / 0.8563 GB, free: 4.941 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002159/0.407, allocations: 2.311 MB / 0.8585 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001535/0.4085, allocations: 1.194 MB / 0.8597 GB, free: 1.422 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009251/0.4178, allocations: 10.02 MB / 0.8695 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4178, allocations: 4 kB / 0.8695 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4178, allocations: 0 / 0.8695 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000354/0.4182, allocations: 0 / 0.8695 GB, free: 7.367 MB / 0.6856 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.01205/0.4303, allocations: 5.105 MB / 0.8745 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.4303, allocations: 8.031 kB / 0.8745 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005164/0.4355, allocations: 1.016 MB / 0.8755 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00812/0.4436, allocations: 3.349 MB / 0.8787 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/0.444, allocations: 423.4 kB / 0.8791 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/0.4454, allocations: 0.539 MB / 0.8797 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/0.4642, allocations: 9.283 MB / 0.8887 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/0.4643, allocations: 23.72 kB / 0.8887 GB, free: 3.16 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005992/0.4649, allocations: 248 kB / 0.889 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005871/0.4655, allocations: 418.9 kB / 0.8894 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.479, allocations: 7.084 MB / 0.8963 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5702/1.049, allocations: 41.36 MB / 0.9367 GB, free: 104.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00476/1.054, allocations: 3.102 MB / 0.9397 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/1.054, allocations: 23.06 kB / 0.9397 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/1.054, allocations: 59.47 kB / 0.9398 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=209): time 6.753e-06/1.054, allocations: 2.906 kB / 0.9398 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=212): time 0.02557/1.08, allocations: 10.44 MB / 0.95 GB, free: 100.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/1.08, allocations: 73.53 kB / 0.9501 GB, free: 100.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003647/1.084, allocations: 1.983 MB / 0.952 GB, free: 99.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004789/1.084, allocations: 64.02 kB / 0.9521 GB, free: 99.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001412/1.085, allocations: 2.404 MB / 0.9544 GB, free: 97.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007581/1.086, allocations: 0.7288 MB / 0.9551 GB, free: 97.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/1.086, allocations: 54.19 kB / 0.9552 GB, free: 97.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.087, allocations: 413.4 kB / 0.9556 GB, free: 96.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/1.089, allocations: 1.37 MB / 0.9569 GB, free: 96.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/1.091, allocations: 2.082 MB / 0.9589 GB, free: 94.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/1.093, allocations: 1.726 MB / 0.9606 GB, free: 94.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-05/1.093, allocations: 6.25 kB / 0.9606 GB, free: 94.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00795/1.101, allocations: 5.041 MB / 0.9656 GB, free: 91.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/1.101, allocations: 15.81 kB / 0.9656 GB, free: 91.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/1.101, allocations: 19.78 kB / 0.9656 GB, free: 91.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003066/1.104, allocations: 1.565 MB / 0.9671 GB, free: 91.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.106, allocations: 451.4 kB / 0.9675 GB, free: 90.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/1.123, allocations: 17.73 MB / 0.9849 GB, free: 78.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/1.126, allocations: 148.5 kB / 0.985 GB, free: 78.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/1.126, allocations: 108.3 kB / 0.9851 GB, free: 78.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003581/1.13, allocations: 1.941 MB / 0.987 GB, free: 76.92 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000676/1.131, allocations: 294.3 kB / 0.9873 GB, free: 76.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00573/1.136, allocations: 4.43 MB / 0.9916 GB, free: 74.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/1.136, allocations: 20 kB / 0.9916 GB, free: 74.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/1.136, allocations: 16.75 kB / 0.9916 GB, free: 74.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/1.136, allocations: 11.53 kB / 0.9917 GB, free: 74.19 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/1.152, allocations: 9.653 MB / 1.001 GB, free: 64.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/1.152, allocations: 10.44 kB / 1.001 GB, free: 64.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009102/1.152, allocations: 231.6 kB / 1.001 GB, free: 64.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002673/1.155, allocations: 1.423 MB / 1.003 GB, free: 63.21 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/1.155, allocations: 36 kB / 1.003 GB, free: 63.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01598/1.171, allocations: 17.73 MB / 1.02 GB, free: 44.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.171, allocations: 7.938 kB / 1.02 GB, free: 44.92 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005949/1.177, allocations: 4.871 MB / 1.025 GB, free: 39.85 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/1.179, allocations: 0.6342 MB / 1.025 GB, free: 39.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004225/1.18, allocations: 43.95 kB / 1.025 GB, free: 39.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/1.181, allocations: 115.8 kB / 1.026 GB, free: 39.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000498/1.181, allocations: 181.6 kB / 1.026 GB, free: 38.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/1.181, allocations: 60 kB / 1.026 GB, free: 38.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00158/1.183, allocations: 1.295 MB / 1.027 GB, free: 37.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/1.183, allocations: 0 / 1.027 GB, free: 37.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004209/1.187, allocations: 1.141 MB / 1.028 GB, free: 36.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003201/1.188, allocations: 171.7 kB / 1.028 GB, free: 36.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005889/1.193, allocations: 4.67 MB / 1.033 GB, free: 31.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.193, allocations: 0 / 1.033 GB, free: 31.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003498/1.197, allocations: 2.916 MB / 1.036 GB, free: 28.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003329/1.2, allocations: 0.8027 MB / 1.037 GB, free: 27.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/1.216, allocations: 11.22 MB / 1.047 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004015/1.22, allocations: 3.784 MB / 1.051 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002182/1.222, allocations: 0.5556 MB / 1.052 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/1.223, allocations: 151.4 kB / 1.052 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/1.223, allocations: 0 / 1.052 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.08586/1.308, allocations: 48.77 MB / 1.1 GB, free: 11.8 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: