Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001598/0.001598, allocations: 193.7 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 65.28 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3153, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04195/0.3573, allocations: 40.8 MB / 1.107 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02576/0.3831, allocations: 15.06 MB / 1.122 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005905/0.3891, allocations: 171.1 kB / 1.122 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01099/0.4001, allocations: 4.151 MB / 1.126 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007872/0.408, allocations: 2.64 MB / 1.129 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007481/0.4155, allocations: 2.887 MB / 1.132 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01768/0.4332, allocations: 16 MB / 1.147 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02813/0.4614, allocations: 13.66 MB / 1.161 GB, free: 11.17 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01055/0.472, allocations: 4.106 MB / 1.165 GB, free: 7.047 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01177/0.4838, allocations: 5.479 MB / 1.17 GB, free: 1.551 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.004806/0.4887, allocations: 0.6133 MB / 1.171 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/0.4996, allocations: 2.04 MB / 1.173 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.01141/0.5111, allocations: 3.363 MB / 1.176 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01356/0.5247, allocations: 3.92 MB / 1.18 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02445/0.5492, allocations: 14.03 MB / 1.193 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5492, allocations: 4 kB / 1.193 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5492, allocations: 0 / 1.193 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004562/0.5497, allocations: 4 kB / 1.193 GB, free: 9.512 MB / 0.9512 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.03301/0.5828, allocations: 7.589 MB / 1.201 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.998e-05/0.5828, allocations: 12.03 kB / 1.201 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/0.6009, allocations: 1.518 MB / 1.202 GB, free: 308 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01515/0.6161, allocations: 4.205 MB / 1.206 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007436/0.6169, allocations: 456.5 kB / 1.207 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003608/0.6205, allocations: 0.5978 MB / 1.207 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03951/0.6601, allocations: 10.69 MB / 1.218 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005888/0.6607, allocations: 27.62 kB / 1.218 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004186/0.6649, allocations: 263.9 kB / 1.218 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004884/0.6699, allocations: 0.7729 MB / 1.219 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03022/0.7002, allocations: 8.557 MB / 1.227 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7928/1.493, allocations: 46.86 MB / 1.273 GB, free: 138.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006618/1.5, allocations: 4.302 MB / 1.277 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006811/1.506, allocations: 3.707 MB / 1.281 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003832/1.507, allocations: 40.23 kB / 1.281 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.763e-05/1.507, allocations: 77.8 kB / 1.281 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 5.43e-06/1.507, allocations: 0 / 1.281 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.4858/1.993, allocations: 122.7 MB / 1.401 GB, free: 39.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/1.993, allocations: 117.5 kB / 1.401 GB, free: 38.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004219/1.997, allocations: 2.681 MB / 1.404 GB, free: 36.28 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009351/1.998, allocations: 121.7 kB / 1.404 GB, free: 36.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0014/2, allocations: 2.678 MB / 1.406 GB, free: 33.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002034/2.002, allocations: 1.953 MB / 1.408 GB, free: 31.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003053/2.005, allocations: 0.9209 MB / 1.409 GB, free: 30.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.387e-05/2.005, allocations: 305.1 kB / 1.409 GB, free: 30.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006085/2.011, allocations: 4.079 MB / 1.413 GB, free: 26.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006389/2.017, allocations: 5.019 MB / 1.418 GB, free: 20.86 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/2.03, allocations: 9.848 MB / 1.428 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/2.03, allocations: 11.94 kB / 1.428 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04122/2.071, allocations: 16.99 MB / 1.444 GB, free: 9.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/2.071, allocations: 16 kB / 1.445 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.714e-05/2.071, allocations: 20 kB / 1.445 GB, free: 9.465 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03496/2.106, allocations: 9.09 MB / 1.453 GB, free: 344 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/2.109, allocations: 0.5226 MB / 1.454 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1173/2.226, allocations: 70.52 MB / 1.523 GB, free: 7.816 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006241/2.232, allocations: 287.3 kB / 1.523 GB, free: 7.539 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00163/2.234, allocations: 188 kB / 1.523 GB, free: 7.355 MB / 1.092 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.006889/2.241, allocations: 2.419 MB / 1.526 GB, free: 4.926 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002119/2.243, allocations: 474.5 kB / 1.526 GB, free: 4.457 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04531/2.289, allocations: 16.83 MB / 1.542 GB, free: 3.488 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.2e-05/2.289, allocations: 56 kB / 1.543 GB, free: 3.434 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002981/2.289, allocations: 75.94 kB / 1.543 GB, free: 3.359 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001571/2.289, allocations: 31.83 kB / 1.543 GB, free: 3.328 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06472/2.354, allocations: 25.66 MB / 1.568 GB, free: 9.445 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.909e-05/2.354, allocations: 8.938 kB / 1.568 GB, free: 9.438 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/2.356, allocations: 315.5 kB / 1.568 GB, free: 9.129 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03187/2.388, allocations: 8.275 MB / 1.576 GB, free: 0.8203 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001409/2.389, allocations: 108 kB / 1.576 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1044/2.494, allocations: 67.39 MB / 1.642 GB, free: 11.85 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/2.494, allocations: 8 kB / 1.642 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04857/2.542, allocations: 21.56 MB / 1.663 GB, free: 5.926 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004221/2.547, allocations: 1.362 MB / 1.664 GB, free: 4.539 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/2.549, allocations: 104 kB / 1.664 GB, free: 4.438 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0046/2.553, allocations: 287.6 kB / 1.665 GB, free: 4.156 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002597/2.556, allocations: 0.5221 MB / 1.665 GB, free: 3.633 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009255/2.557, allocations: 144.1 kB / 1.665 GB, free: 3.492 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003609/2.56, allocations: 1.784 MB / 1.667 GB, free: 1.719 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.6e-07/2.56, allocations: 0 / 1.667 GB, free: 1.719 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.009349/2.57, allocations: 2.461 MB / 1.67 GB, free: 15.25 MB / 1.248 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.001243/2.571, allocations: 248.8 kB / 1.67 GB, free: 15.01 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02901/2.6, allocations: 14.48 MB / 1.684 GB, free: 328 kB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/2.6, allocations: 4.062 kB / 1.684 GB, free: 324 kB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.02104/2.621, allocations: 9.349 MB / 1.693 GB, free: 6.816 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0112/2.632, allocations: 1.278 MB / 1.694 GB, free: 5.562 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0508/2.683, allocations: 18.74 MB / 1.713 GB, free: 2.699 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01645/2.7, allocations: 4.9 MB / 1.717 GB, free: 13.76 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.007628/2.707, allocations: 0.741 MB / 1.718 GB, free: 13.01 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/2.709, allocations: 203.4 kB / 1.718 GB, free: 12.82 MB / 1.295 GB Notification: Performance of SimCode: time 1.553e-06/2.709, allocations: 0 / 1.718 GB, free: 12.82 MB / 1.295 GB Notification: Performance of Templates: time 0.8654/3.574, allocations: 142.8 MB / 1.858 GB, free: 347.5 MB / 1.295 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)