Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 104.1 kB / 15.99 MB, free: 6.359 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.001101/0.001101, allocations: 195.2 kB / 16.91 MB, free: 6.195 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.361/1.361, allocations: 205.1 MB / 222.8 MB, free: 12.44 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.796/1.796, allocations: 292.3 MB / 0.5492 GB, free: 17.64 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.001606/0.001606, allocations: 71.91 kB / 0.6717 GB, free: 6.945 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2449, allocations: 114.6 MB / 0.7835 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.4426/0.6876, allocations: 40.74 MB / 0.8233 GB, free: 25.6 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02526/0.7129, allocations: 14.96 MB / 0.8379 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00664/0.7196, allocations: 168.6 kB / 0.8381 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.7306, allocations: 4.163 MB / 0.8421 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.7407, allocations: 2.587 MB / 0.8447 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01041/0.7512, allocations: 2.891 MB / 0.8475 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01924/0.7704, allocations: 11.44 MB / 0.8587 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02604/0.7965, allocations: 14.87 MB / 0.8732 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01299/0.8096, allocations: 4.9 MB / 0.878 GB, free: 10.84 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01148/0.8211, allocations: 5.625 MB / 0.8835 GB, free: 5.48 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003894/0.825, allocations: 0.9531 MB / 0.8844 GB, free: 4.527 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009341/0.8344, allocations: 2.04 MB / 0.8864 GB, free: 2.484 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00801/0.8425, allocations: 3.692 MB / 0.89 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01138/0.8539, allocations: 4.303 MB / 0.8942 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01703/0.8709, allocations: 12.17 MB / 0.9061 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.871, allocations: 4 kB / 0.9061 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.863e-06/0.871, allocations: 4 kB / 0.9061 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0005023/0.8715, allocations: 0 / 0.9061 GB, free: 14.26 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02606/0.8976, allocations: 7.589 MB / 0.9135 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.8976, allocations: 12.03 kB / 0.9135 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.9095, allocations: 1.511 MB / 0.915 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.9198, allocations: 4.213 MB / 0.9191 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005139/0.9204, allocations: 456.5 kB / 0.9195 GB, free: 328 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003333/0.9237, allocations: 0.5939 MB / 0.9201 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/0.9522, allocations: 10.69 MB / 0.9305 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000212/0.9524, allocations: 27.67 kB / 0.9306 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001464/0.9539, allocations: 263.9 kB / 0.9308 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002655/0.9566, allocations: 0.7729 MB / 0.9316 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.9756, allocations: 8.557 MB / 0.9399 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0677/1.043, allocations: 46.87 MB / 0.9857 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006275/1.05, allocations: 4.313 MB / 0.9899 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005586/1.055, allocations: 3.701 MB / 0.9935 GB, free: 360 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003649/1.056, allocations: 34.78 kB / 0.9936 GB, free: 324 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.127e-05/1.056, allocations: 77.34 kB / 0.9936 GB, free: 236 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=353): time 5.67e-06/1.056, allocations: 0 / 0.9936 GB, free: 236 kB / 0.7794 GB Notification: Performance of matching and sorting (n=578): time 0.48/1.536, allocations: 122.8 MB / 1.114 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/1.536, allocations: 115.9 kB / 1.114 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003618/1.54, allocations: 2.677 MB / 1.116 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.001032/1.541, allocations: 125.7 kB / 1.116 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001743/1.542, allocations: 2.679 MB / 1.119 GB, free: 14.92 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002371/1.545, allocations: 1.948 MB / 1.121 GB, free: 12.95 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001883/1.547, allocations: 0.9287 MB / 1.122 GB, free: 12.01 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.648e-05/1.547, allocations: 305.1 kB / 1.122 GB, free: 11.71 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005374/1.552, allocations: 4.075 MB / 1.126 GB, free: 7.625 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006116/1.558, allocations: 5.019 MB / 1.131 GB, free: 2.281 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3798/1.938, allocations: 9.852 MB / 1.141 GB, free: 281.4 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.369e-05/1.938, allocations: 5.75 kB / 1.141 GB, free: 281.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04165/1.98, allocations: 16.99 MB / 1.157 GB, free: 275.4 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.917e-05/1.98, allocations: 17.53 kB / 1.157 GB, free: 275.4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.302e-05/1.98, allocations: 23.97 kB / 1.157 GB, free: 275.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03266/2.013, allocations: 9.146 MB / 1.166 GB, free: 273.2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/2.015, allocations: 0.5216 MB / 1.167 GB, free: 273.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0974/2.113, allocations: 77.03 MB / 1.242 GB, free: 226.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00516/2.118, allocations: 279.8 kB / 1.242 GB, free: 226.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009119/2.119, allocations: 188 kB / 1.242 GB, free: 226.1 MB / 0.92 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00416/2.123, allocations: 2.428 MB / 1.245 GB, free: 223.7 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/2.124, allocations: 470.5 kB / 1.245 GB, free: 223.2 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03252/2.157, allocations: 16.82 MB / 1.262 GB, free: 206.2 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-05/2.157, allocations: 56 kB / 1.262 GB, free: 206.2 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002074/2.157, allocations: 72 kB / 1.262 GB, free: 206.1 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001149/2.157, allocations: 27.89 kB / 1.262 GB, free: 206.1 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04656/2.204, allocations: 25.66 MB / 1.287 GB, free: 180.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.993e-05/2.204, allocations: 8 kB / 1.287 GB, free: 180.2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/2.205, allocations: 319.6 kB / 1.287 GB, free: 179.9 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02642/2.232, allocations: 8.34 MB / 1.295 GB, free: 171.5 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001182/2.233, allocations: 111.8 kB / 1.295 GB, free: 171.4 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08326/2.316, allocations: 73.88 MB / 1.368 GB, free: 96 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/2.316, allocations: 13.81 kB / 1.368 GB, free: 95.99 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0388/2.355, allocations: 21.57 MB / 1.389 GB, free: 74.08 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003558/2.359, allocations: 1.354 MB / 1.39 GB, free: 72.7 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/2.36, allocations: 115.9 kB / 1.39 GB, free: 72.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003614/2.364, allocations: 279.7 kB / 1.39 GB, free: 72.31 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002013/2.366, allocations: 0.5221 MB / 1.391 GB, free: 71.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004993/2.366, allocations: 148 kB / 1.391 GB, free: 71.64 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002155/2.369, allocations: 1.772 MB / 1.393 GB, free: 69.88 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/2.369, allocations: 0 / 1.393 GB, free: 69.88 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.008229/2.377, allocations: 2.465 MB / 1.395 GB, free: 67.41 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/2.378, allocations: 245.4 kB / 1.395 GB, free: 67.17 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.03115/2.409, allocations: 18.66 MB / 1.414 GB, free: 48.35 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/2.409, allocations: 7.938 kB / 1.414 GB, free: 48.34 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01573/2.425, allocations: 9.35 MB / 1.423 GB, free: 38.85 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007509/2.432, allocations: 1.375 MB / 1.424 GB, free: 37.65 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0275/2.46, allocations: 19.67 MB / 1.443 GB, free: 17.96 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00748/2.467, allocations: 4.986 MB / 1.448 GB, free: 12.94 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/2.469, allocations: 223.4 kB / 1.448 GB, free: 12.72 MB / 0.92 GB Notification: Performance of SimCode: time 8.31e-07/2.469, allocations: 0 / 1.448 GB, free: 12.72 MB / 0.92 GB Notification: Performance of Templates: time 1.232/3.7, allocations: 474.6 MB / 1.912 GB, free: 315.9 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)