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.001351/0.001351, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001242/0.001242, allocations: 193.3 kB / 16.14 MB, free: 6.715 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002584/0.002584, allocations: 294.9 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 101.6 kB / 0.6057 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1632, allocations: 89.15 MB / 0.6928 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004389/0.1677, allocations: 2.792 MB / 0.6955 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.1709, allocations: 2.105 MB / 0.6976 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.354e-05/0.171, allocations: 4 kB / 0.6976 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.1717, allocations: 219.2 kB / 0.6978 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.1721, allocations: 195.3 kB / 0.698 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.1726, allocations: 239.5 kB / 0.6982 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.173, allocations: 454.8 kB / 0.6986 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.1734, allocations: 150.2 kB / 0.6988 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.1736, allocations: 115.6 kB / 0.6989 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.1738, allocations: 159.5 kB / 0.6991 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.1739, allocations: 12 kB / 0.6991 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000685/0.1746, allocations: 487.1 kB / 0.6995 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1747, allocations: 83.78 kB / 0.6996 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1748, allocations: 111.4 kB / 0.6997 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.1754, allocations: 498.6 kB / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1755, allocations: 0 / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.685e-06/0.1755, allocations: 0 / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.1755, allocations: 7.938 kB / 0.7002 GB, free: 13.22 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.0009227/0.1764, allocations: 0.5576 MB / 0.7007 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1764, allocations: 12.03 kB / 0.7008 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.1775, allocations: 124.5 kB / 0.7009 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.1778, allocations: 252.5 kB / 0.7011 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1778, allocations: 24.73 kB / 0.7011 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.1779, allocations: 24.12 kB / 0.7012 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.1786, allocations: 389.9 kB / 0.7015 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1787, allocations: 4 kB / 0.7015 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.1787, allocations: 8 kB / 0.7015 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/0.1787, allocations: 19.98 kB / 0.7016 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008032/0.1796, allocations: 379.6 kB / 0.7019 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.1818, allocations: 1.745 MB / 0.7036 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007904/0.1826, allocations: 348.9 kB / 0.704 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.183, allocations: 205.9 kB / 0.7042 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.1831, allocations: 89.09 kB / 0.7042 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.1832, allocations: 42.36 kB / 0.7043 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.1832, allocations: 0 / 0.7043 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.00922/0.1924, allocations: 2.047 MB / 0.7063 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.1925, allocations: 81.11 kB / 0.7064 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.1927, allocations: 184 kB / 0.7065 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.1927, allocations: 29.7 kB / 0.7066 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.1928, allocations: 160.2 kB / 0.7067 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.193, allocations: 118.3 kB / 0.7068 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.1932, allocations: 81.59 kB / 0.7069 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1933, allocations: 330.8 kB / 0.7072 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006219/0.194, allocations: 264.7 kB / 0.7075 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/0.1946, allocations: 349.4 kB / 0.7078 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.1959, allocations: 0.619 MB / 0.7084 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1959, allocations: 7.938 kB / 0.7084 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001484/0.1974, allocations: 0.6545 MB / 0.7091 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.1975, allocations: 16.02 kB / 0.7091 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1975, allocations: 0 / 0.7091 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1975, allocations: 4 kB / 0.7091 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.1985, allocations: 155.7 kB / 0.7092 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.1985, allocations: 4 kB / 0.7092 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.199, allocations: 51.92 kB / 0.7093 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.1991, allocations: 23.98 kB / 0.7093 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007057/0.1998, allocations: 367.9 kB / 0.7097 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006559/0.2005, allocations: 341.8 kB / 0.71 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001264/0.2017, allocations: 0.5862 MB / 0.7106 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.2017, allocations: 0 / 0.7106 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001434/0.2032, allocations: 0.6454 MB / 0.7112 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.2032, allocations: 5.406 kB / 0.7112 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2032, allocations: 7.984 kB / 0.7112 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/0.2032, allocations: 4.281 kB / 0.7112 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009277/0.2042, allocations: 147.8 kB / 0.7113 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2042, allocations: 7.984 kB / 0.7113 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.2046, allocations: 51.92 kB / 0.7114 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.2047, allocations: 16 kB / 0.7114 GB, free: 1.215 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.000177/0.2049, allocations: 212.7 kB / 0.7116 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-05/0.205, allocations: 15.81 kB / 0.7116 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.2065, allocations: 0.6841 MB / 0.7123 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2065, allocations: 4 kB / 0.7123 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.2066, allocations: 4 kB / 0.7123 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2066, allocations: 4 kB / 0.7123 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.2089, allocations: 1.371 MB / 0.7136 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.2089, allocations: 4 kB / 0.7137 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006242/0.2096, allocations: 123.8 kB / 0.7138 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.2096, allocations: 4.25 kB / 0.7138 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.2096, allocations: 12 kB / 0.7138 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.2096, allocations: 7.938 kB / 0.7138 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2096, allocations: 4 kB / 0.7138 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.2107, allocations: 0.7111 MB / 0.7145 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.2109, allocations: 140.8 kB / 0.7146 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.211, allocations: 8 kB / 0.7146 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.2114, allocations: 47.88 kB / 0.7147 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.2115, allocations: 31.91 kB / 0.7147 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.2115, allocations: 8 kB / 0.7147 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001853/0.2117, allocations: 151.8 kB / 0.7149 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.934e-06/0.2117, allocations: 4 kB / 0.7149 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006446/0.2123, allocations: 151.9 kB / 0.715 GB, free: 13.36 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.0001982/0.2125, allocations: 127.2 kB / 0.7151 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001869/0.2144, allocations: 0.8678 MB / 0.716 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2144, allocations: 0 / 0.716 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.2149, allocations: 261.4 kB / 0.7162 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.2155, allocations: 43.91 kB / 0.7163 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.2168, allocations: 0.807 MB / 0.7171 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.2172, allocations: 0.7877 MB / 0.7178 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006395/0.2178, allocations: 178.7 kB / 0.718 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.218, allocations: 31.44 kB / 0.718 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.218, allocations: 0 / 0.718 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.009553/0.2276, allocations: 4.944 MB / 0.7229 GB, free: 5.27 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)