Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.21/2.21, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 199.4 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009944/0.0009944, allocations: 95.7 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 52.78 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.244, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004346/0.2484, allocations: 3.454 MB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.2511, allocations: 2.17 MB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.2513, allocations: 4 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007738/0.2521, allocations: 278.7 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004225/0.2525, allocations: 219.1 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006028/0.2531, allocations: 259.4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.2535, allocations: 0.5336 MB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.2539, allocations: 170.9 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.254, allocations: 135.4 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.2543, allocations: 179.4 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.2543, allocations: 16 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000597/0.2549, allocations: 0.5029 MB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.198e-05/0.255, allocations: 91.72 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.2551, allocations: 131.3 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.2556, allocations: 0.5297 MB / 1.227 GB, free: 108.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2556, allocations: 0 / 1.227 GB, free: 108.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2557, allocations: 0 / 1.227 GB, free: 108.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2557, allocations: 0 / 1.227 GB, free: 108.6 MB / 0.823 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.0008438/0.2565, allocations: 0.617 MB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2566, allocations: 15.98 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007349/0.2573, allocations: 116.4 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.2576, allocations: 276.5 kB / 1.228 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2576, allocations: 20.73 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.2577, allocations: 20.38 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.2582, allocations: 411.9 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2582, allocations: 3.938 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.2582, allocations: 15.98 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/0.2583, allocations: 36.48 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005247/0.2588, allocations: 349.9 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.2607, allocations: 2.046 MB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006273/0.2614, allocations: 354.5 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.2617, allocations: 193.6 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-05/0.2618, allocations: 89.05 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.2618, allocations: 42.55 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=22): time 2.375e-06/0.2618, allocations: 0 / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=34): time 0.004289/0.2661, allocations: 1.571 MB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.2662, allocations: 85.05 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.2663, allocations: 240.9 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.2664, allocations: 29.7 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.2664, allocations: 180.1 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.556e-05/0.2665, allocations: 122.3 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.2666, allocations: 78.03 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.223e-05/0.2667, allocations: 338.8 kB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/0.267, allocations: 194.5 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.2673, allocations: 301.1 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.268, allocations: 0.5112 MB / 1.235 GB, free: 99.84 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.268, allocations: 0 / 1.235 GB, free: 99.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001001/0.269, allocations: 0.6641 MB / 1.235 GB, free: 99.16 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.269, allocations: 9.562 kB / 1.235 GB, free: 99.15 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2691, allocations: 4 kB / 1.235 GB, free: 99.14 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004221/0.2695, allocations: 143.5 kB / 1.235 GB, free: 98.99 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.2699, allocations: 95.81 kB / 1.235 GB, free: 98.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.2716, allocations: 3.938 MB / 1.239 GB, free: 94.64 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.2719, allocations: 47.73 kB / 1.239 GB, free: 94.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.272, allocations: 16 kB / 1.239 GB, free: 94.58 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003903/0.2724, allocations: 325 kB / 1.24 GB, free: 94.26 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003342/0.2727, allocations: 301.1 kB / 1.24 GB, free: 93.92 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006317/0.2734, allocations: 0.5037 MB / 1.24 GB, free: 93.37 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-06/0.2734, allocations: 4 kB / 1.24 GB, free: 93.37 MB / 0.823 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001014/0.2744, allocations: 0.6484 MB / 1.241 GB, free: 92.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.2744, allocations: 7.984 kB / 1.241 GB, free: 92.69 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.2744, allocations: 7.938 kB / 1.241 GB, free: 92.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003449/0.2748, allocations: 151.4 kB / 1.241 GB, free: 92.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.2751, allocations: 91.88 kB / 1.241 GB, free: 92.43 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.2767, allocations: 3.946 MB / 1.245 GB, free: 88.17 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.277, allocations: 36.03 kB / 1.245 GB, free: 88.13 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.2771, allocations: 20 kB / 1.245 GB, free: 88.11 MB / 0.823 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.0001077/0.2772, allocations: 204.8 kB / 1.245 GB, free: 87.91 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/0.2773, allocations: 31.62 kB / 1.245 GB, free: 87.88 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.2783, allocations: 0.6009 MB / 1.246 GB, free: 87.25 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2783, allocations: 4 kB / 1.246 GB, free: 87.25 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2783, allocations: 4 kB / 1.246 GB, free: 87.25 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2783, allocations: 7.984 kB / 1.246 GB, free: 87.24 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.28, allocations: 1.325 MB / 1.247 GB, free: 85.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.28, allocations: 3.938 kB / 1.247 GB, free: 85.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.2803, allocations: 63.89 kB / 1.247 GB, free: 85.74 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003532/0.2806, allocations: 147.3 kB / 1.248 GB, free: 85.58 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.2807, allocations: 16 kB / 1.248 GB, free: 85.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.2823, allocations: 3.961 MB / 1.251 GB, free: 81.29 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2824, allocations: 7.984 kB / 1.251 GB, free: 81.28 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.2837, allocations: 1.587 MB / 1.253 GB, free: 79.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.2838, allocations: 136.7 kB / 1.253 GB, free: 79.45 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.2838, allocations: 12 kB / 1.253 GB, free: 79.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.2841, allocations: 35.97 kB / 1.253 GB, free: 79.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.2842, allocations: 31.89 kB / 1.253 GB, free: 79.37 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.2842, allocations: 12 kB / 1.253 GB, free: 79.36 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000107/0.2843, allocations: 172.4 kB / 1.253 GB, free: 79.19 MB / 0.823 GB Notification: Performance of sort global known variables: time 2e-07/0.2843, allocations: 0 / 1.253 GB, free: 79.19 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008258/0.2852, allocations: 164 kB / 1.254 GB, free: 79.03 MB / 0.823 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.0001641/0.2853, allocations: 139.2 kB / 1.254 GB, free: 78.89 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.287, allocations: 1.234 MB / 1.255 GB, free: 77.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.287, allocations: 4.062 kB / 1.255 GB, free: 77.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005561/0.2876, allocations: 477 kB / 1.255 GB, free: 77.11 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.2881, allocations: 67.02 kB / 1.255 GB, free: 77.04 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2892, allocations: 1.116 MB / 1.256 GB, free: 75.86 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.2894, allocations: 0.8357 MB / 1.257 GB, free: 75 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003206/0.2898, allocations: 118.9 kB / 1.257 GB, free: 74.88 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.2898, allocations: 23.44 kB / 1.257 GB, free: 74.86 MB / 0.823 GB Notification: Performance of SimCode: time 3.3e-07/0.2898, allocations: 7.875 kB / 1.257 GB, free: 74.85 MB / 0.823 GB Notification: Performance of Templates: time 0.007931/0.2978, allocations: 6.232 MB / 1.264 GB, free: 68.66 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)