Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009748/0.0009748, allocations: 92.88 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 182.4 kB / 16.92 MB, free: 6.914 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6914/0.6914, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 12.59 kB / 495.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1622, allocations: 77.52 MB / 0.56 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006496/0.1688, allocations: 4.71 MB / 0.5646 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005365/0.1742, allocations: 3.308 MB / 0.5678 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003609/0.1746, allocations: 7.938 kB / 0.5678 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006984/0.1753, allocations: 171 kB / 0.568 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.1765, allocations: 359.8 kB / 0.5683 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007766/0.1773, allocations: 247.5 kB / 0.5685 GB, free: 264 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.1786, allocations: 0.8571 MB / 0.5694 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.1801, allocations: 0.8253 MB / 0.5702 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.1805, allocations: 219.1 kB / 0.5704 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004834/0.181, allocations: 271 kB / 0.5706 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.593e-05/0.1811, allocations: 20 kB / 0.5707 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006255/0.1817, allocations: 327.5 kB / 0.571 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.1819, allocations: 143.5 kB / 0.5711 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.1822, allocations: 224.6 kB / 0.5713 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.1835, allocations: 0.806 MB / 0.5721 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1835, allocations: 3.984 kB / 0.5721 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1835, allocations: 0 / 0.5721 GB, free: 12.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.407e-05/0.1835, allocations: 0 / 0.5721 GB, free: 12.55 MB / 446.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.001584/0.1851, allocations: 0.7286 MB / 0.5728 GB, free: 11.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1852, allocations: 8.031 kB / 0.5728 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003267/0.1884, allocations: 0.6946 MB / 0.5735 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009285/0.1894, allocations: 451.8 kB / 0.574 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.1894, allocations: 25.02 kB / 0.574 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.1896, allocations: 36.12 kB / 0.574 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.1916, allocations: 0.8512 MB / 0.5748 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.1916, allocations: 7.938 kB / 0.5748 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.1917, allocations: 8 kB / 0.5749 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001901/0.1919, allocations: 56.59 kB / 0.5749 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.1942, allocations: 0.9507 MB / 0.5758 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004594/0.1988, allocations: 2.886 MB / 0.5787 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.2008, allocations: 0.5761 MB / 0.5792 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008685/0.2017, allocations: 312.6 kB / 0.5795 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.2018, allocations: 89.11 kB / 0.5796 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.2018, allocations: 30.56 kB / 0.5796 GB, free: 4.484 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.495e-06/0.2019, allocations: 4 kB / 0.5796 GB, free: 4.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.01465/0.2165, allocations: 3.644 MB / 0.5832 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.2166, allocations: 51.41 kB / 0.5832 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006388/0.2173, allocations: 400.5 kB / 0.5836 GB, free: 328 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.2173, allocations: 33.7 kB / 0.5837 GB, free: 288 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.2175, allocations: 223.9 kB / 0.5839 GB, free: 60 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.3039/0.5215, allocations: 110 kB / 0.584 GB, free: 31.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.5216, allocations: 35.73 kB / 0.584 GB, free: 31.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.5217, allocations: 348.8 kB / 0.5843 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.523, allocations: 401.9 kB / 0.5847 GB, free: 30.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.5243, allocations: 484.9 kB / 0.5852 GB, free: 30.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/0.5267, allocations: 0.8686 MB / 0.586 GB, free: 30.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5267, allocations: 0.875 kB / 0.586 GB, free: 30.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.006749/0.5334, allocations: 1.703 MB / 0.5877 GB, free: 30.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.953e-05/0.5336, allocations: 150.1 kB / 0.5878 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5336, allocations: 2.438 kB / 0.5878 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004807/0.5384, allocations: 0.9262 MB / 0.5888 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000937/0.5393, allocations: 144.4 kB / 0.5889 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009234/0.5486, allocations: 6.217 MB / 0.595 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009813/0.5496, allocations: 117.1 kB / 0.5951 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.5497, allocations: 19.06 kB / 0.5951 GB, free: 25.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.5497, allocations: 6.641 kB / 0.5951 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005524/0.5552, allocations: 1.635 MB / 0.5967 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.5552, allocations: 3.156 kB / 0.5967 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003375/0.5586, allocations: 0.6803 MB / 0.5974 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007461/0.5594, allocations: 142.4 kB / 0.5975 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005357/0.5647, allocations: 5.334 MB / 0.6027 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009154/0.5657, allocations: 115 kB / 0.6028 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.5657, allocations: 18.61 kB / 0.6028 GB, free: 20.9 MB / 446.1 MB 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.0004666/0.5662, allocations: 326.1 kB / 0.6031 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.821e-05/0.5663, allocations: 34.03 kB / 0.6032 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00559/0.5719, allocations: 1.6 MB / 0.6047 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5719, allocations: 3.469 kB / 0.6047 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.572, allocations: 3.219 kB / 0.6047 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.572, allocations: 1.969 kB / 0.6047 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005706/0.5777, allocations: 2.257 MB / 0.6069 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.5777, allocations: 0 / 0.6069 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.5781, allocations: 92.73 kB / 0.607 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003851/0.582, allocations: 0.8652 MB / 0.6079 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.582, allocations: 6.969 kB / 0.6079 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006726/0.5888, allocations: 6.066 MB / 0.6138 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5888, allocations: 5.062 kB / 0.6138 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/0.5938, allocations: 1.574 MB / 0.6154 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.594, allocations: 186 kB / 0.6155 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.5941, allocations: 5.969 kB / 0.6155 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/0.5947, allocations: 93.7 kB / 0.6156 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.5949, allocations: 37.05 kB / 0.6157 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.5949, allocations: 12.41 kB / 0.6157 GB, free: 12.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003689/0.5953, allocations: 306.4 kB / 0.616 GB, free: 12.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5953, allocations: 0 / 0.616 GB, free: 12.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00101/0.5963, allocations: 239 kB / 0.6162 GB, free: 12.13 MB / 446.1 MB 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.0001604/0.5965, allocations: 115.2 kB / 0.6163 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004814/0.6013, allocations: 2.222 MB / 0.6185 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6014, allocations: 0 / 0.6185 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.6028, allocations: 0.8136 MB / 0.6193 GB, free: 9.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008519/0.6037, allocations: 118.7 kB / 0.6194 GB, free: 9.855 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.6058, allocations: 1.324 MB / 0.6207 GB, free: 8.977 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.6062, allocations: 0.9266 MB / 0.6216 GB, free: 8.156 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006204/0.6068, allocations: 169.7 kB / 0.6217 GB, free: 8.078 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.607, allocations: 40.44 kB / 0.6218 GB, free: 8.059 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.607, allocations: 1.188 kB / 0.6218 GB, free: 8.059 MB / 446.1 MB Notification: Performance of Templates: time 0.01987/0.6269, allocations: 13.98 MB / 0.6354 GB, free: 12.67 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)