Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009724/0.0009724, allocations: 184.4 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007081/0.0007081, allocations: 84 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003171, allocations: 15.78 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.214, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02598/0.24, allocations: 33.88 MB / 0.9345 GB, free: 29.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.2542, allocations: 9.915 MB / 0.9442 GB, free: 19.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003319/0.2575, allocations: 123.2 kB / 0.9443 GB, free: 19.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002396/0.26, allocations: 0.6977 MB / 0.945 GB, free: 18.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005321/0.2653, allocations: 1.917 MB / 0.9469 GB, free: 16.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003636/0.269, allocations: 1.602 MB / 0.9485 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009482/0.2785, allocations: 11.19 MB / 0.9594 GB, free: 4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01752/0.296, allocations: 12.16 MB / 0.9713 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005149/0.3012, allocations: 2.478 MB / 0.9737 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006277/0.3075, allocations: 3.211 MB / 0.9768 GB, free: 2.016 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0009022/0.3084, allocations: 280 kB / 0.9771 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.3118, allocations: 1.267 MB / 0.9783 GB, free: 484 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.002406/0.3142, allocations: 2.104 MB / 0.9804 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003561/0.3177, allocations: 2.528 MB / 0.9829 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.009093/0.3268, allocations: 8.595 MB / 0.9912 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3269, allocations: 0 / 0.9912 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.996e-06/0.3269, allocations: 0 / 0.9912 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003193/0.3272, allocations: 0 / 0.9912 GB, free: 3.199 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0106/0.3378, allocations: 4.361 MB / 0.9955 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3379, allocations: 8.031 kB / 0.9955 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005256/0.3432, allocations: 0.9549 MB / 0.9964 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005586/0.3488, allocations: 3.003 MB / 0.9994 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/0.3491, allocations: 357.9 kB / 0.9997 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001171/0.3503, allocations: 480.2 kB / 1 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.3649, allocations: 7.902 MB / 1.008 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/0.3651, allocations: 15.88 kB / 1.008 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005441/0.3657, allocations: 208 kB / 1.008 GB, free: 1.438 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005593/0.3662, allocations: 369.1 kB / 1.008 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.3775, allocations: 5.933 MB / 1.014 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0415/0.419, allocations: 36.26 MB / 1.05 GB, free: 3.625 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003822/0.4229, allocations: 2.142 MB / 1.052 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3783/0.8012, allocations: 1.481 MB / 1.053 GB, free: 137.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.8015, allocations: 17.12 kB / 1.053 GB, free: 137.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.8016, allocations: 54.16 kB / 1.053 GB, free: 137.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=157): time 3.676e-06/0.8016, allocations: 2 kB / 1.053 GB, free: 137.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=160): time 0.01377/0.8154, allocations: 7.573 MB / 1.061 GB, free: 135.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.8155, allocations: 67.72 kB / 1.061 GB, free: 135.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/0.8184, allocations: 1.862 MB / 1.063 GB, free: 135.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.8186, allocations: 52.2 kB / 1.063 GB, free: 135.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.8203, allocations: 2.129 MB / 1.065 GB, free: 134.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005536/0.8208, allocations: 0.5564 MB / 1.065 GB, free: 133.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.821, allocations: 44.56 kB / 1.065 GB, free: 133.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8212, allocations: 397.8 kB / 1.066 GB, free: 133.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.8231, allocations: 1.064 MB / 1.067 GB, free: 133.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/0.8254, allocations: 1.76 MB / 1.068 GB, free: 132.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004562/0.83, allocations: 3.053 MB / 1.071 GB, free: 131.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-05/0.83, allocations: 6.719 kB / 1.071 GB, free: 131.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007184/0.8372, allocations: 3.92 MB / 1.075 GB, free: 130.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.8373, allocations: 14.56 kB / 1.075 GB, free: 130.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-05/0.8373, allocations: 24.05 kB / 1.075 GB, free: 130.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002632/0.84, allocations: 0.9307 MB / 1.076 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.8417, allocations: 430.1 kB / 1.077 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/0.8578, allocations: 21.08 MB / 1.097 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/0.8603, allocations: 121.2 kB / 1.097 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/0.8607, allocations: 92.91 kB / 1.097 GB, free: 111.9 MB / 0.698 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.003291/0.864, allocations: 1.643 MB / 1.099 GB, free: 111.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000609/0.8646, allocations: 258.6 kB / 1.099 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005756/0.8704, allocations: 3.264 MB / 1.102 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-05/0.8705, allocations: 20.22 kB / 1.102 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.442e-05/0.8705, allocations: 9.312 kB / 1.102 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.8705, allocations: 9.031 kB / 1.102 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.8831, allocations: 7.552 MB / 1.11 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.8831, allocations: 7.938 kB / 1.11 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008405/0.884, allocations: 219.6 kB / 1.11 GB, free: 105 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002111/0.8861, allocations: 0.8937 MB / 1.111 GB, free: 104.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.8862, allocations: 35.22 kB / 1.111 GB, free: 104.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/0.9005, allocations: 21.04 MB / 1.131 GB, free: 82.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.9005, allocations: 4 kB / 1.131 GB, free: 82.28 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005147/0.9057, allocations: 3.384 MB / 1.135 GB, free: 78.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.9068, allocations: 0.5331 MB / 1.135 GB, free: 78.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000518/0.9074, allocations: 35.98 kB / 1.135 GB, free: 78.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/0.9087, allocations: 91.89 kB / 1.135 GB, free: 78.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003733/0.909, allocations: 141 kB / 1.136 GB, free: 77.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.9092, allocations: 48 kB / 1.136 GB, free: 77.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001604/0.9108, allocations: 1.22 MB / 1.137 GB, free: 76.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9108, allocations: 0 / 1.137 GB, free: 76.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003304/0.9141, allocations: 0.9102 MB / 1.138 GB, free: 75.78 MB / 0.698 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002935/0.9144, allocations: 160.6 kB / 1.138 GB, free: 75.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005714/0.9201, allocations: 4.425 MB / 1.142 GB, free: 71.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.9202, allocations: 0 / 1.142 GB, free: 71.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003485/0.9237, allocations: 2.999 MB / 1.145 GB, free: 67.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005326/0.929, allocations: 0.7672 MB / 1.146 GB, free: 67.13 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.9425, allocations: 10.34 MB / 1.156 GB, free: 56.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003471/0.946, allocations: 3.274 MB / 1.159 GB, free: 53.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007212/0.9467, allocations: 163.4 kB / 1.159 GB, free: 53.24 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/0.9467, allocations: 0 / 1.159 GB, free: 53.24 MB / 0.698 GB Notification: Performance of Templates: time 0.6653/1.612, allocations: 339.1 MB / 1.49 GB, free: 215 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)