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.0009957/0.0009957, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.008364/0.008364, allocations: 172 kB / 16.26 MB, free: 6.613 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.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001747, allocations: 278.2 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9193/0.9193, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004201/0.0004201, allocations: 17.81 kB / 0.5987 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1443, allocations: 88.54 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003359/0.1477, allocations: 3.018 MB / 0.6881 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.1506, allocations: 2.147 MB / 0.6902 GB, free: 9.871 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1507, allocations: 7.938 kB / 0.6902 GB, free: 9.863 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.1509, allocations: 39.7 kB / 0.6902 GB, free: 9.824 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004624/0.1513, allocations: 223.5 kB / 0.6904 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.1519, allocations: 256.6 kB / 0.6907 GB, free: 9.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004673/0.1524, allocations: 0.5298 MB / 0.6912 GB, free: 8.828 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004765/0.1529, allocations: 334.2 kB / 0.6915 GB, free: 8.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1531, allocations: 123.5 kB / 0.6916 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.1533, allocations: 175.3 kB / 0.6918 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.1534, allocations: 12 kB / 0.6918 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006239/0.154, allocations: 0.4996 MB / 0.6923 GB, free: 7.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.849e-05/0.1541, allocations: 83.78 kB / 0.6924 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1542, allocations: 153.8 kB / 0.6925 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005506/0.1548, allocations: 0.5257 MB / 0.693 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1548, allocations: 4.469 kB / 0.693 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1548, allocations: 0 / 0.693 GB, free: 6.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1548, allocations: 1.219 kB / 0.693 GB, free: 6.906 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.0008168/0.1557, allocations: 0.5699 MB / 0.6936 GB, free: 6.289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1557, allocations: 8.031 kB / 0.6936 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008288/0.1565, allocations: 120.5 kB / 0.6937 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.1568, allocations: 271.8 kB / 0.694 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1569, allocations: 20.78 kB / 0.694 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.1569, allocations: 28.31 kB / 0.694 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006416/0.1576, allocations: 415.9 kB / 0.6944 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1576, allocations: 3.938 kB / 0.6944 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.1576, allocations: 15.98 kB / 0.6944 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/0.1577, allocations: 32.55 kB / 0.6945 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006083/0.1583, allocations: 357.9 kB / 0.6948 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.1605, allocations: 2.062 MB / 0.6968 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/0.1612, allocations: 361 kB / 0.6972 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.1616, allocations: 202.3 kB / 0.6974 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.51e-05/0.1617, allocations: 85.11 kB / 0.6975 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1618, allocations: 42.55 kB / 0.6975 GB, free: 1.996 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.1618, allocations: 0 / 0.6975 GB, free: 1.996 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.005154/0.167, allocations: 1.744 MB / 0.6992 GB, free: 224 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.167, allocations: 85.05 kB / 0.6993 GB, free: 120 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.1672, allocations: 240.8 kB / 0.6995 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.1673, allocations: 37.7 kB / 0.6995 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.599e-05/0.1674, allocations: 176.1 kB / 0.6997 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.45e-05/0.1675, allocations: 122.3 kB / 0.6998 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.1675, allocations: 37.7 kB / 0.6999 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.1676, allocations: 334.8 kB / 0.7002 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.168, allocations: 204.7 kB / 0.7004 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.1685, allocations: 319.2 kB / 0.7007 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008194/0.1693, allocations: 0.5247 MB / 0.7012 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1693, allocations: 0 / 0.7012 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001213/0.1705, allocations: 0.6798 MB / 0.7019 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.855e-05/0.1706, allocations: 180.2 kB / 0.702 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1707, allocations: 4 kB / 0.702 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004673/0.1711, allocations: 151.2 kB / 0.7022 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.1715, allocations: 103.9 kB / 0.7023 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.174, allocations: 3.95 MB / 0.7061 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.1744, allocations: 36 kB / 0.7062 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.1744, allocations: 19.98 kB / 0.7062 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/0.1744, allocations: 4 kB / 0.7062 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001206/0.1756, allocations: 0.6317 MB / 0.7068 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1757, allocations: 0 / 0.7068 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/0.176, allocations: 147.5 kB / 0.7069 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.1764, allocations: 99.88 kB / 0.707 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005416/0.177, allocations: 1.109 MB / 0.7081 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.1773, allocations: 47.89 kB / 0.7082 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.1773, allocations: 16 kB / 0.7082 GB, free: 6.398 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001994/0.1775, allocations: 250.5 kB / 0.7084 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.1776, allocations: 27.72 kB / 0.7085 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.1788, allocations: 0.6282 MB / 0.7091 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1789, allocations: 4 kB / 0.7091 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1789, allocations: 0 / 0.7091 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1789, allocations: 3.984 kB / 0.7091 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.181, allocations: 1.347 MB / 0.7104 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.181, allocations: 0 / 0.7104 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.1813, allocations: 68.14 kB / 0.7105 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/0.1817, allocations: 159.2 kB / 0.7106 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.1818, allocations: 12 kB / 0.7106 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/0.1843, allocations: 3.957 MB / 0.7145 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.1843, allocations: 4.031 kB / 0.7145 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.1854, allocations: 0.7895 MB / 0.7153 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.1856, allocations: 144.7 kB / 0.7154 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.1856, allocations: 15.98 kB / 0.7154 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.186, allocations: 35.91 kB / 0.7154 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.186, allocations: 39.89 kB / 0.7155 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.1861, allocations: 12 kB / 0.7155 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001452/0.1862, allocations: 176.5 kB / 0.7157 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1862, allocations: 0 / 0.7157 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006872/0.1869, allocations: 156 kB / 0.7158 GB, free: 14.05 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001875/0.1871, allocations: 143.1 kB / 0.7159 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.189, allocations: 1.198 MB / 0.7171 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1891, allocations: 0 / 0.7171 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007085/0.1898, allocations: 498 kB / 0.7176 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006065/0.1904, allocations: 64.86 kB / 0.7177 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1915, allocations: 0.9056 MB / 0.7185 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1919, allocations: 0.8084 MB / 0.7193 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003177/0.1922, allocations: 110.9 kB / 0.7194 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.1923, allocations: 23.44 kB / 0.7195 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1923, allocations: 0 / 0.7195 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.009519/0.2018, allocations: 5.65 MB / 0.725 GB, free: 4.539 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)