Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001197/0.001202, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001347/0.001347, allocations: 192.8 kB / 16.14 MB, free: 6.688 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.54/1.54, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.98/2.98, allocations: 472.6 MB / 0.7447 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3507, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04435/0.3951, allocations: 40.8 MB / 1.107 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02534/0.4205, allocations: 15.05 MB / 1.122 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005587/0.4262, allocations: 171 kB / 1.122 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01176/0.438, allocations: 4.144 MB / 1.126 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008885/0.4469, allocations: 2.644 MB / 1.129 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008203/0.4551, allocations: 2.886 MB / 1.132 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01894/0.4741, allocations: 16.01 MB / 1.147 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02379/0.4979, allocations: 13.64 MB / 1.161 GB, free: 11.14 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007919/0.5059, allocations: 4.106 MB / 1.165 GB, free: 7.023 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009297/0.5152, allocations: 5.487 MB / 1.17 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002988/0.5182, allocations: 0.6094 MB / 1.171 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007607/0.5258, allocations: 2.036 MB / 1.173 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.006768/0.5326, allocations: 3.363 MB / 1.176 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01146/0.5441, allocations: 3.916 MB / 1.18 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01948/0.5636, allocations: 14.03 MB / 1.193 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.5637, allocations: 0 / 1.193 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5637, allocations: 4 kB / 1.193 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0005648/0.5643, allocations: 0 / 1.193 GB, free: 9.488 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.02588/0.5902, allocations: 7.592 MB / 1.201 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5902, allocations: 11.97 kB / 1.201 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.6023, allocations: 1.518 MB / 1.202 GB, free: 280 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/0.6131, allocations: 4.209 MB / 1.206 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005475/0.6137, allocations: 452.5 kB / 1.207 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003108/0.6168, allocations: 0.5939 MB / 1.207 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03194/0.6488, allocations: 10.68 MB / 1.218 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004079/0.6492, allocations: 39.56 kB / 1.218 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002593/0.6518, allocations: 263.9 kB / 1.218 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00307/0.6549, allocations: 0.7729 MB / 1.219 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/0.6754, allocations: 8.557 MB / 1.227 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7884/1.464, allocations: 46.86 MB / 1.273 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007628/1.471, allocations: 4.306 MB / 1.277 GB, free: 136.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007144/1.479, allocations: 3.703 MB / 1.281 GB, free: 135.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004585/1.479, allocations: 40.97 kB / 1.281 GB, free: 135.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/1.479, allocations: 81.02 kB / 1.281 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 1.566e-05/1.479, allocations: 0 / 1.281 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.4992/1.979, allocations: 122.7 MB / 1.401 GB, free: 39.26 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/1.979, allocations: 111.9 kB / 1.401 GB, free: 39.13 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004108/1.983, allocations: 2.685 MB / 1.404 GB, free: 36.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001192/1.984, allocations: 117.7 kB / 1.404 GB, free: 36.33 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/1.985, allocations: 2.682 MB / 1.406 GB, free: 33.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002178/1.988, allocations: 1.953 MB / 1.408 GB, free: 31.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002826/1.99, allocations: 0.9209 MB / 1.409 GB, free: 30.76 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.643e-05/1.99, allocations: 301.1 kB / 1.409 GB, free: 30.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006149/1.997, allocations: 4.083 MB / 1.413 GB, free: 26.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006186/2.003, allocations: 5.019 MB / 1.418 GB, free: 21.03 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01287/2.016, allocations: 9.851 MB / 1.428 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-05/2.016, allocations: 8 kB / 1.428 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03954/2.055, allocations: 16.99 MB / 1.444 GB, free: 9.668 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/2.055, allocations: 12 kB / 1.444 GB, free: 9.656 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.764e-05/2.055, allocations: 24 kB / 1.445 GB, free: 9.633 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03455/2.09, allocations: 9.083 MB / 1.453 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00277/2.093, allocations: 0.5226 MB / 1.454 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1119/2.205, allocations: 70.53 MB / 1.523 GB, free: 7.969 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005104/2.21, allocations: 283.8 kB / 1.523 GB, free: 7.691 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/2.211, allocations: 188 kB / 1.523 GB, free: 7.508 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.005518/2.217, allocations: 2.421 MB / 1.526 GB, free: 5.078 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001697/2.218, allocations: 474.5 kB / 1.526 GB, free: 4.609 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04277/2.261, allocations: 16.83 MB / 1.542 GB, free: 3.645 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.234e-05/2.261, allocations: 56 kB / 1.543 GB, free: 3.59 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002681/2.262, allocations: 72 kB / 1.543 GB, free: 3.52 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001336/2.262, allocations: 27.89 kB / 1.543 GB, free: 3.492 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05868/2.32, allocations: 25.65 MB / 1.568 GB, free: 9.609 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-05/2.32, allocations: 12.88 kB / 1.568 GB, free: 9.598 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/2.322, allocations: 319.5 kB / 1.568 GB, free: 9.285 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03087/2.353, allocations: 8.274 MB / 1.576 GB, free: 0.9805 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001285/2.355, allocations: 108 kB / 1.576 GB, free: 0.875 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1017/2.456, allocations: 67.39 MB / 1.642 GB, free: 12.02 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/2.456, allocations: 11.94 kB / 1.642 GB, free: 12 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05155/2.508, allocations: 21.56 MB / 1.663 GB, free: 6.086 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00414/2.512, allocations: 1.362 MB / 1.664 GB, free: 4.699 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001955/2.514, allocations: 104 kB / 1.664 GB, free: 4.598 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004637/2.519, allocations: 291.6 kB / 1.665 GB, free: 4.312 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002629/2.522, allocations: 0.5182 MB / 1.665 GB, free: 3.793 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008684/2.522, allocations: 144 kB / 1.665 GB, free: 3.652 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003687/2.526, allocations: 1.78 MB / 1.667 GB, free: 1.883 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.7e-07/2.526, allocations: 0 / 1.667 GB, free: 1.883 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.01026/2.536, allocations: 2.461 MB / 1.67 GB, free: 15.42 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.001056/2.537, allocations: 242.9 kB / 1.67 GB, free: 15.18 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02746/2.565, allocations: 14.49 MB / 1.684 GB, free: 492 kB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/2.565, allocations: 8.062 kB / 1.684 GB, free: 484 kB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.02002/2.585, allocations: 9.347 MB / 1.693 GB, free: 6.977 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008969/2.594, allocations: 1.287 MB / 1.694 GB, free: 5.711 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03606/2.63, allocations: 18.74 MB / 1.713 GB, free: 2.844 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009649/2.64, allocations: 4.89 MB / 1.717 GB, free: 13.91 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004232/2.644, allocations: 0.7449 MB / 1.718 GB, free: 13.16 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/2.645, allocations: 195.4 kB / 1.718 GB, free: 12.97 MB / 1.295 GB Notification: Performance of SimCode: time 9.52e-07/2.645, allocations: 0 / 1.718 GB, free: 12.97 MB / 1.295 GB Notification: Performance of Templates: time 0.8296/3.475, allocations: 142.8 MB / 1.858 GB, free: 348.1 MB / 1.295 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)