Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001505, allocations: 116.7 kB / 16.38 MB, free: 5.996 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.001421/0.001421, allocations: 190.5 kB / 17.31 MB, free: 5.605 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.343/1.343, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001465/0.001465, allocations: 71.03 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2625, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.5318/0.7944, allocations: 26.58 MB / 0.8108 GB, free: 34.39 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.014/0.8084, allocations: 8.118 MB / 0.8187 GB, free: 28.84 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003032/0.8115, allocations: 115.2 kB / 0.8188 GB, free: 28.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.007161/0.8187, allocations: 2.753 MB / 0.8215 GB, free: 27.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005318/0.8241, allocations: 1.587 MB / 0.823 GB, free: 26.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005293/0.8294, allocations: 1.681 MB / 0.8247 GB, free: 25.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008369/0.8378, allocations: 6.13 MB / 0.8307 GB, free: 22.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009448/0.8473, allocations: 7.432 MB / 0.8379 GB, free: 19.71 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005729/0.853, allocations: 2.569 MB / 0.8404 GB, free: 18.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005864/0.8589, allocations: 2.834 MB / 0.8432 GB, free: 17.28 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001959/0.8609, allocations: 0.5078 MB / 0.8437 GB, free: 17.28 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004392/0.8653, allocations: 1.288 MB / 0.845 GB, free: 16.97 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003546/0.8689, allocations: 2.046 MB / 0.8469 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006678/0.8756, allocations: 2.385 MB / 0.8493 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.8871, allocations: 8.055 MB / 0.8571 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.8871, allocations: 1.094 kB / 0.8571 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8871, allocations: 0 / 0.8571 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002848/0.8874, allocations: 4 kB / 0.8571 GB, free: 10.27 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01232/0.8998, allocations: 4.228 MB / 0.8613 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.8998, allocations: 9.031 kB / 0.8613 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005364/0.9052, allocations: 0.8024 MB / 0.8621 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005839/0.9111, allocations: 2.574 MB / 0.8646 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.9113, allocations: 273.7 kB / 0.8648 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.9128, allocations: 378 kB / 0.8652 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.9245, allocations: 5.987 MB / 0.8711 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.9246, allocations: 19.44 kB / 0.8711 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004258/0.925, allocations: 157.9 kB / 0.8712 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005866/0.9256, allocations: 288.8 kB / 0.8715 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008436/0.9341, allocations: 4.523 MB / 0.8759 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03278/0.9669, allocations: 27.45 MB / 0.9027 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.9687, allocations: 1.127 MB / 0.9038 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.9701, allocations: 1.02 MB / 0.9048 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.42e-05/0.9702, allocations: 13 kB / 0.9048 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.9702, allocations: 47.5 kB / 0.9049 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 2.815e-06/0.9702, allocations: 0 / 0.9049 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=131): time 0.0228/0.993, allocations: 9.661 MB / 0.9143 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.9931, allocations: 64.72 kB / 0.9144 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.9953, allocations: 1.494 MB / 0.9158 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.9955, allocations: 53.64 kB / 0.9159 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.9967, allocations: 1.659 MB / 0.9175 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005266/0.9972, allocations: 473.3 kB / 0.918 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000536/0.9978, allocations: 323.2 kB / 0.9183 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.9979, allocations: 309 kB / 0.9186 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.9992, allocations: 0.9174 MB / 0.9195 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/1.001, allocations: 1.467 MB / 0.9209 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00324/1.004, allocations: 2.546 MB / 0.9234 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/1.004, allocations: 4 kB / 0.9234 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006084/1.01, allocations: 3.286 MB / 0.9266 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/1.01, allocations: 16.22 kB / 0.9266 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/1.01, allocations: 20 kB / 0.9266 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002393/1.013, allocations: 0.7334 MB / 0.9273 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/1.015, allocations: 383.4 kB / 0.9277 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/1.031, allocations: 17.04 MB / 0.9443 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/1.034, allocations: 107.9 kB / 0.9444 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002679/1.034, allocations: 76 kB / 0.9445 GB, free: 2.023 MB / 0.7325 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0025/1.036, allocations: 1.309 MB / 0.9458 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004844/1.037, allocations: 197.7 kB / 0.946 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005162/1.042, allocations: 2.796 MB / 0.9487 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/1.042, allocations: 16 kB / 0.9487 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/1.042, allocations: 8 kB / 0.9487 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/1.042, allocations: 7.969 kB / 0.9487 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/1.053, allocations: 6.213 MB / 0.9548 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.053, allocations: 8 kB / 0.9548 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/1.054, allocations: 227.6 kB / 0.955 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002067/1.057, allocations: 0.6716 MB / 0.9557 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/1.057, allocations: 32.06 kB / 0.9557 GB, free: 6.301 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01539/1.072, allocations: 16.79 MB / 0.9721 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.072, allocations: 7.938 kB / 0.9721 GB, free: 4.246 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006744/1.079, allocations: 4.008 MB / 0.976 GB, free: 128 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.08, allocations: 446.8 kB / 0.9765 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/1.08, allocations: 39.92 kB / 0.9765 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.082, allocations: 83.89 kB / 0.9766 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/1.082, allocations: 116.9 kB / 0.9767 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.082, allocations: 36 kB / 0.9767 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001422/1.083, allocations: 0.9981 MB / 0.9777 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/1.083, allocations: 3.938 kB / 0.9777 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002567/1.086, allocations: 0.6836 MB / 0.9784 GB, free: 13.71 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002903/1.086, allocations: 155.9 kB / 0.9785 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005357/1.092, allocations: 3.522 MB / 0.982 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.092, allocations: 0 / 0.982 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003405/1.095, allocations: 2.307 MB / 0.9842 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003522/1.099, allocations: 0.6601 MB / 0.9849 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/1.112, allocations: 6.94 MB / 0.9916 GB, free: 15.83 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003512/1.115, allocations: 2.715 MB / 0.9943 GB, free: 13.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000605/1.116, allocations: 135.4 kB / 0.9944 GB, free: 12.95 MB / 0.795 GB Notification: Performance of SimCode: time 7.71e-07/1.116, allocations: 0 / 0.9944 GB, free: 12.95 MB / 0.795 GB Notification: Performance of Templates: time 0.5836/1.7, allocations: 209.6 MB / 1.199 GB, free: 269.4 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)