Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007739/0.0007739, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.00089/0.00089, allocations: 172.7 kB / 15.95 MB, free: 208 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.334/1.334, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 270.9 kB / 291.4 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9453/0.9453, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004244, allocations: 12.41 kB / 0.598 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.167, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003437/0.1705, allocations: 2.905 MB / 0.6873 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.1733, allocations: 2.009 MB / 0.6893 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.1734, allocations: 4 kB / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.1736, allocations: 40.14 kB / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004769/0.1741, allocations: 178 kB / 0.6895 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005508/0.1747, allocations: 214.4 kB / 0.6897 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.1751, allocations: 438.6 kB / 0.6901 GB, free: 9.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000502/0.1756, allocations: 335.7 kB / 0.6904 GB, free: 9.305 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.1758, allocations: 119.5 kB / 0.6906 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.1761, allocations: 164.1 kB / 0.6907 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.1761, allocations: 12.81 kB / 0.6907 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.1766, allocations: 275.6 kB / 0.691 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-05/0.1767, allocations: 89.33 kB / 0.6911 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.1767, allocations: 73.58 kB / 0.6911 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.1772, allocations: 371.1 kB / 0.6915 GB, free: 8.219 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1772, allocations: 0 / 0.6915 GB, free: 8.219 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1772, allocations: 4 kB / 0.6915 GB, free: 8.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1772, allocations: 3.938 kB / 0.6915 GB, free: 8.211 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008433/0.178, allocations: 0.565 MB / 0.6921 GB, free: 7.598 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.1781, allocations: 8.031 kB / 0.6921 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007745/0.1789, allocations: 127.5 kB / 0.6922 GB, free: 7.465 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.1792, allocations: 262.5 kB / 0.6924 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1792, allocations: 12.44 kB / 0.6924 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.1792, allocations: 27.98 kB / 0.6925 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.1799, allocations: 411.5 kB / 0.6929 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1799, allocations: 7.938 kB / 0.6929 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.1799, allocations: 8 kB / 0.6929 GB, free: 6.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.472e-05/0.18, allocations: 36.53 kB / 0.6929 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005978/0.1806, allocations: 354 kB / 0.6933 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.1828, allocations: 2.077 MB / 0.6953 GB, free: 4.031 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007306/0.1836, allocations: 349.6 kB / 0.6956 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.184, allocations: 202.7 kB / 0.6958 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.1841, allocations: 89.28 kB / 0.6959 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.1841, allocations: 42.75 kB / 0.6959 GB, free: 3.312 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.1841, allocations: 0 / 0.6959 GB, free: 3.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.004598/0.1887, allocations: 1.745 MB / 0.6976 GB, free: 1.535 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1888, allocations: 85.05 kB / 0.6977 GB, free: 1.434 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.189, allocations: 240.8 kB / 0.698 GB, free: 1.191 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.1891, allocations: 33.7 kB / 0.698 GB, free: 1.152 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.945e-05/0.1892, allocations: 184 kB / 0.6982 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/0.1892, allocations: 114.3 kB / 0.6983 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.1893, allocations: 4 kB / 0.6983 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1894, allocations: 342.8 kB / 0.6986 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.1898, allocations: 200.7 kB / 0.6988 GB, free: 312 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.1902, allocations: 309.1 kB / 0.6991 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.1906, allocations: 245.6 kB / 0.6993 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1906, allocations: 0 / 0.6993 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001183/0.1918, allocations: 0.6758 MB / 0.7 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.1919, allocations: 186.1 kB / 0.7002 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1919, allocations: 4 kB / 0.7002 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/0.1924, allocations: 139.3 kB / 0.7003 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.1928, allocations: 107.8 kB / 0.7004 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.1955, allocations: 3.942 MB / 0.7042 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.1958, allocations: 44.12 kB / 0.7043 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.1958, allocations: 23.98 kB / 0.7043 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.663e-06/0.1958, allocations: 4 kB / 0.7043 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001132/0.197, allocations: 0.616 MB / 0.7049 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.197, allocations: 4 kB / 0.7049 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/0.1973, allocations: 151.2 kB / 0.7051 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.1977, allocations: 99.97 kB / 0.7052 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005664/0.1983, allocations: 1.101 MB / 0.7062 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.1986, allocations: 48.05 kB / 0.7063 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.1986, allocations: 12 kB / 0.7063 GB, free: 8.113 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000219/0.1989, allocations: 257.6 kB / 0.7065 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.1989, allocations: 23.72 kB / 0.7066 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.2001, allocations: 0.6327 MB / 0.7072 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.2002, allocations: 4 kB / 0.7072 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2002, allocations: 4 kB / 0.7072 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2002, allocations: 3.984 kB / 0.7072 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.2022, allocations: 1.347 MB / 0.7085 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2023, allocations: 0 / 0.7085 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.2025, allocations: 71.89 kB / 0.7086 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.2029, allocations: 151.6 kB / 0.7087 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.203, allocations: 8 kB / 0.7087 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00252/0.2055, allocations: 3.965 MB / 0.7126 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.2055, allocations: 4.031 kB / 0.7126 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.2066, allocations: 0.7936 MB / 0.7134 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.2068, allocations: 148.6 kB / 0.7135 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.2068, allocations: 8 kB / 0.7135 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.2071, allocations: 31.97 kB / 0.7136 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.2072, allocations: 35.95 kB / 0.7136 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.2072, allocations: 15.94 kB / 0.7136 GB, free: 84 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001665/0.2074, allocations: 172.4 kB / 0.7138 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2074, allocations: 0 / 0.7138 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007122/0.2081, allocations: 160 kB / 0.7139 GB, free: 15.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002192/0.2084, allocations: 139.2 kB / 0.7141 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.2103, allocations: 1.201 MB / 0.7152 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2103, allocations: 0 / 0.7152 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006789/0.211, allocations: 493.6 kB / 0.7157 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.2115, allocations: 59.48 kB / 0.7158 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.2127, allocations: 0.8615 MB / 0.7166 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.213, allocations: 0.8083 MB / 0.7174 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003292/0.2134, allocations: 114.9 kB / 0.7175 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.762e-05/0.2135, allocations: 27.44 kB / 0.7175 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of SimCode: time 4.2e-07/0.2135, allocations: 0 / 0.7175 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.009455/0.2229, allocations: 5.524 MB / 0.7229 GB, free: 6.418 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)