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.001488/0.001488, allocations: 103 kB / 16.27 MB, free: 6.414 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.001516/0.001516, allocations: 191.2 kB / 17.2 MB, free: 5.953 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.409/1.409, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002708/0.002708, allocations: 290.5 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9762/0.9762, allocations: 169.3 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 95.03 kB / 0.5959 GB, free: 4.078 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1675, allocations: 86.98 MB / 0.6808 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004785/0.1724, allocations: 2.731 MB / 0.6835 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003151/0.1755, allocations: 2.007 MB / 0.6855 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.1757, allocations: 4 kB / 0.6855 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000857/0.1766, allocations: 235 kB / 0.6857 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005347/0.1772, allocations: 199.1 kB / 0.6859 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007444/0.178, allocations: 275.2 kB / 0.6862 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004899/0.1785, allocations: 311.2 kB / 0.6865 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004239/0.1789, allocations: 164.5 kB / 0.6866 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.1792, allocations: 127.5 kB / 0.6867 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.1796, allocations: 155.5 kB / 0.6869 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.1797, allocations: 20 kB / 0.6869 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007336/0.1804, allocations: 383.3 kB / 0.6873 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1806, allocations: 95.77 kB / 0.6874 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.1808, allocations: 111.5 kB / 0.6875 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008297/0.1816, allocations: 470.7 kB / 0.6879 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1816, allocations: 0 / 0.6879 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1816, allocations: 0 / 0.6879 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.1816, allocations: 0 / 0.6879 GB, free: 5.832 MB / 0.5294 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.001193/0.1828, allocations: 0.5536 MB / 0.6885 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1829, allocations: 8.031 kB / 0.6885 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008576/0.1837, allocations: 112.5 kB / 0.6886 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1841, allocations: 260.4 kB / 0.6888 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.1841, allocations: 12.81 kB / 0.6888 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.1842, allocations: 20.12 kB / 0.6888 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006657/0.1849, allocations: 385.9 kB / 0.6892 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1849, allocations: 0 / 0.6892 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.1849, allocations: 8 kB / 0.6892 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.735e-05/0.185, allocations: 27.77 kB / 0.6892 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.1857, allocations: 359.6 kB / 0.6896 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.1879, allocations: 1.726 MB / 0.6913 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006787/0.1886, allocations: 351.3 kB / 0.6916 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.1889, allocations: 185.6 kB / 0.6918 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.1891, allocations: 89.09 kB / 0.6919 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.1891, allocations: 42.56 kB / 0.6919 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.1891, allocations: 0 / 0.6919 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.00757/0.1967, allocations: 1.908 MB / 0.6938 GB, free: 15.51 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.1968, allocations: 81.11 kB / 0.6939 GB, free: 15.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.197, allocations: 179.9 kB / 0.694 GB, free: 15.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.1971, allocations: 41.64 kB / 0.6941 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.1972, allocations: 144.4 kB / 0.6942 GB, free: 15.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.1973, allocations: 122.3 kB / 0.6943 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.1975, allocations: 81.53 kB / 0.6944 GB, free: 14.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1977, allocations: 334.8 kB / 0.6947 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/0.1982, allocations: 256.7 kB / 0.695 GB, free: 14.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.1988, allocations: 333.5 kB / 0.6953 GB, free: 13.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.1999, allocations: 0.5917 MB / 0.6959 GB, free: 13.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1999, allocations: 7.938 kB / 0.6959 GB, free: 13.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001264/0.2012, allocations: 0.6392 MB / 0.6965 GB, free: 12.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2012, allocations: 4 kB / 0.6965 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2012, allocations: 4 kB / 0.6965 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.2012, allocations: 8.281 kB / 0.6965 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009153/0.2021, allocations: 147.8 kB / 0.6966 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.2022, allocations: 4 kB / 0.6966 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.2026, allocations: 47.92 kB / 0.6967 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.2027, allocations: 16 kB / 0.6967 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005652/0.2032, allocations: 360.8 kB / 0.6971 GB, free: 12.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005281/0.2038, allocations: 330.5 kB / 0.6974 GB, free: 11.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000991/0.2048, allocations: 0.5667 MB / 0.6979 GB, free: 11.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.875e-06/0.2048, allocations: 0 / 0.6979 GB, free: 11.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001207/0.206, allocations: 0.6222 MB / 0.6985 GB, free: 10.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.206, allocations: 4 kB / 0.6985 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2061, allocations: 7.984 kB / 0.6985 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.2061, allocations: 4 kB / 0.6985 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/0.2069, allocations: 143.7 kB / 0.6987 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2069, allocations: 4 kB / 0.6987 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.2073, allocations: 48.09 kB / 0.6987 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.2074, allocations: 23.98 kB / 0.6988 GB, free: 10.21 MB / 0.545 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.0001793/0.2076, allocations: 200.1 kB / 0.6989 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-05/0.2077, allocations: 23.72 kB / 0.699 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.2091, allocations: 0.6607 MB / 0.6996 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2091, allocations: 4 kB / 0.6996 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2091, allocations: 0 / 0.6996 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.2091, allocations: 3.984 kB / 0.6996 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.2115, allocations: 1.379 MB / 0.701 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2115, allocations: 0 / 0.701 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.2121, allocations: 123.8 kB / 0.7011 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.2121, allocations: 4 kB / 0.7011 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.2121, allocations: 8 kB / 0.7011 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.2122, allocations: 11.88 kB / 0.7011 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.2122, allocations: 4 kB / 0.7011 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.2133, allocations: 0.7134 MB / 0.7018 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.2134, allocations: 140.8 kB / 0.7019 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.2135, allocations: 8 kB / 0.702 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.2139, allocations: 43.88 kB / 0.702 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/0.214, allocations: 27.97 kB / 0.702 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.214, allocations: 12 kB / 0.702 GB, free: 6.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001418/0.2141, allocations: 143.2 kB / 0.7022 GB, free: 6.539 MB / 0.545 GB Notification: Performance of sort global known variables: time 3e-07/0.2142, allocations: 0 / 0.7022 GB, free: 6.539 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006883/0.2148, allocations: 144 kB / 0.7023 GB, free: 6.398 MB / 0.545 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.0002423/0.2151, allocations: 139.2 kB / 0.7024 GB, free: 6.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.2169, allocations: 0.9023 MB / 0.7033 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2169, allocations: 0 / 0.7033 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.2174, allocations: 257.8 kB / 0.7036 GB, free: 5.098 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.218, allocations: 44.48 kB / 0.7036 GB, free: 5.055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.2193, allocations: 0.7338 MB / 0.7043 GB, free: 4.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.2198, allocations: 0.7876 MB / 0.7051 GB, free: 3.449 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.22, allocations: 35.44 kB / 0.7051 GB, free: 3.418 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.22, allocations: 0 / 0.7051 GB, free: 3.418 MB / 0.545 GB Notification: Performance of Templates: time 0.275/0.495, allocations: 4.766 MB / 0.7098 GB, free: 60.78 MB / 0.545 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)