Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.923/1.923, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001531/0.001531, allocations: 183.9 kB / 377.1 MB, free: 1.52 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.989/1.989, allocations: 205.4 MB / 0.6367 GB, free: 8.488 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009436/0.0009435, allocations: 90.36 kB / 0.751 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.000359, allocations: 11.98 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3202, allocations: 116.3 MB / 0.9884 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8649/1.185, allocations: 192.9 MB / 1.177 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/1.186, allocations: 104.5 kB / 1.177 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1707/1.356, allocations: 69.42 MB / 1.245 GB, free: 15.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.044e-06/1.356, allocations: 0 / 1.245 GB, free: 15.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001067/1.356, allocations: 47.92 kB / 1.245 GB, free: 15.46 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003531/1.36, allocations: 1.659 MB / 1.246 GB, free: 13.75 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.36, allocations: 12.03 kB / 1.246 GB, free: 13.73 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/1.363, allocations: 499.5 kB / 1.247 GB, free: 13.25 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/1.366, allocations: 1.154 MB / 1.248 GB, free: 12.05 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/1.366, allocations: 119.1 kB / 1.248 GB, free: 11.93 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/1.366, allocations: 163.3 kB / 1.248 GB, free: 11.77 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004409/1.37, allocations: 2.466 MB / 1.251 GB, free: 9.242 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.479e-05/1.37, allocations: 11.92 kB / 1.251 GB, free: 9.23 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/1.371, allocations: 67.98 kB / 1.251 GB, free: 9.164 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/1.371, allocations: 83.06 kB / 1.251 GB, free: 9.082 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003409/1.374, allocations: 2.038 MB / 1.253 GB, free: 7.039 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/1.392, allocations: 10.52 MB / 1.263 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/1.393, allocations: 0.5855 MB / 1.264 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/1.393, allocations: 85.11 kB / 1.264 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/1.394, allocations: 40.88 kB / 1.264 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 2.916e-06/1.394, allocations: 0 / 1.264 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.01938/1.413, allocations: 5.714 MB / 1.269 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/1.413, allocations: 81.55 kB / 1.269 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/1.415, allocations: 0.8156 MB / 1.27 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.921e-05/1.415, allocations: 33.7 kB / 1.27 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007921/1.416, allocations: 0.7577 MB / 1.271 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/1.416, allocations: 185.4 kB / 1.271 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/1.416, allocations: 24 kB / 1.271 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002548/1.417, allocations: 390.7 kB / 1.271 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/1.418, allocations: 0.6421 MB / 1.272 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/1.419, allocations: 1.004 MB / 1.273 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/1.421, allocations: 0.8179 MB / 1.274 GB, free: 168 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/1.421, allocations: 4 kB / 1.274 GB, free: 164 kB / 0.8386 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.007931/1.429, allocations: 2.932 MB / 1.277 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002414/1.431, allocations: 4.525 MB / 1.281 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-05/1.431, allocations: 12 kB / 1.281 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006436/1.438, allocations: 1.552 MB / 1.283 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.439, allocations: 227.6 kB / 1.283 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009429/1.448, allocations: 7.124 MB / 1.29 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/1.45, allocations: 159.8 kB / 1.29 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/1.45, allocations: 44 kB / 1.29 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.45, allocations: 6.188 kB / 1.29 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006365/1.457, allocations: 2.403 MB / 1.292 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.642e-05/1.457, allocations: 15.95 kB / 1.292 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004128/1.461, allocations: 0.9971 MB / 1.293 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/1.462, allocations: 263.5 kB / 1.294 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008144/1.47, allocations: 5.61 MB / 1.299 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/1.472, allocations: 139.8 kB / 1.299 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002982/1.472, allocations: 55.91 kB / 1.299 GB, free: 5.117 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.002546/1.474, allocations: 0.8323 MB / 1.3 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004717/1.475, allocations: 83.02 kB / 1.3 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007648/1.483, allocations: 2.465 MB / 1.303 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/1.483, allocations: 7.984 kB / 1.303 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.483, allocations: 4 kB / 1.303 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/1.483, allocations: 4 kB / 1.303 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/1.494, allocations: 4.298 MB / 1.307 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.494, allocations: 0 / 1.307 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/1.495, allocations: 103.8 kB / 1.307 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006281/1.501, allocations: 1.501 MB / 1.308 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/1.501, allocations: 19.95 kB / 1.308 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/1.514, allocations: 9.915 MB / 1.318 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.514, allocations: 7.938 kB / 1.318 GB, free: 1.191 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006956/1.521, allocations: 2.525 MB / 1.321 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008648/1.522, allocations: 280.1 kB / 1.321 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/1.522, allocations: 12 kB / 1.321 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009778/1.523, allocations: 123.8 kB / 1.321 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002925/1.524, allocations: 55.58 kB / 1.321 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.363e-05/1.524, allocations: 20 kB / 1.321 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001252/1.525, allocations: 0.6395 MB / 1.322 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.61e-07/1.525, allocations: 0 / 1.322 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003205/1.528, allocations: 0.6249 MB / 1.322 GB, free: 12.8 MB / 0.9011 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004909/1.529, allocations: 175.4 kB / 1.322 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006213/1.535, allocations: 3.085 MB / 1.325 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.535, allocations: 0 / 1.325 GB, free: 9.488 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002153/1.537, allocations: 1.281 MB / 1.327 GB, free: 8.156 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/1.538, allocations: 210.7 kB / 1.327 GB, free: 7.945 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006995/1.545, allocations: 3.54 MB / 1.33 GB, free: 4.352 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/1.547, allocations: 1.645 MB / 1.332 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00154/1.549, allocations: 486.5 kB / 1.332 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/1.549, allocations: 63.42 kB / 1.333 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of SimCode: time 9.02e-07/1.549, allocations: 0 / 1.333 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of Templates: time 0.03946/1.589, allocations: 22.39 MB / 1.354 GB, free: 11.85 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)