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.0009362/0.0009364, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009625/0.0009626, allocations: 177.3 kB / 15.95 MB, free: 216 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.506/1.506, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.685/1.685, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005097/0.0005102, allocations: 19.56 kB / 0.6735 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2504, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.003677/0.2541, allocations: 2.896 MB / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003349/0.2574, allocations: 2.002 MB / 0.7919 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.2578, allocations: 7.938 kB / 0.7919 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.258, allocations: 39.7 kB / 0.7919 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007912/0.2588, allocations: 151.5 kB / 0.7921 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.2599, allocations: 219.4 kB / 0.7923 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004958/0.2604, allocations: 223.5 kB / 0.7925 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006068/0.261, allocations: 329.3 kB / 0.7928 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.2612, allocations: 107.6 kB / 0.7929 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.2615, allocations: 123.5 kB / 0.793 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.2616, allocations: 12 kB / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005807/0.2622, allocations: 259.6 kB / 0.7933 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.2623, allocations: 71.81 kB / 0.7934 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.84e-05/0.2624, allocations: 69.58 kB / 0.7934 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004608/0.2628, allocations: 379.1 kB / 0.7938 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2628, allocations: 0 / 0.7938 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2628, allocations: 0 / 0.7938 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2629, allocations: 0 / 0.7938 GB, free: 5.059 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.001051/0.2639, allocations: 0.565 MB / 0.7944 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.264, allocations: 11.97 kB / 0.7944 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009452/0.2649, allocations: 139.4 kB / 0.7945 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.2654, allocations: 270.5 kB / 0.7948 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.2654, allocations: 16.42 kB / 0.7948 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.034e-05/0.2655, allocations: 20 kB / 0.7948 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007797/0.2663, allocations: 411.5 kB / 0.7952 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.2663, allocations: 3.938 kB / 0.7952 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.2663, allocations: 15.98 kB / 0.7952 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-05/0.2664, allocations: 32.55 kB / 0.7952 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006338/0.2671, allocations: 358 kB / 0.7956 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002687/0.2698, allocations: 2.05 MB / 0.7976 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/0.2705, allocations: 353.6 kB / 0.7979 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.2707, allocations: 89.28 kB / 0.798 GB, free: 424 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.2707, allocations: 38.75 kB / 0.798 GB, free: 376 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.2707, allocations: 0 / 0.798 GB, free: 376 kB / 0.6075 GB Notification: Performance of matching and sorting (n=28): time 0.003305/0.274, allocations: 1.273 MB / 0.7993 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.2741, allocations: 85.28 kB / 0.7994 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.2744, allocations: 236.9 kB / 0.7996 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.2744, allocations: 29.7 kB / 0.7996 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.2746, allocations: 180 kB / 0.7998 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/0.2747, allocations: 102.6 kB / 0.7999 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.2747, allocations: 4 kB / 0.7999 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.2749, allocations: 342.8 kB / 0.8002 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.2753, allocations: 159.9 kB / 0.8004 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.2757, allocations: 271.8 kB / 0.8006 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.2761, allocations: 212.4 kB / 0.8008 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2761, allocations: 0 / 0.8008 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00104/0.2771, allocations: 0.5659 MB / 0.8014 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004888/0.2776, allocations: 1.13 MB / 0.8025 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2776, allocations: 4 kB / 0.8025 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/0.2779, allocations: 85.59 kB / 0.8026 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.2783, allocations: 99.75 kB / 0.8027 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.2799, allocations: 1.965 MB / 0.8046 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.2802, allocations: 40.31 kB / 0.8046 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.2803, allocations: 12 kB / 0.8046 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.2803, allocations: 4 kB / 0.8046 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009988/0.2813, allocations: 0.5013 MB / 0.8051 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2813, allocations: 4 kB / 0.8051 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/0.2815, allocations: 73.61 kB / 0.8052 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.2819, allocations: 99.84 kB / 0.8053 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003146/0.2822, allocations: 0.5564 MB / 0.8058 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.2825, allocations: 31.97 kB / 0.8059 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.2825, allocations: 12 kB / 0.8059 GB, free: 7.891 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.2827, allocations: 249.1 kB / 0.8061 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.2828, allocations: 27.72 kB / 0.8061 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.2838, allocations: 489.8 kB / 0.8066 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2838, allocations: 7.953 kB / 0.8066 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2839, allocations: 0 / 0.8066 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2839, allocations: 8 kB / 0.8066 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.2856, allocations: 1.044 MB / 0.8077 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.2857, allocations: 4 kB / 0.8077 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.2859, allocations: 59.89 kB / 0.8077 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.2862, allocations: 77.66 kB / 0.8078 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.2862, allocations: 12.22 kB / 0.8078 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.2877, allocations: 1.988 MB / 0.8097 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2877, allocations: 4.031 kB / 0.8097 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.2887, allocations: 0.7512 MB / 0.8105 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.2889, allocations: 128.8 kB / 0.8106 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.2889, allocations: 15.94 kB / 0.8106 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.2892, allocations: 35.97 kB / 0.8106 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.2893, allocations: 27.91 kB / 0.8107 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2893, allocations: 8 kB / 0.8107 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001437/0.2895, allocations: 168.5 kB / 0.8108 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2895, allocations: 0 / 0.8108 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006394/0.2901, allocations: 128 kB / 0.811 GB, free: 2.301 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002057/0.2903, allocations: 131.2 kB / 0.8111 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.2919, allocations: 0.8499 MB / 0.8119 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2919, allocations: 0 / 0.8119 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.2924, allocations: 327.4 kB / 0.8122 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.2928, allocations: 61.8 kB / 0.8123 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2938, allocations: 0.767 MB / 0.813 GB, free: 80 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.2942, allocations: 0.804 MB / 0.8138 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000307/0.2945, allocations: 114.9 kB / 0.8139 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.2946, allocations: 23.44 kB / 0.814 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.2946, allocations: 0 / 0.814 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of Templates: time 0.00769/0.3023, allocations: 3.92 MB / 0.8178 GB, free: 11.22 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: