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.001171/0.001171, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001185/0.001185, allocations: 192 kB / 16.25 MB, free: 6.633 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 67.7 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3505, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04419/0.3947, allocations: 40.81 MB / 1.108 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02566/0.4204, allocations: 14.97 MB / 1.122 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005281/0.4257, allocations: 167.1 kB / 1.122 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01193/0.4377, allocations: 4.163 MB / 1.126 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008857/0.4466, allocations: 2.586 MB / 1.129 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009197/0.4558, allocations: 2.895 MB / 1.132 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01632/0.4722, allocations: 11.44 MB / 1.143 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02508/0.4973, allocations: 14.86 MB / 1.157 GB, free: 14.58 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008288/0.5056, allocations: 4.891 MB / 1.162 GB, free: 9.676 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009711/0.5154, allocations: 5.635 MB / 1.168 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003596/0.519, allocations: 0.9492 MB / 1.169 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007301/0.5263, allocations: 2.033 MB / 1.171 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.006935/0.5333, allocations: 3.699 MB / 1.174 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01071/0.544, allocations: 4.303 MB / 1.178 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0189/0.563, allocations: 14.29 MB / 1.192 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.563, allocations: 0 / 1.192 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.763e-06/0.563, allocations: 0 / 1.192 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004979/0.5635, allocations: 0 / 1.192 GB, free: 10.68 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.02586/0.5894, allocations: 7.596 MB / 1.2 GB, free: 3 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.5895, allocations: 11.97 kB / 1.2 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01242/0.6019, allocations: 1.514 MB / 1.201 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01141/0.6134, allocations: 4.209 MB / 1.205 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005468/0.614, allocations: 456.5 kB / 1.206 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002855/0.6168, allocations: 0.5977 MB / 1.206 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02687/0.6437, allocations: 10.68 MB / 1.217 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003537/0.6441, allocations: 35.7 kB / 1.217 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00229/0.6464, allocations: 271.9 kB / 1.217 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002991/0.6494, allocations: 0.769 MB / 1.218 GB, free: 4 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02169/0.6711, allocations: 8.557 MB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6615/1.333, allocations: 46.85 MB / 1.272 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006811/1.34, allocations: 4.313 MB / 1.276 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006965/1.347, allocations: 3.694 MB / 1.28 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004097/1.347, allocations: 39.81 kB / 1.28 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.22e-05/1.347, allocations: 81.66 kB / 1.28 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 5.901e-06/1.347, allocations: 0 / 1.28 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.4643/1.811, allocations: 122.8 MB / 1.4 GB, free: 40.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/1.812, allocations: 115.9 kB / 1.4 GB, free: 40.05 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003305/1.815, allocations: 2.681 MB / 1.403 GB, free: 37.37 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001303/1.816, allocations: 121.7 kB / 1.403 GB, free: 37.24 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001508/1.818, allocations: 2.675 MB / 1.405 GB, free: 34.54 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00239/1.82, allocations: 1.953 MB / 1.407 GB, free: 32.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001783/1.822, allocations: 0.9248 MB / 1.408 GB, free: 31.67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.734e-05/1.822, allocations: 305.1 kB / 1.408 GB, free: 31.37 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004751/1.827, allocations: 4.083 MB / 1.412 GB, free: 27.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00507/1.832, allocations: 5.019 MB / 1.417 GB, free: 21.94 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/1.843, allocations: 9.847 MB / 1.427 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-05/1.843, allocations: 8 kB / 1.427 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03784/1.881, allocations: 17 MB / 1.444 GB, free: 10.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/1.881, allocations: 12 kB / 1.444 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.839e-05/1.881, allocations: 24 kB / 1.444 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03165/1.913, allocations: 9.146 MB / 1.453 GB, free: 1.367 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/1.915, allocations: 0.5265 MB / 1.453 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1132/2.028, allocations: 77.03 MB / 1.528 GB, free: 2.254 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005676/2.034, allocations: 279.7 kB / 1.529 GB, free: 1.98 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008762/2.035, allocations: 188 kB / 1.529 GB, free: 1.797 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.005046/2.04, allocations: 2.429 MB / 1.531 GB, free: 15.36 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/2.042, allocations: 474.5 kB / 1.532 GB, free: 14.89 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04004/2.082, allocations: 16.82 MB / 1.548 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.229e-05/2.082, allocations: 56 kB / 1.548 GB, free: 13.87 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000249/2.082, allocations: 76.12 kB / 1.548 GB, free: 13.8 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001315/2.082, allocations: 27.89 kB / 1.548 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05744/2.14, allocations: 25.66 MB / 1.573 GB, free: 3.879 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-05/2.14, allocations: 8 kB / 1.573 GB, free: 3.871 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/2.142, allocations: 315.5 kB / 1.573 GB, free: 3.562 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02907/2.171, allocations: 8.341 MB / 1.582 GB, free: 11.18 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001214/2.172, allocations: 104 kB / 1.582 GB, free: 11.08 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.106/2.278, allocations: 73.89 MB / 1.654 GB, free: 15.66 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/2.278, allocations: 8 kB / 1.654 GB, free: 15.65 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04612/2.324, allocations: 21.57 MB / 1.675 GB, free: 9.723 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004581/2.329, allocations: 1.354 MB / 1.676 GB, free: 8.344 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001522/2.33, allocations: 115.9 kB / 1.676 GB, free: 8.23 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003545/2.334, allocations: 291.7 kB / 1.677 GB, free: 7.945 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002219/2.336, allocations: 0.5222 MB / 1.677 GB, free: 7.422 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004595/2.336, allocations: 148 kB / 1.677 GB, free: 7.277 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002694/2.339, allocations: 1.772 MB / 1.679 GB, free: 5.516 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/2.339, allocations: 0 / 1.679 GB, free: 5.516 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.008075/2.347, allocations: 2.465 MB / 1.681 GB, free: 3.051 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.0009148/2.348, allocations: 242.4 kB / 1.682 GB, free: 2.809 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.03544/2.384, allocations: 18.68 MB / 1.7 GB, free: 15.95 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/2.384, allocations: 0 / 1.7 GB, free: 15.95 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01954/2.403, allocations: 9.358 MB / 1.709 GB, free: 6.438 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00743/2.411, allocations: 1.368 MB / 1.71 GB, free: 5.113 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02957/2.44, allocations: 18.73 MB / 1.729 GB, free: 2.266 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5936/3.034, allocations: 4.888 MB / 1.733 GB, free: 420 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003598/3.038, allocations: 0.7453 MB / 1.734 GB, free: 419.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006953/3.038, allocations: 194.7 kB / 1.734 GB, free: 419.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.103e-06/3.038, allocations: 1.375 kB / 1.734 GB, free: 419.9 MB / 1.295 GB Notification: Performance of Templates: time 0.223/3.261, allocations: 148.4 MB / 1.879 GB, free: 328.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)