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_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 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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001221/0.001221, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.009942/0.009942, allocations: 172 kB / 16.26 MB, free: 6.613 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.528/1.528, 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.559/1.559, allocations: 252 MB / 0.5105 GB, free: 4.637 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.000528/0.0005281, allocations: 23.98 kB / 0.6249 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.511/0.5115, allocations: 106.3 MB / 0.7287 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04091/0.5525, allocations: 39.77 MB / 0.7676 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02324/0.5758, allocations: 14.93 MB / 0.7822 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004586/0.5804, allocations: 159.1 kB / 0.7823 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003196/0.5836, allocations: 0.8606 MB / 0.7831 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008173/0.5918, allocations: 2.636 MB / 0.7857 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006614/0.5985, allocations: 2.711 MB / 0.7884 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0171/0.6156, allocations: 15.95 MB / 0.8039 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02636/0.642, allocations: 15.78 MB / 0.8193 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006809/0.6489, allocations: 3.509 MB / 0.8228 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008793/0.6577, allocations: 4.749 MB / 0.8274 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002767/0.6605, allocations: 400 kB / 0.8278 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006443/0.6669, allocations: 1.821 MB / 0.8296 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005984/0.673, allocations: 2.989 MB / 0.8325 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.009699/0.6827, allocations: 3.508 MB / 0.8359 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01988/0.7026, allocations: 13.58 MB / 0.8492 GB, free: 15.61 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.7027, allocations: 0 / 0.8492 GB, free: 15.61 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.156e-06/0.7027, allocations: 0 / 0.8492 GB, free: 15.61 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006012/0.7033, allocations: 0 / 0.8492 GB, free: 15.61 MB / 0.67 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.01949/0.7228, allocations: 6.158 MB / 0.8552 GB, free: 9.367 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.7229, allocations: 15.97 kB / 0.8552 GB, free: 9.352 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/0.7349, allocations: 1.514 MB / 0.8567 GB, free: 7.828 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/0.7464, allocations: 4.209 MB / 0.8608 GB, free: 3.543 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005121/0.7469, allocations: 456.5 kB / 0.8612 GB, free: 3.094 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002498/0.7495, allocations: 0.59 MB / 0.8618 GB, free: 2.504 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02719/0.7767, allocations: 10.69 MB / 0.8722 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004288/0.7772, allocations: 31.72 kB / 0.8723 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002167/0.7793, allocations: 267.9 kB / 0.8725 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003209/0.7826, allocations: 0.7729 MB / 0.8733 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02208/0.8047, allocations: 8.565 MB / 0.8816 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5759/1.381, allocations: 46.97 MB / 0.9275 GB, free: 139.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007155/1.388, allocations: 4.314 MB / 0.9317 GB, free: 137.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005733/1.394, allocations: 3.688 MB / 0.9353 GB, free: 135.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003376/1.394, allocations: 34.19 kB / 0.9354 GB, free: 135.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.991e-05/1.394, allocations: 78.61 kB / 0.9354 GB, free: 135.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=353): time 6.031e-06/1.394, allocations: 0 / 0.9354 GB, free: 135.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=578): time 0.5042/1.898, allocations: 128.1 MB / 1.061 GB, free: 18.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.898, allocations: 111.9 kB / 1.061 GB, free: 18.63 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005706/1.904, allocations: 2.685 MB / 1.063 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.002128/1.906, allocations: 117.7 kB / 1.063 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001876/1.908, allocations: 2.676 MB / 1.066 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.003688/1.912, allocations: 1.961 MB / 1.068 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001788/1.914, allocations: 445.5 kB / 1.068 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.799e-05/1.914, allocations: 309.1 kB / 1.069 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006838/1.921, allocations: 4.075 MB / 1.073 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008269/1.929, allocations: 5.019 MB / 1.078 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01888/1.948, allocations: 9.849 MB / 1.087 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.101e-05/1.948, allocations: 11.94 kB / 1.087 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04871/1.997, allocations: 16.99 MB / 1.104 GB, free: 5.652 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-05/1.997, allocations: 12 kB / 1.104 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.974e-05/1.997, allocations: 24 kB / 1.104 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03513/2.032, allocations: 9.083 MB / 1.113 GB, free: 12.49 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/2.035, allocations: 0.5265 MB / 1.113 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1164/2.151, allocations: 70.72 MB / 1.182 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006427/2.158, allocations: 279.8 kB / 1.182 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001615/2.16, allocations: 196 kB / 1.183 GB, free: 3.305 MB / 0.8262 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.0063/2.166, allocations: 2.423 MB / 1.185 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/2.167, allocations: 474.4 kB / 1.185 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04041/2.208, allocations: 16.87 MB / 1.202 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.782e-05/2.208, allocations: 60 kB / 1.202 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002847/2.208, allocations: 75.94 kB / 1.202 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001745/2.208, allocations: 31.83 kB / 1.202 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05723/2.266, allocations: 25.69 MB / 1.227 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-05/2.266, allocations: 8 kB / 1.227 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/2.268, allocations: 311.6 kB / 1.228 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.522/2.79, allocations: 8.272 MB / 1.236 GB, free: 291.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001275/2.791, allocations: 107.5 kB / 1.236 GB, free: 291.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08944/2.88, allocations: 67.59 MB / 1.302 GB, free: 258.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/2.88, allocations: 8 kB / 1.302 GB, free: 258.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04254/2.923, allocations: 21.58 MB / 1.323 GB, free: 237.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00391/2.927, allocations: 1.358 MB / 1.324 GB, free: 236.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/2.928, allocations: 114.5 kB / 1.324 GB, free: 236 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003606/2.932, allocations: 287.6 kB / 1.324 GB, free: 235.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002051/2.934, allocations: 0.5209 MB / 1.325 GB, free: 235.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003977/2.934, allocations: 140 kB / 1.325 GB, free: 235 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002264/2.937, allocations: 1.779 MB / 1.327 GB, free: 233.2 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/2.937, allocations: 0 / 1.327 GB, free: 233.2 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.007579/2.944, allocations: 2.441 MB / 1.329 GB, free: 230.8 MB / 0.8731 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.00078/2.945, allocations: 243.3 kB / 1.329 GB, free: 230.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02348/2.969, allocations: 14.52 MB / 1.344 GB, free: 215.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.729e-05/2.969, allocations: 4 kB / 1.344 GB, free: 215.9 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01758/2.986, allocations: 9.386 MB / 1.353 GB, free: 206.3 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009956/2.996, allocations: 1.289 MB / 1.354 GB, free: 205.1 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/3.02, allocations: 18.8 MB / 1.372 GB, free: 186.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006074/3.026, allocations: 4.896 MB / 1.377 GB, free: 181.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002978/3.029, allocations: 0.7449 MB / 1.378 GB, free: 180.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005862/3.029, allocations: 199.4 kB / 1.378 GB, free: 180.3 MB / 0.8731 GB Notification: Performance of SimCode: time 1.223e-06/3.029, allocations: 0 / 1.378 GB, free: 180.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.1916/3.221, allocations: 138.6 MB / 1.513 GB, free: 42.99 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) Environment - environmentSimulation: