Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008642/0.0008642, 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.00104/0.00104, 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 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005017/0.0005019, allocations: 13.94 kB / 0.6737 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2203, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.003318/0.2236, allocations: 2.962 MB / 0.7902 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002704/0.2263, allocations: 2.044 MB / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.2265, allocations: 4 kB / 0.7922 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.2266, allocations: 43.64 kB / 0.7922 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004233/0.2271, allocations: 175.2 kB / 0.7924 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.2276, allocations: 219.1 kB / 0.7926 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.228, allocations: 434.6 kB / 0.793 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004324/0.2284, allocations: 325.3 kB / 0.7933 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.2286, allocations: 127.5 kB / 0.7934 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.2288, allocations: 167.4 kB / 0.7936 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.2289, allocations: 12 kB / 0.7936 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003891/0.2293, allocations: 267.6 kB / 0.7939 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.969e-05/0.2294, allocations: 95.75 kB / 0.794 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.2294, allocations: 69.58 kB / 0.794 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.2298, allocations: 363.2 kB / 0.7944 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2298, allocations: 3.938 kB / 0.7944 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2298, allocations: 0 / 0.7944 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2298, allocations: 4 kB / 0.7944 GB, free: 4.613 MB / 0.6075 GB 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.0008125/0.2307, allocations: 0.5767 MB / 0.7949 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.2307, allocations: 8.031 kB / 0.7949 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007419/0.2314, allocations: 119.5 kB / 0.7951 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.2317, allocations: 266.6 kB / 0.7953 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.2318, allocations: 16.44 kB / 0.7953 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.2318, allocations: 23.94 kB / 0.7954 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005865/0.2324, allocations: 415.6 kB / 0.7958 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2324, allocations: 3.938 kB / 0.7958 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.2325, allocations: 8 kB / 0.7958 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-05/0.2325, allocations: 36.55 kB / 0.7958 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.2331, allocations: 361.9 kB / 0.7961 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.2353, allocations: 2.058 MB / 0.7982 GB, free: 448 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007213/0.236, allocations: 357.6 kB / 0.7985 GB, free: 72 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.2364, allocations: 202 kB / 0.7987 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-05/0.2365, allocations: 85.3 kB / 0.7988 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.2366, allocations: 38.73 kB / 0.7988 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.2366, allocations: 0 / 0.7988 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.004377/0.2409, allocations: 1.752 MB / 0.8005 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.241, allocations: 81.11 kB / 0.8006 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.2412, allocations: 232.9 kB / 0.8008 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.2412, allocations: 33.7 kB / 0.8008 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.2414, allocations: 184 kB / 0.801 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/0.2414, allocations: 122.3 kB / 0.8011 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.2415, allocations: 8 kB / 0.8011 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2416, allocations: 334.8 kB / 0.8015 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.2419, allocations: 200.8 kB / 0.8017 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.2423, allocations: 309.1 kB / 0.802 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.2427, allocations: 248.3 kB / 0.8022 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2428, allocations: 0 / 0.8022 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001138/0.2439, allocations: 0.6846 MB / 0.8029 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.244, allocations: 184.3 kB / 0.803 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.244, allocations: 4 kB / 0.803 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004459/0.2445, allocations: 147.3 kB / 0.8032 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.2449, allocations: 95.81 kB / 0.8033 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.2475, allocations: 3.942 MB / 0.8071 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.2479, allocations: 39.95 kB / 0.8072 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.2479, allocations: 16 kB / 0.8072 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.2479, allocations: 4 kB / 0.8072 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001117/0.249, allocations: 0.6278 MB / 0.8078 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.2491, allocations: 3.938 kB / 0.8078 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003467/0.2494, allocations: 151.4 kB / 0.8079 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.2498, allocations: 95.88 kB / 0.808 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006162/0.2504, allocations: 1.113 MB / 0.8091 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.2507, allocations: 39.95 kB / 0.8092 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.2507, allocations: 20 kB / 0.8092 GB, free: 4.504 MB / 0.6231 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.000218/0.251, allocations: 249.1 kB / 0.8094 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.17e-05/0.251, allocations: 23.72 kB / 0.8094 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.2522, allocations: 0.6363 MB / 0.8101 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2522, allocations: 4 kB / 0.8101 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2522, allocations: 4 kB / 0.8101 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2522, allocations: 0 / 0.8101 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.2543, allocations: 1.341 MB / 0.8114 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.2544, allocations: 4 kB / 0.8114 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.2546, allocations: 68.14 kB / 0.8114 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004068/0.255, allocations: 155.3 kB / 0.8116 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.2551, allocations: 11.98 kB / 0.8116 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003194/0.2583, allocations: 3.961 MB / 0.8155 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.2583, allocations: 7.984 kB / 0.8155 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.2595, allocations: 0.7887 MB / 0.8162 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.2596, allocations: 140.8 kB / 0.8164 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.2597, allocations: 8 kB / 0.8164 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.26, allocations: 35.97 kB / 0.8164 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/0.2601, allocations: 39.98 kB / 0.8165 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.2601, allocations: 15.94 kB / 0.8165 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001514/0.2603, allocations: 172.5 kB / 0.8166 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2603, allocations: 0 / 0.8166 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006909/0.261, allocations: 156 kB / 0.8168 GB, free: 12.16 MB / 0.6387 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.0002455/0.2612, allocations: 139.6 kB / 0.8169 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002074/0.2633, allocations: 1.204 MB / 0.8181 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2633, allocations: 0 / 0.8181 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007005/0.264, allocations: 0.4902 MB / 0.8186 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.2646, allocations: 66.3 kB / 0.8186 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.2658, allocations: 0.8526 MB / 0.8195 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.2662, allocations: 0.8045 MB / 0.8203 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003267/0.2665, allocations: 110.9 kB / 0.8204 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.2666, allocations: 27.44 kB / 0.8204 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.2666, allocations: 0 / 0.8204 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of Templates: time 0.00922/0.2758, allocations: 5.507 MB / 0.8258 GB, free: 2.824 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) Environment - environmentSimulation: