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_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 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.0008178/0.0008179, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006857/0.006857, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.453/1.453, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.551/1.551, allocations: 252 MB / 0.5105 GB, free: 4.645 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.0005659/0.000566, allocations: 12 kB / 0.6249 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.564/0.5646, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02693/0.5916, allocations: 25.68 MB / 0.7538 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.6083, allocations: 8.049 MB / 0.7617 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003362/0.6117, allocations: 103.4 kB / 0.7618 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.6141, allocations: 0.5193 MB / 0.7623 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004871/0.619, allocations: 1.489 MB / 0.7637 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004063/0.6231, allocations: 1.39 MB / 0.7651 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009993/0.6331, allocations: 8.708 MB / 0.7736 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01706/0.6502, allocations: 9.138 MB / 0.7825 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004342/0.6545, allocations: 1.855 MB / 0.7843 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004745/0.6593, allocations: 2.464 MB / 0.7867 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.6605, allocations: 208 kB / 0.7869 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.6637, allocations: 1.201 MB / 0.7881 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002498/0.6662, allocations: 1.672 MB / 0.7897 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004291/0.6705, allocations: 1.957 MB / 0.7916 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009508/0.68, allocations: 7.682 MB / 0.7991 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.6801, allocations: 0 / 0.7991 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6801, allocations: 0 / 0.7991 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003017/0.6804, allocations: 0 / 0.7991 GB, free: 2.902 MB / 0.6075 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.009326/0.6897, allocations: 3.417 MB / 0.8025 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.6898, allocations: 8.031 kB / 0.8025 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005085/0.6949, allocations: 0.8039 MB / 0.8033 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00556/0.7004, allocations: 2.428 MB / 0.8056 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/0.7007, allocations: 275.6 kB / 0.8059 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/0.702, allocations: 380.5 kB / 0.8063 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.7159, allocations: 5.988 MB / 0.8121 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/0.7161, allocations: 19.77 kB / 0.8121 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009166/0.717, allocations: 160 kB / 0.8123 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000647/0.7177, allocations: 282.9 kB / 0.8126 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009341/0.727, allocations: 4.52 MB / 0.817 GB, free: 264 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03364/0.7607, allocations: 27.71 MB / 0.844 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.7626, allocations: 1.12 MB / 0.8451 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.7641, allocations: 1.015 MB / 0.8461 GB, free: 15.89 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.492e-05/0.7642, allocations: 9 kB / 0.8461 GB, free: 15.88 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.7642, allocations: 47.56 kB / 0.8462 GB, free: 15.83 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 3.095e-06/0.7642, allocations: 4 kB / 0.8462 GB, free: 15.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.02347/0.7877, allocations: 9.676 MB / 0.8556 GB, free: 5.938 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.7878, allocations: 68.66 kB / 0.8557 GB, free: 5.859 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/0.7905, allocations: 1.498 MB / 0.8572 GB, free: 4.363 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.7906, allocations: 45.7 kB / 0.8572 GB, free: 4.312 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.792, allocations: 1.671 MB / 0.8588 GB, free: 2.617 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005736/0.7926, allocations: 465.4 kB / 0.8593 GB, free: 2.156 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002813/0.7929, allocations: 145.6 kB / 0.8594 GB, free: 2.008 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7931, allocations: 309.1 kB / 0.8597 GB, free: 1.703 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.7946, allocations: 0.9174 MB / 0.8606 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.7964, allocations: 1.463 MB / 0.862 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/0.7998, allocations: 2.539 MB / 0.8645 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/0.7998, allocations: 11.94 kB / 0.8645 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006289/0.8061, allocations: 3.286 MB / 0.8677 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.8062, allocations: 12 kB / 0.8677 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/0.8062, allocations: 19.94 kB / 0.8678 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002369/0.8086, allocations: 0.7375 MB / 0.8685 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.8103, allocations: 391.3 kB / 0.8689 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/0.8261, allocations: 15.77 MB / 0.8843 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/0.8283, allocations: 107.8 kB / 0.8844 GB, free: 6.703 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003204/0.8286, allocations: 72 kB / 0.8844 GB, free: 6.633 MB / 0.7012 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.002996/0.8316, allocations: 1.311 MB / 0.8857 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005973/0.8322, allocations: 197.8 kB / 0.8859 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005607/0.8378, allocations: 2.788 MB / 0.8886 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.8379, allocations: 12 kB / 0.8886 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.35e-05/0.8379, allocations: 11.94 kB / 0.8886 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.8379, allocations: 7.969 kB / 0.8887 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.8499, allocations: 6.225 MB / 0.8947 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/0.8499, allocations: 4 kB / 0.8947 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.8512, allocations: 235.6 kB / 0.895 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002183/0.8534, allocations: 0.6676 MB / 0.8956 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/0.8536, allocations: 35.98 kB / 0.8956 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4457/1.299, allocations: 15.5 MB / 0.9108 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/1.299, allocations: 12.88 kB / 0.9108 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007372/1.307, allocations: 4.006 MB / 0.9147 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/1.308, allocations: 456.9 kB / 0.9151 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/1.308, allocations: 45 kB / 0.9152 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009932/1.309, allocations: 85.11 kB / 0.9153 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004287/1.31, allocations: 115.7 kB / 0.9154 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/1.31, allocations: 42.7 kB / 0.9154 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001846/1.312, allocations: 0.9912 MB / 0.9164 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.51e-07/1.312, allocations: 0 / 0.9164 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003838/1.316, allocations: 0.6851 MB / 0.9171 GB, free: 154.1 MB / 0.7169 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.0003659/1.316, allocations: 155.2 kB / 0.9172 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005794/1.322, allocations: 3.5 MB / 0.9206 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/1.322, allocations: 1.375 kB / 0.9206 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003194/1.325, allocations: 2.294 MB / 0.9229 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004155/1.329, allocations: 0.619 MB / 0.9235 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/1.341, allocations: 8.198 MB / 0.9315 GB, free: 145.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/1.344, allocations: 2.673 MB / 0.9341 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001575/1.345, allocations: 479.4 kB / 0.9345 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/1.346, allocations: 120.2 kB / 0.9347 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of SimCode: time 6.71e-07/1.346, allocations: 0 / 0.9347 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.04855/1.394, allocations: 32.06 MB / 0.966 GB, free: 117.9 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: