Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002015/0.002015, allocations: 191.7 kB / 16.25 MB, free: 6.637 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.485/1.485, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002542/0.002542, allocations: 282.7 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 178.6 MB / 0.5069 GB, free: 4.711 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 96.09 kB / 0.6059 GB, free: 24.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1499, allocations: 89.16 MB / 0.693 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004281/0.1542, allocations: 2.784 MB / 0.6957 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003136/0.1574, allocations: 2.068 MB / 0.6977 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.346e-05/0.1575, allocations: 4 kB / 0.6977 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007374/0.1582, allocations: 215.3 kB / 0.6979 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004442/0.1587, allocations: 203.3 kB / 0.6981 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.1593, allocations: 247.5 kB / 0.6984 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.1597, allocations: 319 kB / 0.6987 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.16, allocations: 170.2 kB / 0.6988 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.1602, allocations: 127.6 kB / 0.699 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.1605, allocations: 163.5 kB / 0.6991 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.1605, allocations: 20 kB / 0.6991 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005905/0.1611, allocations: 419.2 kB / 0.6995 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1612, allocations: 91.78 kB / 0.6996 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.1614, allocations: 119.4 kB / 0.6997 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006196/0.162, allocations: 0.4908 MB / 0.7002 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.162, allocations: 0 / 0.7002 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.162, allocations: 0 / 0.7002 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.162, allocations: 4 kB / 0.7002 GB, free: 13.24 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009286/0.163, allocations: 0.5653 MB / 0.7008 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.163, allocations: 8.031 kB / 0.7008 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009689/0.164, allocations: 124.5 kB / 0.7009 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1643, allocations: 255.3 kB / 0.7011 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.1643, allocations: 16.8 kB / 0.7012 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.1644, allocations: 24.12 kB / 0.7012 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007348/0.1651, allocations: 393.9 kB / 0.7016 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1651, allocations: 4 kB / 0.7016 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.1652, allocations: 4 kB / 0.7016 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/0.1652, allocations: 27.98 kB / 0.7016 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007941/0.166, allocations: 375.6 kB / 0.7019 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.1683, allocations: 1.741 MB / 0.7036 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007971/0.1691, allocations: 356.9 kB / 0.704 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.1694, allocations: 197.9 kB / 0.7042 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.1696, allocations: 93.09 kB / 0.7043 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1697, allocations: 50.36 kB / 0.7043 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.482e-06/0.1697, allocations: 0 / 0.7043 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.009201/0.1789, allocations: 2.043 MB / 0.7063 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.179, allocations: 81.11 kB / 0.7064 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.1791, allocations: 184 kB / 0.7066 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/0.1792, allocations: 33.7 kB / 0.7066 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1793, allocations: 156.2 kB / 0.7067 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.1795, allocations: 118.3 kB / 0.7069 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.1796, allocations: 77.59 kB / 0.7069 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1798, allocations: 342.8 kB / 0.7073 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005955/0.1804, allocations: 260.7 kB / 0.7075 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.1811, allocations: 349.4 kB / 0.7078 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.1823, allocations: 0.619 MB / 0.7084 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1824, allocations: 3.938 kB / 0.7084 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001425/0.1838, allocations: 0.6582 MB / 0.7091 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1838, allocations: 4 kB / 0.7091 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.1838, allocations: 7.984 kB / 0.7091 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1838, allocations: 8.281 kB / 0.7091 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.1849, allocations: 151.8 kB / 0.7093 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1849, allocations: 7.938 kB / 0.7093 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.1853, allocations: 51.92 kB / 0.7093 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.1854, allocations: 19.98 kB / 0.7093 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006958/0.1861, allocations: 367.9 kB / 0.7097 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006178/0.1867, allocations: 337.9 kB / 0.71 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001202/0.1879, allocations: 0.5901 MB / 0.7106 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.188, allocations: 0 / 0.7106 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001391/0.1893, allocations: 0.6416 MB / 0.7112 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.1894, allocations: 8 kB / 0.7112 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-06/0.1894, allocations: 0 / 0.7112 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.1894, allocations: 7.984 kB / 0.7112 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009526/0.1903, allocations: 155.9 kB / 0.7114 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1904, allocations: 7.984 kB / 0.7114 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.1908, allocations: 47.94 kB / 0.7114 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.1909, allocations: 19.98 kB / 0.7114 GB, free: 1.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.1911, allocations: 204.7 kB / 0.7116 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.1912, allocations: 19.81 kB / 0.7117 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.1927, allocations: 0.684 MB / 0.7123 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.1928, allocations: 4 kB / 0.7123 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1928, allocations: 4 kB / 0.7123 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1928, allocations: 0 / 0.7123 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.1951, allocations: 1.375 MB / 0.7137 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1951, allocations: 4 kB / 0.7137 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000621/0.1958, allocations: 123.8 kB / 0.7138 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.1958, allocations: 4 kB / 0.7138 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.1958, allocations: 8 kB / 0.7138 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.1958, allocations: 7.938 kB / 0.7138 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1958, allocations: 256 / 0.7138 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.1969, allocations: 0.715 MB / 0.7145 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.1971, allocations: 144.8 kB / 0.7147 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.1972, allocations: 8 kB / 0.7147 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.1976, allocations: 47.88 kB / 0.7147 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.1977, allocations: 31.91 kB / 0.7147 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.1977, allocations: 12 kB / 0.7147 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000192/0.1979, allocations: 152.4 kB / 0.7149 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1979, allocations: 0 / 0.7149 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006464/0.1986, allocations: 144 kB / 0.715 GB, free: 13.39 MB / 0.5137 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002054/0.1988, allocations: 135.2 kB / 0.7152 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001921/0.2007, allocations: 0.9219 MB / 0.7161 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2007, allocations: 0 / 0.7161 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.2012, allocations: 253.1 kB / 0.7163 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.2017, allocations: 53.11 kB / 0.7164 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.203, allocations: 0.8106 MB / 0.7171 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.2035, allocations: 0.7838 MB / 0.7179 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006167/0.2041, allocations: 178.7 kB / 0.7181 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.2043, allocations: 39.36 kB / 0.7181 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.2043, allocations: 0 / 0.7181 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.009655/0.2139, allocations: 5.125 MB / 0.7231 GB, free: 5.047 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)