Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.664/1.665, allocations: 288.4 MB / 304.3 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001122, allocations: 176.5 kB / 372.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 0.6317 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008697/0.0008698, allocations: 94.59 kB / 0.7451 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004915, allocations: 16.06 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2624, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8485/1.111, allocations: 192.7 MB / 1.169 GB, free: 5.891 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003719/1.111, allocations: 102.5 kB / 1.169 GB, free: 5.832 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1588/1.27, allocations: 66.74 MB / 1.234 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.434e-06/1.27, allocations: 0 / 1.234 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.215e-05/1.27, allocations: 36 kB / 1.234 GB, free: 13.24 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003641/1.274, allocations: 1.772 MB / 1.236 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.274, allocations: 8.031 kB / 1.236 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/1.277, allocations: 0.664 MB / 1.237 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/1.28, allocations: 1.273 MB / 1.238 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.208e-05/1.28, allocations: 120.3 kB / 1.238 GB, free: 9.754 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/1.28, allocations: 153.1 kB / 1.238 GB, free: 9.652 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004483/1.284, allocations: 2.662 MB / 1.241 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.815e-05/1.285, allocations: 4 kB / 1.241 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/1.285, allocations: 75.98 kB / 1.241 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-05/1.285, allocations: 87.22 kB / 1.241 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003602/1.288, allocations: 2.222 MB / 1.243 GB, free: 5.297 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/1.301, allocations: 10.89 MB / 1.254 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/1.303, allocations: 0.7614 MB / 1.254 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008068/1.303, allocations: 0.5364 MB / 1.255 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/1.304, allocations: 97.47 kB / 1.255 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/1.304, allocations: 34.94 kB / 1.255 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=46): time 2.975e-06/1.304, allocations: 0 / 1.255 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of matching and sorting (n=72): time 0.02786/1.332, allocations: 9.082 MB / 1.264 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/1.332, allocations: 85.77 kB / 1.264 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/1.333, allocations: 0.9376 MB / 1.265 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/1.333, allocations: 37.7 kB / 1.265 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005187/1.334, allocations: 0.7775 MB / 1.266 GB, free: 13 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/1.334, allocations: 256.4 kB / 1.266 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/1.334, allocations: 20 kB / 1.266 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001964/1.334, allocations: 402.7 kB / 1.266 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/1.335, allocations: 0.8028 MB / 1.267 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/1.337, allocations: 1.171 MB / 1.268 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/1.34, allocations: 2.017 MB / 1.27 GB, free: 8.023 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/1.34, allocations: 4 kB / 1.27 GB, free: 8.02 MB / 0.7917 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.0132/1.353, allocations: 3.822 MB / 1.274 GB, free: 4.18 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004488/1.353, allocations: 422.6 kB / 1.274 GB, free: 3.617 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/1.353, allocations: 12 kB / 1.274 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01582/1.369, allocations: 2.176 MB / 1.277 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/1.371, allocations: 227.6 kB / 1.277 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03428/1.405, allocations: 11.43 MB / 1.288 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/1.408, allocations: 199.5 kB / 1.288 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/1.408, allocations: 47.98 kB / 1.288 GB, free: 5.262 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.408, allocations: 4 kB / 1.288 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01334/1.422, allocations: 3.111 MB / 1.291 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.393e-05/1.422, allocations: 12 kB / 1.291 GB, free: 2.129 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006171/1.428, allocations: 1.368 MB / 1.293 GB, free: 0.7578 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/1.429, allocations: 291.5 kB / 1.293 GB, free: 484 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/1.441, allocations: 6.607 MB / 1.299 GB, free: 9.727 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/1.442, allocations: 163.8 kB / 1.299 GB, free: 9.566 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.442, allocations: 47.98 kB / 1.299 GB, free: 9.52 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.001685/1.444, allocations: 0.9026 MB / 1.3 GB, free: 8.605 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/1.444, allocations: 90.91 kB / 1.3 GB, free: 8.516 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008929/1.453, allocations: 3.367 MB / 1.304 GB, free: 5.129 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/1.453, allocations: 4 kB / 1.304 GB, free: 5.125 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.453, allocations: 7.938 kB / 1.304 GB, free: 5.117 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.453, allocations: 3.984 kB / 1.304 GB, free: 5.113 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/1.466, allocations: 5.944 MB / 1.31 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.466, allocations: 4 kB / 1.31 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/1.467, allocations: 120 kB / 1.31 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007879/1.475, allocations: 1.963 MB / 1.312 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/1.475, allocations: 16 kB / 1.312 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/1.49, allocations: 9.816 MB / 1.321 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-05/1.49, allocations: 7.938 kB / 1.321 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008683/1.499, allocations: 3.225 MB / 1.324 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000855/1.5, allocations: 335.9 kB / 1.325 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/1.5, allocations: 16 kB / 1.325 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009009/1.501, allocations: 151.8 kB / 1.325 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003112/1.501, allocations: 68.34 kB / 1.325 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.057e-05/1.501, allocations: 20 kB / 1.325 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009907/1.502, allocations: 0.6668 MB / 1.326 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.6e-07/1.502, allocations: 8 kB / 1.326 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002474/1.505, allocations: 0.7265 MB / 1.326 GB, free: 13.58 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003885/1.505, allocations: 168.6 kB / 1.326 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008816/1.514, allocations: 4.135 MB / 1.33 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.514, allocations: 4.25 kB / 1.33 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003314/1.517, allocations: 1.48 MB / 1.332 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/1.519, allocations: 250.9 kB / 1.332 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006631/1.526, allocations: 4.08 MB / 1.336 GB, free: 3.363 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/1.528, allocations: 1.73 MB / 1.338 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001602/1.529, allocations: 0.5187 MB / 1.338 GB, free: 1.074 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/1.529, allocations: 59.42 kB / 1.338 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of SimCode: time 1.723e-06/1.529, allocations: 4 kB / 1.338 GB, free: 1.016 MB / 0.8542 GB Notification: Performance of Templates: time 0.0469/1.576, allocations: 29.95 MB / 1.368 GB, free: 3.227 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)