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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.332/1.332, allocations: 252 MB / 268 MB, free: 10.86 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.0009944/0.0009944, allocations: 175.4 kB / 327.6 MB, free: 2.109 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.548/1.548, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0008789/0.000879, allocations: 83.8 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 11.25 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2027, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02275/0.2255, allocations: 29.59 MB / 0.9304 GB, free: 33.78 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01678/0.2423, allocations: 13.46 MB / 0.9435 GB, free: 20.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003275/0.2457, allocations: 123.2 kB / 0.9436 GB, free: 20.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.2479, allocations: 0.6551 MB / 0.9443 GB, free: 19.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007375/0.2553, allocations: 2.468 MB / 0.9467 GB, free: 17.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004353/0.2597, allocations: 1.708 MB / 0.9483 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009791/0.2695, allocations: 10.4 MB / 0.9585 GB, free: 4.879 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01398/0.2835, allocations: 10.17 MB / 0.9684 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005276/0.2888, allocations: 2.623 MB / 0.971 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00499/0.2938, allocations: 2.938 MB / 0.9739 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0008522/0.2947, allocations: 244 kB / 0.9741 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003321/0.298, allocations: 1.384 MB / 0.9755 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.002109/0.3001, allocations: 1.909 MB / 0.9773 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003276/0.3034, allocations: 2.38 MB / 0.9796 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008135/0.3116, allocations: 7.761 MB / 0.9872 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3116, allocations: 0 / 0.9872 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.474e-06/0.3116, allocations: 4 kB / 0.9872 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002477/0.3119, allocations: 0 / 0.9872 GB, free: 7.285 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009031/0.3209, allocations: 4.154 MB / 0.9913 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.321, allocations: 16.02 kB / 0.9913 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005965/0.327, allocations: 0.998 MB / 0.9923 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005989/0.333, allocations: 2.888 MB / 0.9951 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002745/0.3333, allocations: 320.8 kB / 0.9954 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/0.3345, allocations: 420 kB / 0.9958 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/0.3467, allocations: 6.788 MB / 1.002 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.3469, allocations: 23.78 kB / 1.002 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004292/0.3473, allocations: 184 kB / 1.003 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008825/0.3482, allocations: 368 kB / 1.003 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.3586, allocations: 5.118 MB / 1.008 GB, free: 1.555 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03282/0.3915, allocations: 30.77 MB / 1.038 GB, free: 20 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.3936, allocations: 1.384 MB / 1.039 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/0.3954, allocations: 1.332 MB / 1.041 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.571e-05/0.3955, allocations: 17.31 kB / 1.041 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.3955, allocations: 51.88 kB / 1.041 GB, free: 13.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=130): time 1.248e-05/0.3955, allocations: 3.984 kB / 1.041 GB, free: 13.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=199): time 0.4309/0.8264, allocations: 22.79 MB / 1.063 GB, free: 137.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.8265, allocations: 72.67 kB / 1.063 GB, free: 137.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003248/0.8298, allocations: 2.062 MB / 1.065 GB, free: 137.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000267/0.83, allocations: 61.86 kB / 1.065 GB, free: 137.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.8313, allocations: 2.016 MB / 1.067 GB, free: 136.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000578/0.8319, allocations: 0.6704 MB / 1.068 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.8321, allocations: 52.94 kB / 1.068 GB, free: 135.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.8322, allocations: 400.8 kB / 1.068 GB, free: 135.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002297/0.8345, allocations: 1.429 MB / 1.07 GB, free: 135.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.837, allocations: 2.014 MB / 1.072 GB, free: 134.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004422/0.8414, allocations: 3.693 MB / 1.075 GB, free: 133.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/0.8414, allocations: 5.062 kB / 1.075 GB, free: 133.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009834/0.8513, allocations: 5.664 MB / 1.081 GB, free: 130.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.8513, allocations: 12.03 kB / 1.081 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.8514, allocations: 19.69 kB / 1.081 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006083/0.8575, allocations: 2.077 MB / 1.083 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.8589, allocations: 380.2 kB / 1.083 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.029/0.8879, allocations: 35.53 MB / 1.118 GB, free: 99.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/0.8904, allocations: 131.9 kB / 1.118 GB, free: 98.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003265/0.8907, allocations: 92 kB / 1.118 GB, free: 98.84 MB / 0.698 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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 prepare postOptimizeDAE: time 0.002418/0.8931, allocations: 1.504 MB / 1.12 GB, free: 97.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000562/0.8937, allocations: 284.6 kB / 1.12 GB, free: 97.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008944/0.9027, allocations: 5.215 MB / 1.125 GB, free: 91.76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.9027, allocations: 20 kB / 1.125 GB, free: 91.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.717e-05/0.9028, allocations: 20 kB / 1.125 GB, free: 91.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.9028, allocations: 15.95 kB / 1.125 GB, free: 91.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/0.9194, allocations: 9.672 MB / 1.134 GB, free: 81.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.9195, allocations: 8 kB / 1.134 GB, free: 81.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008005/0.9203, allocations: 219.6 kB / 1.135 GB, free: 81.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005303/0.9256, allocations: 1.838 MB / 1.136 GB, free: 79.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/0.9258, allocations: 40.55 kB / 1.136 GB, free: 79.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02636/0.9521, allocations: 34.57 MB / 1.17 GB, free: 42.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.9522, allocations: 8 kB / 1.17 GB, free: 42.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008247/0.9604, allocations: 4.917 MB / 1.175 GB, free: 37.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.9618, allocations: 0.6225 MB / 1.176 GB, free: 37.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006382/0.9625, allocations: 40 kB / 1.176 GB, free: 37.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.9642, allocations: 131.8 kB / 1.176 GB, free: 36.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006132/0.9648, allocations: 194.5 kB / 1.176 GB, free: 36.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.9649, allocations: 52 kB / 1.176 GB, free: 36.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002017/0.967, allocations: 1.382 MB / 1.177 GB, free: 35.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/0.967, allocations: 4 kB / 1.177 GB, free: 35.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003804/0.9708, allocations: 1.031 MB / 1.178 GB, free: 34.24 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003254/0.9711, allocations: 170.3 kB / 1.179 GB, free: 34.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008462/0.9796, allocations: 6.277 MB / 1.185 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.9796, allocations: 0 / 1.185 GB, free: 27.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005608/0.9852, allocations: 4.405 MB / 1.189 GB, free: 22.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006367/0.9916, allocations: 0.9167 MB / 1.19 GB, free: 22.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/1.006, allocations: 10.61 MB / 1.2 GB, free: 11.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003623/1.01, allocations: 3.186 MB / 1.203 GB, free: 8.141 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006539/1.01, allocations: 155.4 kB / 1.203 GB, free: 7.988 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/1.01, allocations: 4 kB / 1.203 GB, free: 7.984 MB / 0.698 GB Notification: Performance of Templates: time 0.7016/1.712, allocations: 464 MB / 1.657 GB, free: 41.02 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)