Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001524/0.001524, allocations: 196.4 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00201/0.00201, allocations: 279.1 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9318/0.9318, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 90.05 kB / 0.5945 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1628, allocations: 86.99 MB / 0.6795 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02284/0.1857, allocations: 22.39 MB / 0.7013 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.1968, allocations: 6.241 MB / 0.7074 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/0.1992, allocations: 83.5 kB / 0.7075 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003892/0.2031, allocations: 1.415 MB / 0.7089 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004237/0.2074, allocations: 1.552 MB / 0.7104 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.2107, allocations: 1.216 MB / 0.7116 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008746/0.2194, allocations: 8.86 MB / 0.7202 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009441/0.2289, allocations: 6.738 MB / 0.7268 GB, free: 476 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003887/0.2328, allocations: 2.047 MB / 0.7288 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004613/0.2375, allocations: 2.972 MB / 0.7317 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008431/0.2383, allocations: 316 kB / 0.732 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.241, allocations: 1.131 MB / 0.7331 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002006/0.243, allocations: 1.898 MB / 0.735 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002604/0.2457, allocations: 2.006 MB / 0.7369 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00657/0.2522, allocations: 7.186 MB / 0.7439 GB, free: 14.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2523, allocations: 0 / 0.7439 GB, free: 14.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2523, allocations: 0 / 0.7439 GB, free: 14.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001753/0.2525, allocations: 0 / 0.7439 GB, free: 14.86 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007949/0.2604, allocations: 3.813 MB / 0.7477 GB, free: 10.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.2605, allocations: 8.031 kB / 0.7477 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00596/0.2665, allocations: 1.213 MB / 0.7489 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004652/0.2711, allocations: 2.223 MB / 0.751 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.2713, allocations: 238.4 kB / 0.7513 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006421/0.272, allocations: 319.9 kB / 0.7516 GB, free: 6.934 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.2822, allocations: 6.212 MB / 0.7576 GB, free: 480 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.248e-05/0.2823, allocations: 19.88 kB / 0.7577 GB, free: 460 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003357/0.2826, allocations: 135.9 kB / 0.7578 GB, free: 324 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000459/0.2831, allocations: 410.4 kB / 0.7582 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007592/0.2907, allocations: 4.654 MB / 0.7627 GB, free: 11.25 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3104/0.6011, allocations: 29.14 MB / 0.7912 GB, free: 70.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.6031, allocations: 1.412 MB / 0.7926 GB, free: 69.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.6048, allocations: 1.483 MB / 0.794 GB, free: 69.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.897e-05/0.6049, allocations: 13.3 kB / 0.794 GB, free: 69.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.605, allocations: 49.88 kB / 0.7941 GB, free: 69.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 2.886e-06/0.605, allocations: 0 / 0.7941 GB, free: 69.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=179): time 0.1223/0.7272, allocations: 37.23 MB / 0.8304 GB, free: 50.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.7273, allocations: 77.34 kB / 0.8305 GB, free: 50.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.729, allocations: 1.427 MB / 0.8319 GB, free: 49.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002907/0.7293, allocations: 49.7 kB / 0.8319 GB, free: 49.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006126/0.7299, allocations: 1.542 MB / 0.8334 GB, free: 47.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004319/0.7303, allocations: 0.6116 MB / 0.834 GB, free: 47.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006132/0.7309, allocations: 379.3 kB / 0.8344 GB, free: 46.83 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.68e-05/0.731, allocations: 305.1 kB / 0.8347 GB, free: 46.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/0.733, allocations: 1.784 MB / 0.8364 GB, free: 44.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.7352, allocations: 2.342 MB / 0.8387 GB, free: 42.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004305/0.7395, allocations: 4.391 MB / 0.843 GB, free: 37.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.7395, allocations: 8 kB / 0.843 GB, free: 37.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0148/0.7543, allocations: 8.563 MB / 0.8514 GB, free: 28.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.7544, allocations: 14.72 kB / 0.8514 GB, free: 28.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.7544, allocations: 16 kB / 0.8514 GB, free: 28.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01317/0.7676, allocations: 4.647 MB / 0.856 GB, free: 24.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.7687, allocations: 296 kB / 0.8562 GB, free: 23.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03632/0.805, allocations: 29.68 MB / 0.8852 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.807, allocations: 151.8 kB / 0.8854 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/0.8073, allocations: 80 kB / 0.8854 GB, free: 9.254 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002129/0.8094, allocations: 1.326 MB / 0.8867 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/0.8098, allocations: 201.7 kB / 0.8869 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/0.8265, allocations: 8.437 MB / 0.8952 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.8266, allocations: 19.94 kB / 0.8952 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-05/0.8266, allocations: 24 kB / 0.8952 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/0.8266, allocations: 7.969 kB / 0.8952 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/0.8498, allocations: 12.85 MB / 0.9078 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.8499, allocations: 8 kB / 0.9078 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006907/0.8506, allocations: 164.5 kB / 0.9079 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01391/0.8645, allocations: 4.498 MB / 0.9123 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002367/0.8648, allocations: 36.5 kB / 0.9123 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04175/0.9065, allocations: 29.27 MB / 0.9409 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.9066, allocations: 11.94 kB / 0.9409 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/0.923, allocations: 8.236 MB / 0.949 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.9244, allocations: 0.6118 MB / 0.9496 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/0.9247, allocations: 47.92 kB / 0.9496 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.926, allocations: 129.2 kB / 0.9498 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007812/0.9268, allocations: 184.7 kB / 0.9499 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/0.9269, allocations: 48 kB / 0.95 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001263/0.9282, allocations: 0.9627 MB / 0.9509 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9282, allocations: 0 / 0.9509 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003073/0.9313, allocations: 1.113 MB / 0.952 GB, free: 3.973 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002965/0.9316, allocations: 150.7 kB / 0.9521 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01173/0.9433, allocations: 6.507 MB / 0.9585 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.9434, allocations: 0 / 0.9585 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008668/0.9521, allocations: 4.369 MB / 0.9628 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.9546, allocations: 497.6 kB / 0.9632 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.9664, allocations: 8.437 MB / 0.9715 GB, free: 15.83 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002743/0.9692, allocations: 2.723 MB / 0.9741 GB, free: 13.07 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001207/0.9704, allocations: 385.6 kB / 0.9745 GB, free: 12.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.9707, allocations: 99.44 kB / 0.9746 GB, free: 12.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.062e-06/0.9707, allocations: 0 / 0.9746 GB, free: 12.6 MB / 0.67 GB Notification: Performance of Templates: time 0.08168/1.052, allocations: 58.84 MB / 1.032 GB, free: 2.09 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)