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.0008874/0.0008876, allocations: 84.38 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.001041/0.001041, 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.38/1.38, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001739/0.001739, allocations: 273.5 kB / 291.4 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004557, allocations: 18.34 kB / 0.598 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1946, allocations: 88.54 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004147/0.1988, allocations: 2.953 MB / 0.6874 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00348/0.2024, allocations: 2.002 MB / 0.6893 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.2026, allocations: 14.59 kB / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.2028, allocations: 35.7 kB / 0.6894 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005971/0.2034, allocations: 167.2 kB / 0.6895 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007567/0.2042, allocations: 216.2 kB / 0.6897 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.2047, allocations: 454.5 kB / 0.6902 GB, free: 9.609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005379/0.2053, allocations: 306.2 kB / 0.6905 GB, free: 9.285 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.2055, allocations: 132.3 kB / 0.6906 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.2059, allocations: 168 kB / 0.6908 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.2059, allocations: 12 kB / 0.6908 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005098/0.2064, allocations: 273.1 kB / 0.691 GB, free: 8.715 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2065, allocations: 87.7 kB / 0.6911 GB, free: 8.629 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.2066, allocations: 77.56 kB / 0.6912 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.2071, allocations: 371.1 kB / 0.6915 GB, free: 8.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.2071, allocations: 4.656 kB / 0.6915 GB, free: 8.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.2071, allocations: 0 / 0.6915 GB, free: 8.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.2071, allocations: 4.656 kB / 0.6915 GB, free: 8.176 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.0009409/0.208, allocations: 0.5601 MB / 0.6921 GB, free: 7.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.2081, allocations: 12.02 kB / 0.6921 GB, free: 7.559 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000799/0.2089, allocations: 116.2 kB / 0.6922 GB, free: 7.445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.2093, allocations: 274.5 kB / 0.6925 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.2094, allocations: 20.38 kB / 0.6925 GB, free: 7.117 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.2094, allocations: 20 kB / 0.6925 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008018/0.2102, allocations: 423.5 kB / 0.6929 GB, free: 6.652 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2102, allocations: 0 / 0.6929 GB, free: 6.652 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.2103, allocations: 8 kB / 0.6929 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.886e-05/0.2104, allocations: 36.55 kB / 0.693 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007443/0.2111, allocations: 361.9 kB / 0.6933 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002837/0.214, allocations: 2.069 MB / 0.6953 GB, free: 3.996 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007744/0.2147, allocations: 345.6 kB / 0.6957 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003911/0.2152, allocations: 206.7 kB / 0.6959 GB, free: 3.434 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.2153, allocations: 85.3 kB / 0.6959 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.2153, allocations: 34.75 kB / 0.696 GB, free: 3.289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 2.475e-06/0.2153, allocations: 8 kB / 0.696 GB, free: 3.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.004883/0.2202, allocations: 1.745 MB / 0.6977 GB, free: 1.504 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.2203, allocations: 85.11 kB / 0.6978 GB, free: 1.402 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.2206, allocations: 236.8 kB / 0.698 GB, free: 1.164 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.2206, allocations: 33.7 kB / 0.698 GB, free: 1.125 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.2208, allocations: 176.1 kB / 0.6982 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.61e-05/0.2209, allocations: 122.3 kB / 0.6983 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.2209, allocations: 4 kB / 0.6983 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.2211, allocations: 338.8 kB / 0.6986 GB, free: 492 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.2214, allocations: 204.7 kB / 0.6988 GB, free: 284 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004768/0.2219, allocations: 309.1 kB / 0.6991 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.2224, allocations: 249.6 kB / 0.6994 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2224, allocations: 0 / 0.6994 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001186/0.2236, allocations: 0.6719 MB / 0.7 GB, free: 15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.2237, allocations: 180.2 kB / 0.7002 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2237, allocations: 8 kB / 0.7002 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005017/0.2242, allocations: 143.3 kB / 0.7003 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.2246, allocations: 107.9 kB / 0.7004 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/0.2277, allocations: 3.95 MB / 0.7043 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.2281, allocations: 35.95 kB / 0.7043 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.2281, allocations: 20.16 kB / 0.7043 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.091e-06/0.2281, allocations: 4 kB / 0.7044 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001208/0.2293, allocations: 0.6161 MB / 0.705 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2294, allocations: 8.031 kB / 0.705 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/0.2297, allocations: 139.3 kB / 0.7051 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.2301, allocations: 107.8 kB / 0.7052 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006566/0.2308, allocations: 1.109 MB / 0.7063 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.2311, allocations: 40.06 kB / 0.7063 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.2311, allocations: 20 kB / 0.7063 GB, free: 8.078 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.0002535/0.2314, allocations: 249.6 kB / 0.7066 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.2315, allocations: 23.72 kB / 0.7066 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.2327, allocations: 0.6404 MB / 0.7072 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2327, allocations: 11.98 kB / 0.7072 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2327, allocations: 0 / 0.7072 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2328, allocations: 0 / 0.7072 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.235, allocations: 1.347 MB / 0.7085 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2351, allocations: 0 / 0.7085 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.2353, allocations: 55.97 kB / 0.7086 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/0.2358, allocations: 163.3 kB / 0.7088 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.2358, allocations: 8 kB / 0.7088 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/0.2388, allocations: 3.961 MB / 0.7126 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.2388, allocations: 7.969 kB / 0.7126 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.24, allocations: 0.7972 MB / 0.7134 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.2402, allocations: 148.6 kB / 0.7136 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.2403, allocations: 8 kB / 0.7136 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.2406, allocations: 31.97 kB / 0.7136 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/0.2407, allocations: 43.89 kB / 0.7136 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.2407, allocations: 8 kB / 0.7136 GB, free: 48 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002176/0.2409, allocations: 172.5 kB / 0.7138 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2409, allocations: 0 / 0.7138 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008223/0.2418, allocations: 160 kB / 0.714 GB, free: 15.71 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.000227/0.242, allocations: 139.2 kB / 0.7141 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002014/0.244, allocations: 1.189 MB / 0.7153 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.2441, allocations: 7.938 kB / 0.7153 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006988/0.2448, allocations: 498 kB / 0.7157 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/0.2454, allocations: 62.97 kB / 0.7158 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.2466, allocations: 0.8601 MB / 0.7166 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.247, allocations: 0.8161 MB / 0.7174 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003289/0.2473, allocations: 110.9 kB / 0.7175 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/0.2474, allocations: 23.44 kB / 0.7176 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.2474, allocations: 0 / 0.7176 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of Templates: time 0.01023/0.2577, allocations: 5.53 MB / 0.723 GB, free: 6.402 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)