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.0007711/0.000771, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008149/0.0008149, allocations: 168.7 kB / 15.95 MB, free: 204 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.361/1.361, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 258.9 kB / 291.3 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9335/0.9335, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.0004209, allocations: 20.62 kB / 0.598 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1658, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.00301/0.1688, allocations: 2.349 MB / 0.6868 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1714, allocations: 1.869 MB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1715, allocations: 0.6562 kB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.1717, allocations: 35.7 kB / 0.6886 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003926/0.1721, allocations: 137.5 kB / 0.6888 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.1726, allocations: 212.8 kB / 0.689 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.1729, allocations: 363.5 kB / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005548/0.1735, allocations: 357.4 kB / 0.6897 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.1737, allocations: 103.7 kB / 0.6898 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.1739, allocations: 152.4 kB / 0.6899 GB, free: 9.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.174, allocations: 8 kB / 0.6899 GB, free: 9.867 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.1744, allocations: 255.7 kB / 0.6902 GB, free: 9.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.07e-05/0.1745, allocations: 84.48 kB / 0.6902 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.294e-05/0.1745, allocations: 66.45 kB / 0.6903 GB, free: 9.465 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.1749, allocations: 335.2 kB / 0.6906 GB, free: 9.137 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1749, allocations: 0 / 0.6906 GB, free: 9.137 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1749, allocations: 0.625 kB / 0.6906 GB, free: 9.137 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1749, allocations: 0 / 0.6906 GB, free: 9.137 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007405/0.1757, allocations: 0.5255 MB / 0.6911 GB, free: 8.566 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.1757, allocations: 11.97 kB / 0.6911 GB, free: 8.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006896/0.1764, allocations: 107.5 kB / 0.6912 GB, free: 8.449 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1767, allocations: 248 kB / 0.6915 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1767, allocations: 12.44 kB / 0.6915 GB, free: 8.156 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.1768, allocations: 16 kB / 0.6915 GB, free: 8.141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/0.1774, allocations: 397.9 kB / 0.6919 GB, free: 7.723 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1774, allocations: 0 / 0.6919 GB, free: 7.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.1774, allocations: 8 kB / 0.6919 GB, free: 7.715 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.1775, allocations: 23.98 kB / 0.6919 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006146/0.1781, allocations: 371.6 kB / 0.6923 GB, free: 7.328 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.1799, allocations: 1.745 MB / 0.694 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/0.1805, allocations: 352.9 kB / 0.6943 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.1808, allocations: 185.6 kB / 0.6945 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.1809, allocations: 97.03 kB / 0.6946 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.181, allocations: 42.56 kB / 0.6946 GB, free: 4.723 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.442e-06/0.181, allocations: 0 / 0.6946 GB, free: 4.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.006617/0.1876, allocations: 2.068 MB / 0.6966 GB, free: 2.648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1877, allocations: 89.11 kB / 0.6967 GB, free: 2.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1878, allocations: 167.8 kB / 0.6969 GB, free: 2.367 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.1879, allocations: 33.7 kB / 0.6969 GB, free: 2.328 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.188, allocations: 152.3 kB / 0.6971 GB, free: 2.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/0.1881, allocations: 122.3 kB / 0.6972 GB, free: 2.055 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.1881, allocations: 8 kB / 0.6972 GB, free: 2.047 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1882, allocations: 334.8 kB / 0.6975 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/0.1887, allocations: 255.8 kB / 0.6978 GB, free: 1.461 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.1892, allocations: 349.4 kB / 0.6981 GB, free: 1.086 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.1897, allocations: 293.2 kB / 0.6984 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1897, allocations: 4 kB / 0.6984 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001122/0.1908, allocations: 0.659 MB / 0.699 GB, free: 136 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.74e-05/0.1909, allocations: 156.8 kB / 0.6992 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.1909, allocations: 4 kB / 0.6992 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.191, allocations: 4 kB / 0.6992 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008311/0.1918, allocations: 155.8 kB / 0.6993 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.1918, allocations: 4 kB / 0.6993 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.1922, allocations: 59.88 kB / 0.6994 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.1922, allocations: 16 kB / 0.6994 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.645e-06/0.1923, allocations: 6.031 kB / 0.6994 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/0.1933, allocations: 0.5893 MB / 0.7 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1933, allocations: 4 kB / 0.7 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.1933, allocations: 4 kB / 0.7 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/0.1941, allocations: 147.8 kB / 0.7001 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1941, allocations: 4 kB / 0.7001 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.1945, allocations: 56.11 kB / 0.7002 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.1945, allocations: 16 kB / 0.7002 GB, free: 14.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.1947, allocations: 243 kB / 0.7004 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.1948, allocations: 23.77 kB / 0.7004 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.1961, allocations: 0.6847 MB / 0.7011 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1961, allocations: 4 kB / 0.7011 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1961, allocations: 0 / 0.7011 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1961, allocations: 0 / 0.7011 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.1981, allocations: 1.395 MB / 0.7025 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1981, allocations: 0 / 0.7025 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.1987, allocations: 128.1 kB / 0.7026 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1987, allocations: 8 kB / 0.7026 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.1987, allocations: 8 kB / 0.7026 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1988, allocations: 4 kB / 0.7026 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.1988, allocations: 4 kB / 0.7026 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009392/0.1997, allocations: 0.7309 MB / 0.7033 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.1999, allocations: 144.8 kB / 0.7035 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.1999, allocations: 8 kB / 0.7035 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.2002, allocations: 51.88 kB / 0.7035 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.2003, allocations: 31.86 kB / 0.7036 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.2003, allocations: 12 kB / 0.7036 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001212/0.2005, allocations: 144.9 kB / 0.7037 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2005, allocations: 0 / 0.7037 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006277/0.2011, allocations: 144 kB / 0.7039 GB, free: 10.96 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.2013, allocations: 143.2 kB / 0.704 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.2028, allocations: 0.8719 MB / 0.7048 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2029, allocations: 4.188 kB / 0.7048 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.2033, allocations: 260.2 kB / 0.7051 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.2038, allocations: 53.86 kB / 0.7051 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.205, allocations: 0.8288 MB / 0.706 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.2053, allocations: 0.7915 MB / 0.7067 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005196/0.2058, allocations: 170.8 kB / 0.7069 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.206, allocations: 31.42 kB / 0.7069 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.206, allocations: 0 / 0.7069 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of Templates: time 0.007594/0.2136, allocations: 4.379 MB / 0.7112 GB, free: 3.395 MB / 0.4981 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)