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.001001/0.001001, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007657/0.007657, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 270.4 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9382/0.9382, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004072, allocations: 11.72 kB / 0.5987 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.145, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.005274/0.1503, allocations: 4.713 MB / 0.6897 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.1548, allocations: 3.276 MB / 0.6929 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.155, allocations: 12.69 kB / 0.693 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005501/0.1556, allocations: 164.2 kB / 0.6931 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007937/0.1564, allocations: 354.6 kB / 0.6934 GB, free: 6.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.157, allocations: 245.7 kB / 0.6937 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008959/0.1579, allocations: 0.8568 MB / 0.6945 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.1591, allocations: 0.8343 MB / 0.6953 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.1594, allocations: 211.2 kB / 0.6955 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.1598, allocations: 271 kB / 0.6958 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.1599, allocations: 20 kB / 0.6958 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.1604, allocations: 319.4 kB / 0.6961 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.1605, allocations: 143.5 kB / 0.6963 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.1607, allocations: 232.6 kB / 0.6965 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007072/0.1614, allocations: 0.8021 MB / 0.6973 GB, free: 2.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1615, allocations: 0 / 0.6973 GB, free: 2.613 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1615, allocations: 0 / 0.6973 GB, free: 2.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1615, allocations: 4 kB / 0.6973 GB, free: 2.609 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.001264/0.1627, allocations: 0.7169 MB / 0.698 GB, free: 1.844 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1628, allocations: 12.02 kB / 0.698 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/0.1656, allocations: 0.675 MB / 0.6986 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006563/0.1662, allocations: 451.8 kB / 0.6991 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.1663, allocations: 25.03 kB / 0.6991 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-05/0.1664, allocations: 40.11 kB / 0.6991 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.168, allocations: 0.8317 MB / 0.6999 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.168, allocations: 0 / 0.6999 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/0.1681, allocations: 16 kB / 0.7 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001776/0.1682, allocations: 60.58 kB / 0.7 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.1703, allocations: 0.9311 MB / 0.7009 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/0.1739, allocations: 2.855 MB / 0.7037 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.1756, allocations: 0.5605 MB / 0.7043 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000767/0.1764, allocations: 313.3 kB / 0.7046 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.1765, allocations: 93.03 kB / 0.7046 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1765, allocations: 34.56 kB / 0.7047 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.1765, allocations: 0 / 0.7047 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.01265/0.1892, allocations: 3.539 MB / 0.7081 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1892, allocations: 51.41 kB / 0.7082 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.1897, allocations: 400.4 kB / 0.7086 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.1897, allocations: 37.64 kB / 0.7086 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.1899, allocations: 223.9 kB / 0.7088 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.19, allocations: 118.4 kB / 0.7089 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.1901, allocations: 33.7 kB / 0.709 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1902, allocations: 350.7 kB / 0.7093 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009534/0.1912, allocations: 387.7 kB / 0.7097 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009752/0.1922, allocations: 480.2 kB / 0.7101 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.1941, allocations: 0.8443 MB / 0.7109 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1941, allocations: 4 kB / 0.7109 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005508/0.1996, allocations: 1.677 MB / 0.7126 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.044e-05/0.1997, allocations: 149.9 kB / 0.7127 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1997, allocations: 4 kB / 0.7127 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004258/0.204, allocations: 0.9308 MB / 0.7136 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/0.2046, allocations: 127.8 kB / 0.7138 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008131/0.2128, allocations: 6.215 MB / 0.7198 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008028/0.2136, allocations: 115.9 kB / 0.7199 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.2137, allocations: 19.98 kB / 0.72 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.2137, allocations: 4 kB / 0.72 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004909/0.2186, allocations: 1.617 MB / 0.7215 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2186, allocations: 192 / 0.7215 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003045/0.2217, allocations: 0.6861 MB / 0.7222 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.2223, allocations: 135.8 kB / 0.7223 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005491/0.2278, allocations: 5.336 MB / 0.7276 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007602/0.2286, allocations: 107.9 kB / 0.7277 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.2286, allocations: 11.98 kB / 0.7277 GB, free: 2.023 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000377/0.229, allocations: 331.9 kB / 0.728 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.2291, allocations: 47.45 kB / 0.728 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005074/0.2342, allocations: 1.576 MB / 0.7296 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.2342, allocations: 4 kB / 0.7296 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2342, allocations: 0 / 0.7296 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.2342, allocations: 3.984 kB / 0.7296 GB, free: 48 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005758/0.24, allocations: 2.261 MB / 0.7318 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.24, allocations: 3.938 kB / 0.7318 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.2404, allocations: 87.83 kB / 0.7319 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003812/0.2443, allocations: 0.8647 MB / 0.7327 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.2443, allocations: 8 kB / 0.7327 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006924/0.2512, allocations: 6.071 MB / 0.7387 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2513, allocations: 3.938 kB / 0.7387 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004813/0.2561, allocations: 1.577 MB / 0.7402 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/0.2564, allocations: 172.6 kB / 0.7404 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/0.2565, allocations: 11.94 kB / 0.7404 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006163/0.2571, allocations: 95.86 kB / 0.7405 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.2573, allocations: 35.89 kB / 0.7405 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.2573, allocations: 4 kB / 0.7405 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003754/0.2577, allocations: 299.1 kB / 0.7408 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2577, allocations: 4 kB / 0.7408 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009377/0.2586, allocations: 232 kB / 0.741 GB, free: 3.789 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001769/0.2588, allocations: 119.2 kB / 0.7411 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004375/0.2632, allocations: 2.193 MB / 0.7433 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2632, allocations: 4.125 kB / 0.7433 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.2647, allocations: 0.801 MB / 0.7441 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007768/0.2655, allocations: 118.8 kB / 0.7442 GB, free: 420 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.2677, allocations: 1.341 MB / 0.7455 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.2683, allocations: 0.9296 MB / 0.7464 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000552/0.2688, allocations: 163.2 kB / 0.7465 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.269, allocations: 35.41 kB / 0.7466 GB, free: 13.88 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.269, allocations: 0 / 0.7466 GB, free: 13.88 MB / 0.545 GB Notification: Performance of Templates: time 0.02055/0.2895, allocations: 13.6 MB / 0.7599 GB, free: 380 kB / 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)