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.65/1.65, allocations: 289.7 MB / 302.3 MB, free: 2.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.001072/0.001072, allocations: 179.6 kB / 371.6 MB, free: 3.383 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.976/1.976, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008942/0.0008941, allocations: 90.42 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.256e-05/4.277e-05, allocations: 4 kB / 0.8663 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3064, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9057/1.212, allocations: 192.8 MB / 1.168 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/1.213, allocations: 101.9 kB / 1.168 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.207/1.42, allocations: 69.14 MB / 1.236 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.362e-06/1.42, allocations: 0 / 1.236 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.892e-05/1.42, allocations: 36 kB / 1.236 GB, free: 11.79 MB / 0.8073 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.003366/1.423, allocations: 1.551 MB / 1.237 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.423, allocations: 12.03 kB / 1.237 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002655/1.426, allocations: 0.4985 MB / 1.238 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/1.428, allocations: 1.147 MB / 1.239 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.385e-05/1.428, allocations: 119.4 kB / 1.239 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003197/1.429, allocations: 150.9 kB / 1.239 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004554/1.433, allocations: 2.438 MB / 1.241 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/1.433, allocations: 4 kB / 1.241 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/1.433, allocations: 63.98 kB / 1.242 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/1.433, allocations: 91 kB / 1.242 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003252/1.437, allocations: 1.98 MB / 1.244 GB, free: 4.402 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01434/1.451, allocations: 10.52 MB / 1.254 GB, free: 8.996 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/1.452, allocations: 0.557 MB / 1.254 GB, free: 8.43 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005935/1.453, allocations: 381.4 kB / 1.255 GB, free: 8.055 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/1.453, allocations: 89.09 kB / 1.255 GB, free: 7.949 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/1.453, allocations: 41.23 kB / 1.255 GB, free: 7.902 MB / 0.823 GB Notification: Performance of pre-optimization done (n=36): time 3.266e-06/1.453, allocations: 0 / 1.255 GB, free: 7.902 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.02011/1.473, allocations: 4.778 MB / 1.26 GB, free: 3.105 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/1.473, allocations: 85.53 kB / 1.26 GB, free: 3.004 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/1.475, allocations: 0.808 MB / 1.26 GB, free: 2.188 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/1.475, allocations: 29.7 kB / 1.26 GB, free: 2.152 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007018/1.476, allocations: 0.7616 MB / 1.261 GB, free: 1.379 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/1.476, allocations: 189.4 kB / 1.261 GB, free: 1.191 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/1.476, allocations: 19.94 kB / 1.261 GB, free: 1.172 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002273/1.476, allocations: 394.7 kB / 1.262 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/1.478, allocations: 0.5915 MB / 1.262 GB, free: 192 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/1.479, allocations: 0.9568 MB / 1.263 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/1.481, allocations: 0.7759 MB / 1.264 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/1.481, allocations: 4 kB / 1.264 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008587/1.49, allocations: 2.773 MB / 1.267 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001682/1.491, allocations: 4.529 MB / 1.271 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/1.491, allocations: 12 kB / 1.271 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005021/1.496, allocations: 1.423 MB / 1.273 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000924/1.497, allocations: 227.6 kB / 1.273 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008018/1.505, allocations: 6.813 MB / 1.279 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.507, allocations: 155.7 kB / 1.28 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/1.507, allocations: 47.98 kB / 1.28 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/1.507, allocations: 8.062 kB / 1.28 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004938/1.512, allocations: 2.246 MB / 1.282 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/1.512, allocations: 15.94 kB / 1.282 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/1.515, allocations: 0.868 MB / 1.283 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009298/1.516, allocations: 255.6 kB / 1.283 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006807/1.523, allocations: 5.369 MB / 1.288 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.524, allocations: 139.8 kB / 1.288 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-05/1.524, allocations: 44 kB / 1.288 GB, free: 4.379 MB / 0.8542 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 () * 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.0003126/1.524, allocations: 164.6 kB / 1.289 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/1.525, allocations: 83.02 kB / 1.289 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005795/1.53, allocations: 2.309 MB / 1.291 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/1.53, allocations: 4 kB / 1.291 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.53, allocations: 4 kB / 1.291 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/1.53, allocations: 8.047 kB / 1.291 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008928/1.539, allocations: 4.26 MB / 1.295 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/1.539, allocations: 4 kB / 1.295 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/1.54, allocations: 99.86 kB / 1.295 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004686/1.544, allocations: 1.373 MB / 1.296 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-05/1.545, allocations: 12 kB / 1.296 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/1.556, allocations: 9.485 MB / 1.306 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.556, allocations: 0 / 1.306 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005614/1.562, allocations: 2.373 MB / 1.308 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006287/1.562, allocations: 280 kB / 1.308 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/1.562, allocations: 12 kB / 1.308 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007079/1.563, allocations: 127.8 kB / 1.308 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/1.563, allocations: 47.89 kB / 1.309 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/1.563, allocations: 16 kB / 1.309 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008873/1.564, allocations: 0.6279 MB / 1.309 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.41e-07/1.564, allocations: 3.938 kB / 1.309 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00198/1.566, allocations: 0.6172 MB / 1.31 GB, free: 13.66 MB / 0.8855 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 () * 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.0003326/1.567, allocations: 191.1 kB / 1.31 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00477/1.571, allocations: 2.954 MB / 1.313 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.571, allocations: 6 kB / 1.313 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/1.573, allocations: 1.228 MB / 1.314 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008929/1.574, allocations: 212.2 kB / 1.314 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/1.578, allocations: 2.403 MB / 1.317 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/1.579, allocations: 1.642 MB / 1.318 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001501/1.581, allocations: 0.5995 MB / 1.319 GB, free: 4.238 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/1.581, allocations: 55.42 kB / 1.319 GB, free: 4.184 MB / 0.8855 GB Notification: Performance of SimCode: time 1.002e-06/1.581, allocations: 0 / 1.319 GB, free: 4.184 MB / 0.8855 GB Notification: Performance of Templates: time 0.03377/1.615, allocations: 22.99 MB / 1.341 GB, free: 13.27 MB / 0.9167 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)