Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 88.41 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.008273/0.008273, allocations: 172 kB / 16.26 MB, free: 6.676 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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 270.2 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9401/0.9401, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003984, allocations: 20.94 kB / 0.5987 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.003559/0.1481, allocations: 3.061 MB / 0.6881 GB, free: 12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.151, allocations: 2.149 MB / 0.6902 GB, free: 9.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1512, allocations: 8.688 kB / 0.6902 GB, free: 9.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.1513, allocations: 35.7 kB / 0.6903 GB, free: 9.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.1518, allocations: 224.9 kB / 0.6905 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.1524, allocations: 264.5 kB / 0.6907 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.1529, allocations: 0.5286 MB / 0.6912 GB, free: 8.801 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004711/0.1534, allocations: 329.4 kB / 0.6916 GB, free: 8.453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.1535, allocations: 127.5 kB / 0.6917 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.1538, allocations: 171.3 kB / 0.6918 GB, free: 8.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.1539, allocations: 12 kB / 0.6919 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006261/0.1545, allocations: 0.5029 MB / 0.6923 GB, free: 7.645 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.97e-05/0.1546, allocations: 83.77 kB / 0.6924 GB, free: 7.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.1547, allocations: 157 kB / 0.6926 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.1553, allocations: 0.5218 MB / 0.6931 GB, free: 6.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1553, allocations: 3.938 kB / 0.6931 GB, free: 6.875 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1553, allocations: 0 / 0.6931 GB, free: 6.875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.1553, allocations: 0 / 0.6931 GB, free: 6.875 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.0008356/0.1562, allocations: 0.5652 MB / 0.6936 GB, free: 6.262 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1562, allocations: 12.03 kB / 0.6937 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000834/0.1571, allocations: 120.5 kB / 0.6938 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.1574, allocations: 283.7 kB / 0.694 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1574, allocations: 12.81 kB / 0.6941 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.1575, allocations: 28.3 kB / 0.6941 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.1581, allocations: 419.9 kB / 0.6945 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1581, allocations: 3.938 kB / 0.6945 GB, free: 5.332 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.1582, allocations: 7.984 kB / 0.6945 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.447e-05/0.1582, allocations: 36.53 kB / 0.6945 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/0.1588, allocations: 354 kB / 0.6949 GB, free: 4.941 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.1611, allocations: 2.065 MB / 0.6969 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007698/0.1619, allocations: 361 kB / 0.6972 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000387/0.1623, allocations: 194.4 kB / 0.6974 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.1624, allocations: 93.09 kB / 0.6975 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.1624, allocations: 30.56 kB / 0.6975 GB, free: 1.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.1624, allocations: 0 / 0.6975 GB, free: 1.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.005119/0.1676, allocations: 1.751 MB / 0.6992 GB, free: 192 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.1676, allocations: 85.05 kB / 0.6993 GB, free: 88 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.1679, allocations: 240.8 kB / 0.6995 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.1679, allocations: 37.7 kB / 0.6996 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.168, allocations: 176 kB / 0.6998 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/0.1681, allocations: 118.3 kB / 0.6999 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/0.1682, allocations: 41.7 kB / 0.6999 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1683, allocations: 330.8 kB / 0.7002 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.1687, allocations: 204.7 kB / 0.7004 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.1692, allocations: 313.1 kB / 0.7007 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008498/0.17, allocations: 0.5325 MB / 0.7012 GB, free: 14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1701, allocations: 0 / 0.7012 GB, free: 14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00128/0.1713, allocations: 0.6874 MB / 0.7019 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.1715, allocations: 172.3 kB / 0.7021 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1715, allocations: 4 kB / 0.7021 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005166/0.172, allocations: 155.3 kB / 0.7022 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.1724, allocations: 95.88 kB / 0.7023 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/0.1753, allocations: 3.95 MB / 0.7062 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/0.1757, allocations: 47.89 kB / 0.7062 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.1758, allocations: 16 kB / 0.7062 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.1758, allocations: 4 kB / 0.7062 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001226/0.177, allocations: 0.624 MB / 0.7068 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.177, allocations: 4 kB / 0.7068 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003729/0.1774, allocations: 147.5 kB / 0.707 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.1778, allocations: 95.88 kB / 0.7071 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000604/0.1784, allocations: 1.113 MB / 0.7082 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.1787, allocations: 39.95 kB / 0.7082 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.1787, allocations: 19.94 kB / 0.7082 GB, free: 6.371 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.00024/0.179, allocations: 254.4 kB / 0.7085 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.889e-05/0.1791, allocations: 23.72 kB / 0.7085 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.1803, allocations: 0.636 MB / 0.7091 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1804, allocations: 4 kB / 0.7091 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1804, allocations: 0 / 0.7091 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1804, allocations: 4 kB / 0.7091 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.1825, allocations: 1.339 MB / 0.7104 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1825, allocations: 4 kB / 0.7104 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.1828, allocations: 68.14 kB / 0.7105 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/0.1833, allocations: 171.2 kB / 0.7107 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.1833, allocations: 8 kB / 0.7107 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/0.1859, allocations: 3.957 MB / 0.7145 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1859, allocations: 4.031 kB / 0.7145 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.1871, allocations: 0.7893 MB / 0.7153 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.1873, allocations: 148.7 kB / 0.7154 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.1873, allocations: 12 kB / 0.7155 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.1876, allocations: 39.91 kB / 0.7155 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.344e-05/0.1877, allocations: 31.89 kB / 0.7155 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.1878, allocations: 20 kB / 0.7155 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001763/0.1879, allocations: 168.5 kB / 0.7157 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1879, allocations: 0 / 0.7157 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000766/0.1887, allocations: 168 kB / 0.7159 GB, free: 14 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.0002284/0.189, allocations: 139.1 kB / 0.716 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002115/0.1911, allocations: 1.19 MB / 0.7172 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1911, allocations: 0 / 0.7172 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007368/0.1918, allocations: 497.9 kB / 0.7176 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.1925, allocations: 70.38 kB / 0.7177 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1937, allocations: 0.8912 MB / 0.7186 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.1941, allocations: 0.8084 MB / 0.7194 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000331/0.1945, allocations: 110.9 kB / 0.7195 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.1946, allocations: 23.44 kB / 0.7195 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1946, allocations: 0 / 0.7195 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.0107/0.2053, allocations: 5.658 MB / 0.725 GB, free: 4.527 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)