Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.293/1.293, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 189.4 kB / 327.6 MB, free: 2.184 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.4 MB / 0.5785 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006952/0.0006954, allocations: 95.86 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 16.12 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1874, allocations: 106.3 MB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5941/0.7815, allocations: 186.4 MB / 1.083 GB, free: 52.43 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.7818, allocations: 102.5 kB / 1.083 GB, free: 52.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1326/0.9144, allocations: 66.75 MB / 1.149 GB, free: 32.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9144, allocations: 4 kB / 1.149 GB, free: 32.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001125/0.9145, allocations: 39.03 kB / 1.149 GB, free: 32.97 MB / 0.698 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.004/0.9185, allocations: 1.768 MB / 1.15 GB, free: 31.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.9186, allocations: 7.875 kB / 1.15 GB, free: 31.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002922/0.9215, allocations: 0.6661 MB / 1.151 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.9238, allocations: 1.268 MB / 1.152 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.307e-05/0.9239, allocations: 114.4 kB / 1.152 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004447/0.9243, allocations: 159.3 kB / 1.152 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004289/0.9286, allocations: 2.667 MB / 1.155 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.075e-05/0.9287, allocations: 11.77 kB / 1.155 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.9289, allocations: 74.39 kB / 1.155 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.742e-05/0.929, allocations: 85.12 kB / 1.155 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003155/0.9321, allocations: 2.215 MB / 1.157 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009773/0.9419, allocations: 10.89 MB / 1.168 GB, free: 22.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009301/0.9429, allocations: 0.7625 MB / 1.169 GB, free: 22.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005991/0.9435, allocations: 0.5445 MB / 1.169 GB, free: 22.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.913e-05/0.9436, allocations: 85.33 kB / 1.169 GB, free: 22.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.9436, allocations: 42.58 kB / 1.169 GB, free: 22.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 2.255e-06/0.9436, allocations: 4 kB / 1.169 GB, free: 22.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.02332/0.967, allocations: 9.06 MB / 1.178 GB, free: 18.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.9671, allocations: 85.52 kB / 1.178 GB, free: 18.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.9685, allocations: 0.9469 MB / 1.179 GB, free: 18.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.435e-05/0.9686, allocations: 39.89 kB / 1.179 GB, free: 18.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.969, allocations: 0.7766 MB / 1.18 GB, free: 17.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.9693, allocations: 246.6 kB / 1.18 GB, free: 17.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/0.9694, allocations: 22.06 kB / 1.18 GB, free: 17.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.9695, allocations: 407 kB / 1.181 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.9707, allocations: 0.8034 MB / 1.181 GB, free: 17.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.9719, allocations: 1.165 MB / 1.183 GB, free: 16.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002317/0.9742, allocations: 2.019 MB / 1.185 GB, free: 15.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.9742, allocations: 7.688 kB / 1.185 GB, free: 15.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.008178/0.9824, allocations: 3.822 MB / 1.188 GB, free: 13.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.9826, allocations: 411.2 kB / 1.189 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.9826, allocations: 15.98 kB / 1.189 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007332/0.99, allocations: 2.179 MB / 1.191 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.9908, allocations: 233.6 kB / 1.191 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/1.006, allocations: 11.45 MB / 1.202 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/1.007, allocations: 203.6 kB / 1.202 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/1.007, allocations: 47.98 kB / 1.203 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/1.007, allocations: 4 kB / 1.203 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007359/1.015, allocations: 3.103 MB / 1.206 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/1.015, allocations: 8 kB / 1.206 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005045/1.02, allocations: 1.365 MB / 1.207 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/1.021, allocations: 295.5 kB / 1.207 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/1.032, allocations: 6.59 MB / 1.214 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/1.033, allocations: 171.7 kB / 1.214 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/1.033, allocations: 44 kB / 1.214 GB, free: 4.191 MB / 0.7136 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.002067/1.035, allocations: 0.9064 MB / 1.215 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/1.036, allocations: 86.91 kB / 1.215 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008576/1.044, allocations: 3.367 MB / 1.218 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.044, allocations: 8 kB / 1.218 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.044, allocations: 4 kB / 1.218 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.044, allocations: 3.984 kB / 1.218 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/1.058, allocations: 5.943 MB / 1.224 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/1.058, allocations: 3.984 kB / 1.224 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/1.058, allocations: 107.9 kB / 1.224 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007021/1.065, allocations: 1.97 MB / 1.226 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.817e-05/1.066, allocations: 16 kB / 1.226 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/1.08, allocations: 9.83 MB / 1.236 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.08, allocations: 4 kB / 1.236 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008311/1.089, allocations: 3.225 MB / 1.239 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008162/1.089, allocations: 328 kB / 1.239 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/1.09, allocations: 12 kB / 1.239 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/1.091, allocations: 151.8 kB / 1.239 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003112/1.091, allocations: 72.34 kB / 1.239 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.132e-05/1.091, allocations: 20 kB / 1.239 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001222/1.092, allocations: 0.6707 MB / 1.24 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.092, allocations: 0 / 1.24 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003316/1.096, allocations: 0.7265 MB / 1.241 GB, free: 8.281 MB / 0.7448 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.0004364/1.096, allocations: 178.9 kB / 1.241 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008802/1.105, allocations: 4.126 MB / 1.245 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.105, allocations: 0 / 1.245 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00305/1.108, allocations: 1.477 MB / 1.246 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/1.11, allocations: 255.3 kB / 1.247 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007116/1.117, allocations: 4.079 MB / 1.25 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/1.119, allocations: 1.73 MB / 1.252 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001537/1.121, allocations: 0.5187 MB / 1.253 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/1.121, allocations: 55.44 kB / 1.253 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of SimCode: time 8.82e-07/1.121, allocations: 0 / 1.253 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of Templates: time 0.04592/1.167, allocations: 29.96 MB / 1.282 GB, free: 13.96 MB / 0.7917 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)