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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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,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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.00134/0.00134, allocations: 199 kB / 16.26 MB, free: 6.625 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.691/1.691, allocations: 205.1 MB / 222.1 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.594/1.594, allocations: 251.6 MB / 0.5089 GB, free: 3.285 MB / 414.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.002119/0.002119, allocations: 63.91 kB / 0.6218 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5781/0.5802, allocations: 104.7 MB / 0.724 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03985/0.6201, allocations: 34.7 MB / 0.7579 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.6392, allocations: 9.922 MB / 0.7676 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004911/0.6441, allocations: 127.3 kB / 0.7677 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.6548, allocations: 3.569 MB / 0.7712 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008767/0.6636, allocations: 1.882 MB / 0.773 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006848/0.6705, allocations: 1.782 MB / 0.7748 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01294/0.6834, allocations: 7.986 MB / 0.7826 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01857/0.702, allocations: 11.7 MB / 0.794 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006912/0.709, allocations: 3.423 MB / 0.7973 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007121/0.7162, allocations: 3.914 MB / 0.8011 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002436/0.7187, allocations: 0.6797 MB / 0.8018 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005019/0.7237, allocations: 1.443 MB / 0.8032 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005058/0.7288, allocations: 2.62 MB / 0.8058 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.009201/0.738, allocations: 3.101 MB / 0.8088 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01617/0.7542, allocations: 10.39 MB / 0.819 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.7543, allocations: 0 / 0.819 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7543, allocations: 0 / 0.819 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003941/0.7547, allocations: 0 / 0.819 GB, free: 11.67 MB / 0.6387 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.01602/0.7707, allocations: 5.401 MB / 0.8242 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.7708, allocations: 8.031 kB / 0.8242 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006179/0.777, allocations: 0.9587 MB / 0.8252 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0068/0.7838, allocations: 3.003 MB / 0.8281 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.7841, allocations: 353.9 kB / 0.8284 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/0.7852, allocations: 472.2 kB / 0.8289 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01704/0.8023, allocations: 7.906 MB / 0.8366 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003017/0.8026, allocations: 23.8 kB / 0.8366 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001742/0.8044, allocations: 211.9 kB / 0.8368 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006808/0.8051, allocations: 365.1 kB / 0.8372 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/0.8196, allocations: 5.937 MB / 0.843 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05219/0.8718, allocations: 36.21 MB / 0.8783 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004328/0.8762, allocations: 2.138 MB / 0.8804 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002245/0.8785, allocations: 1.482 MB / 0.8819 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.8787, allocations: 21.25 kB / 0.8819 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/0.8787, allocations: 59.75 kB / 0.882 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=157): time 4.097e-06/0.8787, allocations: 0 / 0.882 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of matching and sorting (n=160): time 0.0158/0.8945, allocations: 7.533 MB / 0.8893 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.8946, allocations: 68.72 kB / 0.8894 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003326/0.898, allocations: 1.868 MB / 0.8912 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.8982, allocations: 53.7 kB / 0.8913 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.8996, allocations: 2.123 MB / 0.8933 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000601/0.9003, allocations: 0.5546 MB / 0.8939 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007113/0.901, allocations: 407.8 kB / 0.8943 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.9011, allocations: 301.1 kB / 0.8945 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.9027, allocations: 1.058 MB / 0.8956 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.9048, allocations: 1.772 MB / 0.8973 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/0.9084, allocations: 3.049 MB / 0.9003 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.259e-05/0.9085, allocations: 8 kB / 0.9003 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006557/0.915, allocations: 3.925 MB / 0.9041 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.9151, allocations: 12 kB / 0.9041 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.111e-05/0.9152, allocations: 24 kB / 0.9042 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/0.9176, allocations: 0.9315 MB / 0.9051 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.9192, allocations: 427.3 kB / 0.9055 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5892/1.508, allocations: 22.76 MB / 0.9277 GB, free: 168.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/1.512, allocations: 127.1 kB / 0.9278 GB, free: 168.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004481/1.512, allocations: 93.83 kB / 0.9279 GB, free: 168.9 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 (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.005092/1.517, allocations: 1.644 MB / 0.9295 GB, free: 168.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008265/1.518, allocations: 256.9 kB / 0.9298 GB, free: 168.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006445/1.524, allocations: 3.264 MB / 0.933 GB, free: 166.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/1.525, allocations: 18.59 kB / 0.933 GB, free: 166.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-05/1.525, allocations: 9.781 kB / 0.933 GB, free: 166.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.569e-05/1.525, allocations: 15 kB / 0.933 GB, free: 166.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/1.538, allocations: 7.551 MB / 0.9404 GB, free: 163.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/1.538, allocations: 3.969 kB / 0.9404 GB, free: 163.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008405/1.539, allocations: 218.8 kB / 0.9406 GB, free: 163.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002064/1.541, allocations: 0.889 MB / 0.9415 GB, free: 163.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.541, allocations: 39.16 kB / 0.9415 GB, free: 163.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01586/1.557, allocations: 22.74 MB / 0.9637 GB, free: 144.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.557, allocations: 7.656 kB / 0.9637 GB, free: 144.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005406/1.562, allocations: 3.379 MB / 0.967 GB, free: 142.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.564, allocations: 0.5287 MB / 0.9675 GB, free: 141.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003246/1.564, allocations: 35.56 kB / 0.9676 GB, free: 141.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.565, allocations: 92.94 kB / 0.9676 GB, free: 141.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004709/1.566, allocations: 143.4 kB / 0.9678 GB, free: 141.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.566, allocations: 45.12 kB / 0.9678 GB, free: 141.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001607/1.567, allocations: 1.225 MB / 0.969 GB, free: 141 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/1.567, allocations: 0 / 0.969 GB, free: 141 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002998/1.57, allocations: 0.9058 MB / 0.9699 GB, free: 141 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 (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.0002902/1.571, allocations: 163.1 kB / 0.9701 GB, free: 140.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00685/1.577, allocations: 5.194 MB / 0.9751 GB, free: 135.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.578, allocations: 0 / 0.9751 GB, free: 135.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003458/1.581, allocations: 2.999 MB / 0.9781 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003689/1.585, allocations: 0.8184 MB / 0.9789 GB, free: 131.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/1.598, allocations: 9.713 MB / 0.9883 GB, free: 122 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002755/1.6, allocations: 3.211 MB / 0.9915 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001991/1.602, allocations: 0.5331 MB / 0.992 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/1.603, allocations: 139.4 kB / 0.9921 GB, free: 118 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/1.603, allocations: 0 / 0.9921 GB, free: 118 MB / 0.7325 GB Notification: Performance of Templates: time 0.07101/1.674, allocations: 43.16 MB / 1.034 GB, free: 75.55 MB / 0.7325 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)