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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.334/1.334, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009855/0.0009855, allocations: 177.3 kB / 327.6 MB, free: 2.055 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 0.5786 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008221/0.0008221, allocations: 87.55 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003019, allocations: 9.094 kB / 0.7976 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1819, allocations: 106.3 MB / 0.9015 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.02975/0.2117, allocations: 39.76 MB / 0.9403 GB, free: 23.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02027/0.232, allocations: 14.93 MB / 0.9549 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005184/0.2372, allocations: 163 kB / 0.955 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00364/0.2409, allocations: 0.8606 MB / 0.9559 GB, free: 7.359 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007958/0.2489, allocations: 2.64 MB / 0.9585 GB, free: 4.707 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00817/0.2571, allocations: 2.704 MB / 0.9611 GB, free: 2.004 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0179/0.275, allocations: 15.94 MB / 0.9767 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02652/0.3016, allocations: 15.77 MB / 0.9921 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007199/0.3088, allocations: 3.602 MB / 0.9956 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008796/0.3177, allocations: 4.753 MB / 1 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002535/0.3202, allocations: 396 kB / 1.001 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006011/0.3263, allocations: 1.821 MB / 1.002 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.005593/0.3319, allocations: 2.993 MB / 1.005 GB, free: 4.527 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.008229/0.3402, allocations: 3.504 MB / 1.009 GB, free: 1 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01493/0.3551, allocations: 11.8 MB / 1.02 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3552, allocations: 0 / 1.02 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.479e-06/0.3552, allocations: 3.984 kB / 1.02 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0005149/0.3557, allocations: 4 kB / 1.02 GB, free: 5.156 MB / 0.6667 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.01769/0.3734, allocations: 6.146 MB / 1.026 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.3735, allocations: 12.03 kB / 1.026 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.3847, allocations: 1.518 MB / 1.028 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009973/0.3948, allocations: 4.213 MB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005039/0.3953, allocations: 464.5 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002476/0.3978, allocations: 0.59 MB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02634/0.4241, allocations: 10.68 MB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003704/0.4246, allocations: 35.77 kB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002233/0.4268, allocations: 259.9 kB / 1.044 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003087/0.4299, allocations: 0.7729 MB / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01868/0.4486, allocations: 8.565 MB / 1.053 GB, free: 3.344 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4266/0.8753, allocations: 46.97 MB / 1.099 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005543/0.8809, allocations: 4.309 MB / 1.103 GB, free: 98.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004605/0.8855, allocations: 3.681 MB / 1.106 GB, free: 96.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.8858, allocations: 34.25 kB / 1.106 GB, free: 96.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.984e-05/0.8859, allocations: 78.28 kB / 1.106 GB, free: 96.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=353): time 5.66e-06/0.8859, allocations: 4 kB / 1.107 GB, free: 96.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=578): time 0.4848/1.371, allocations: 128.1 MB / 1.232 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/1.371, allocations: 115.9 kB / 1.232 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00386/1.375, allocations: 2.685 MB / 1.234 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001052/1.376, allocations: 117.7 kB / 1.234 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001925/1.378, allocations: 2.682 MB / 1.237 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002509/1.38, allocations: 1.953 MB / 1.239 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004714/1.381, allocations: 108 kB / 1.239 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003385/1.381, allocations: 0.5257 MB / 1.24 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006126/1.387, allocations: 4.079 MB / 1.244 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007058/1.394, allocations: 5.015 MB / 1.248 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01519/1.409, allocations: 9.851 MB / 1.258 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/1.41, allocations: 4 kB / 1.258 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03993/1.449, allocations: 16.99 MB / 1.275 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/1.45, allocations: 18.81 kB / 1.275 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.02e-05/1.45, allocations: 28.91 kB / 1.275 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03165/1.481, allocations: 9.077 MB / 1.284 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/1.484, allocations: 0.5226 MB / 1.284 GB, free: 2.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1013/1.585, allocations: 70.73 MB / 1.353 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005277/1.59, allocations: 283.7 kB / 1.353 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/1.591, allocations: 188 kB / 1.354 GB, free: 10.1 MB / 0.8542 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,51.0%), (14,72,51.0%), (6,40,77.8%), (7,71,71.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.005825/1.597, allocations: 2.425 MB / 1.356 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/1.599, allocations: 470.5 kB / 1.356 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03808/1.637, allocations: 16.82 MB / 1.373 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.905e-05/1.637, allocations: 59.94 kB / 1.373 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002146/1.637, allocations: 72 kB / 1.373 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001249/1.637, allocations: 31.89 kB / 1.373 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4389/2.076, allocations: 25.68 MB / 1.398 GB, free: 282.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.247e-05/2.076, allocations: 7.031 kB / 1.398 GB, free: 282.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/2.078, allocations: 318.7 kB / 1.398 GB, free: 282.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0276/2.106, allocations: 8.271 MB / 1.407 GB, free: 282 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001191/2.107, allocations: 106.8 kB / 1.407 GB, free: 282 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08245/2.189, allocations: 67.58 MB / 1.473 GB, free: 234 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/2.189, allocations: 11.94 kB / 1.473 GB, free: 234 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03895/2.228, allocations: 21.57 MB / 1.494 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003668/2.232, allocations: 1.366 MB / 1.495 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/2.233, allocations: 107.9 kB / 1.495 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003679/2.237, allocations: 290.3 kB / 1.495 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001979/2.239, allocations: 0.5221 MB / 1.496 GB, free: 209.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004796/2.24, allocations: 140 kB / 1.496 GB, free: 209.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002407/2.242, allocations: 1.776 MB / 1.498 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/2.242, allocations: 0 / 1.498 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007905/2.25, allocations: 2.445 MB / 1.5 GB, free: 205.5 MB / 0.8698 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.000906/2.251, allocations: 244.6 kB / 1.5 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02198/2.273, allocations: 14.52 MB / 1.515 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-05/2.273, allocations: 8 kB / 1.515 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01595/2.289, allocations: 9.383 MB / 1.524 GB, free: 181 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009867/2.299, allocations: 1.289 MB / 1.525 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02438/2.323, allocations: 19.72 MB / 1.544 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005615/2.329, allocations: 4.991 MB / 1.549 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/2.33, allocations: 211.4 kB / 1.549 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/2.33, allocations: 0 / 1.549 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.7262/3.056, allocations: 473.5 MB / 2.012 GB, free: 7.383 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (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)