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.00111/0.00111, allocations: 109.3 kB / 15.99 MB, free: 6.344 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.00113/0.00113, allocations: 197.9 kB / 16.91 MB, free: 6.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.78/1.78, allocations: 292.3 MB / 0.5492 GB, free: 13.66 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.001345/0.001346, allocations: 65.41 kB / 0.6717 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2692, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004956/0.2742, allocations: 3.437 MB / 0.7869 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003396/0.2776, allocations: 2.179 MB / 0.789 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.2779, allocations: 7.938 kB / 0.789 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008785/0.2788, allocations: 267.1 kB / 0.7893 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005651/0.2793, allocations: 219.1 kB / 0.7895 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000831/0.2802, allocations: 270.7 kB / 0.7897 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.2806, allocations: 390.6 kB / 0.7901 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.281, allocations: 232.7 kB / 0.7903 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.2813, allocations: 147.5 kB / 0.7905 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.2816, allocations: 191.3 kB / 0.7907 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.2816, allocations: 24 kB / 0.7907 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006686/0.2823, allocations: 423.1 kB / 0.7911 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.2824, allocations: 95.72 kB / 0.7912 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.2826, allocations: 143.3 kB / 0.7913 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005016/0.2831, allocations: 399.1 kB / 0.7917 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.2831, allocations: 0 / 0.7917 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2831, allocations: 4 kB / 0.7917 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.2831, allocations: 0 / 0.7917 GB, free: 5.512 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.001079/0.2842, allocations: 0.5925 MB / 0.7923 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.2842, allocations: 11.97 kB / 0.7923 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008535/0.2851, allocations: 132.4 kB / 0.7924 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.2855, allocations: 263.8 kB / 0.7927 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.2855, allocations: 20.8 kB / 0.7927 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.2856, allocations: 16.38 kB / 0.7927 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.2862, allocations: 419.9 kB / 0.7931 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.2862, allocations: 3.938 kB / 0.7931 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.2863, allocations: 15.97 kB / 0.7931 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/0.2863, allocations: 32.55 kB / 0.7931 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005916/0.2869, allocations: 342 kB / 0.7935 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.2895, allocations: 2.054 MB / 0.7955 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/0.2903, allocations: 353 kB / 0.7958 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.2907, allocations: 189.6 kB / 0.796 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.2908, allocations: 89.09 kB / 0.7961 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2908, allocations: 38.5 kB / 0.7961 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 4.559e-06/0.2908, allocations: 3.984 kB / 0.7961 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.004958/0.2958, allocations: 1.59 MB / 0.7977 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.2959, allocations: 85.05 kB / 0.7978 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.2961, allocations: 236.9 kB / 0.798 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.2962, allocations: 33.7 kB / 0.798 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2963, allocations: 176.1 kB / 0.7982 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.148e-05/0.2964, allocations: 118.3 kB / 0.7983 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.2965, allocations: 86.03 kB / 0.7984 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2966, allocations: 338.8 kB / 0.7987 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.297, allocations: 194.5 kB / 0.7989 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.2975, allocations: 301.1 kB / 0.7992 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008157/0.2983, allocations: 0.5207 MB / 0.7997 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2983, allocations: 0 / 0.7997 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001212/0.2995, allocations: 0.6523 MB / 0.8003 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.2996, allocations: 4 kB / 0.8003 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.2996, allocations: 4.406 kB / 0.8003 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005096/0.3001, allocations: 147.3 kB / 0.8005 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.3005, allocations: 95.8 kB / 0.8006 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.3034, allocations: 4.167 MB / 0.8046 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.3038, allocations: 39.88 kB / 0.8047 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.3039, allocations: 16 kB / 0.8047 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005196/0.3044, allocations: 324.8 kB / 0.805 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004368/0.3049, allocations: 301.2 kB / 0.8053 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008264/0.3057, allocations: 0.5036 MB / 0.8058 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.3057, allocations: 4 kB / 0.8058 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001323/0.3071, allocations: 0.6449 MB / 0.8064 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3071, allocations: 12 kB / 0.8064 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3071, allocations: 4 kB / 0.8064 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/0.3076, allocations: 147.3 kB / 0.8066 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.308, allocations: 91.88 kB / 0.8066 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/0.3109, allocations: 4.174 MB / 0.8107 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.3113, allocations: 35.95 kB / 0.8108 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.3114, allocations: 16 kB / 0.8108 GB, free: 0.6133 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 (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.0002197/0.3116, allocations: 219.4 kB / 0.811 GB, free: 404 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.3117, allocations: 31.56 kB / 0.811 GB, free: 372 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.313, allocations: 0.6012 MB / 0.8116 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.313, allocations: 4 kB / 0.8116 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.313, allocations: 7.938 kB / 0.8116 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.313, allocations: 0 / 0.8116 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.3153, allocations: 1.321 MB / 0.8129 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.3153, allocations: 4 kB / 0.8129 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.3156, allocations: 67.89 kB / 0.813 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004455/0.316, allocations: 151.6 kB / 0.8131 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.3161, allocations: 11.94 kB / 0.8131 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00286/0.3189, allocations: 4.186 MB / 0.8172 GB, free: 9.539 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.319, allocations: 4 kB / 0.8172 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3203, allocations: 0.7769 MB / 0.818 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.3205, allocations: 136.7 kB / 0.8181 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.3206, allocations: 12 kB / 0.8181 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.321, allocations: 31.95 kB / 0.8181 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3211, allocations: 35.97 kB / 0.8182 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.3211, allocations: 11.94 kB / 0.8182 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000304/0.3214, allocations: 172.5 kB / 0.8184 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3215, allocations: 3.938 kB / 0.8184 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000886/0.3223, allocations: 164 kB / 0.8185 GB, free: 8.133 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 (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.000278/0.3226, allocations: 147.1 kB / 0.8187 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002415/0.3251, allocations: 1.257 MB / 0.8199 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3251, allocations: 448 / 0.8199 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008209/0.3259, allocations: 493 kB / 0.8204 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/0.3266, allocations: 56.16 kB / 0.8204 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.3282, allocations: 0.9291 MB / 0.8213 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.3287, allocations: 0.8045 MB / 0.8221 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.3289, allocations: 35.44 kB / 0.8221 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of SimCode: time 1.102e-06/0.3289, allocations: 0 / 0.8221 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of Templates: time 0.01362/0.3425, allocations: 9.08 MB / 0.831 GB, free: 11.2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (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)