Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009852/0.000985, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00128/0.00128, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 271.2 kB / 291.3 MB, free: 1.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 169.5 MB / 0.5 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.000458, allocations: 14.12 kB / 0.598 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1647, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.005606/0.1703, allocations: 4.508 MB / 0.6889 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004449/0.1748, allocations: 3.082 MB / 0.6919 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.1751, allocations: 7.938 kB / 0.6919 GB, free: 7.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.1757, allocations: 148.9 kB / 0.6921 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008109/0.1765, allocations: 321.6 kB / 0.6924 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/0.1771, allocations: 189.4 kB / 0.6925 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008826/0.178, allocations: 0.7048 MB / 0.6932 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.1792, allocations: 0.7283 MB / 0.6939 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.1795, allocations: 195.2 kB / 0.6941 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.1799, allocations: 263.1 kB / 0.6944 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-05/0.1799, allocations: 20 kB / 0.6944 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005719/0.1805, allocations: 239.7 kB / 0.6946 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.1807, allocations: 139.6 kB / 0.6948 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.519e-05/0.1808, allocations: 105.5 kB / 0.6949 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007079/0.1815, allocations: 0.7091 MB / 0.6955 GB, free: 4.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1815, allocations: 0 / 0.6955 GB, free: 4.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1815, allocations: 0 / 0.6955 GB, free: 4.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1815, allocations: 0 / 0.6955 GB, free: 4.086 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00129/0.1828, allocations: 0.7518 MB / 0.6963 GB, free: 3.285 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1828, allocations: 8.031 kB / 0.6963 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/0.1855, allocations: 0.6975 MB / 0.697 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008184/0.1864, allocations: 482.6 kB / 0.6974 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.1864, allocations: 20.66 kB / 0.6975 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.1865, allocations: 31.98 kB / 0.6975 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.1881, allocations: 0.8473 MB / 0.6983 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.1881, allocations: 0 / 0.6983 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.1882, allocations: 12 kB / 0.6983 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002002/0.1884, allocations: 72.56 kB / 0.6984 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.1903, allocations: 0.9389 MB / 0.6993 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003861/0.1942, allocations: 2.914 MB / 0.7022 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.1956, allocations: 0.5611 MB / 0.7027 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007046/0.1963, allocations: 321.7 kB / 0.703 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.1965, allocations: 85.3 kB / 0.7031 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1965, allocations: 42.67 kB / 0.7031 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.134e-06/0.1965, allocations: 0 / 0.7031 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.01156/0.2081, allocations: 3.646 MB / 0.7067 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.2082, allocations: 81.11 kB / 0.7068 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/0.2087, allocations: 412.3 kB / 0.7072 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.2087, allocations: 33.7 kB / 0.7072 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.2089, allocations: 239.9 kB / 0.7074 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.209, allocations: 110.3 kB / 0.7075 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.2091, allocations: 12 kB / 0.7075 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2092, allocations: 342.8 kB / 0.7079 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008633/0.2101, allocations: 411.6 kB / 0.7083 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009253/0.211, allocations: 477 kB / 0.7087 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/0.2119, allocations: 441.3 kB / 0.7091 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.212, allocations: 0 / 0.7091 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005134/0.2171, allocations: 1.724 MB / 0.7108 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.2172, allocations: 155.9 kB / 0.711 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.2172, allocations: 0 / 0.711 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004171/0.2214, allocations: 0.9777 MB / 0.7119 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/0.222, allocations: 135.8 kB / 0.712 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008435/0.2305, allocations: 6.402 MB / 0.7183 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008033/0.2313, allocations: 107.8 kB / 0.7184 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/0.2314, allocations: 19.98 kB / 0.7184 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.2314, allocations: 6.344 kB / 0.7184 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004561/0.236, allocations: 1.66 MB / 0.7201 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.236, allocations: 7.938 kB / 0.7201 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002873/0.2389, allocations: 0.7174 MB / 0.7208 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.2395, allocations: 139.8 kB / 0.7209 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005833/0.2453, allocations: 5.43 MB / 0.7262 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007354/0.2461, allocations: 112.1 kB / 0.7263 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/0.2461, allocations: 19.94 kB / 0.7263 GB, free: 3.148 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.000423/0.2466, allocations: 329.9 kB / 0.7266 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/0.2467, allocations: 43.53 kB / 0.7267 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/0.2516, allocations: 1.626 MB / 0.7283 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.2516, allocations: 7.984 kB / 0.7283 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2516, allocations: 4 kB / 0.7283 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2516, allocations: 0 / 0.7283 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005735/0.2574, allocations: 2.331 MB / 0.7306 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2574, allocations: 0 / 0.7306 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.2578, allocations: 83.91 kB / 0.7306 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003661/0.2615, allocations: 0.927 MB / 0.7315 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.2615, allocations: 4 kB / 0.7315 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007933/0.2695, allocations: 6.227 MB / 0.7376 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.2695, allocations: 4.031 kB / 0.7376 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004571/0.2741, allocations: 1.629 MB / 0.7392 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.2744, allocations: 184.6 kB / 0.7394 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.525e-05/0.2745, allocations: 8 kB / 0.7394 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005793/0.2751, allocations: 95.86 kB / 0.7395 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.2752, allocations: 31.95 kB / 0.7395 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.2753, allocations: 4 kB / 0.7395 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004157/0.2757, allocations: 311.1 kB / 0.7398 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2757, allocations: 0 / 0.7398 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001055/0.2768, allocations: 240 kB / 0.7401 GB, free: 4.516 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002466/0.277, allocations: 123.5 kB / 0.7402 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004344/0.2814, allocations: 2.264 MB / 0.7424 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.2814, allocations: 8.125 kB / 0.7424 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.2829, allocations: 0.8168 MB / 0.7432 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/0.2836, allocations: 133.1 kB / 0.7433 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.2859, allocations: 1.32 MB / 0.7446 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.2865, allocations: 0.9258 MB / 0.7455 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005738/0.2871, allocations: 163.4 kB / 0.7457 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.2872, allocations: 35.41 kB / 0.7457 GB, free: 14.52 MB / 0.545 GB Notification: Performance of SimCode: time 1.804e-06/0.2872, allocations: 0 / 0.7457 GB, free: 14.52 MB / 0.545 GB Notification: Performance of Templates: time 0.02351/0.3107, allocations: 13.92 MB / 0.7593 GB, free: 0.6953 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)