Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.275/2.275, allocations: 391.2 MB / 407 MB, free: 10.82 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.001348/0.001348, allocations: 193.3 kB / 499.1 MB, free: 4.656 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.554/1.554, allocations: 222.9 MB / 0.7948 GB, free: 15.82 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.001123/0.001123, allocations: 111 kB / 0.9329 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 53.61 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.259, 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.ACACConverter): time 0.003971/0.263, allocations: 2.864 MB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002957/0.266, allocations: 2.031 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.2661, allocations: 4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007001/0.2669, allocations: 219.2 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004538/0.2674, allocations: 179.3 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006956/0.2681, allocations: 243.5 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.2685, allocations: 454.8 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.2688, allocations: 154 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.269, allocations: 107.6 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.2692, allocations: 159.4 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.2693, allocations: 12 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000586/0.2699, allocations: 451.2 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.524e-05/0.27, allocations: 103.7 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2701, allocations: 103.5 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.2706, allocations: 476.8 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2706, allocations: 0 / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2706, allocations: 3.984 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2706, allocations: 0 / 1.225 GB, free: 109.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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009317/0.2715, allocations: 0.5536 MB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.2716, allocations: 15.92 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006974/0.2723, allocations: 112.5 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.2726, allocations: 244.5 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.2726, allocations: 20.78 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.2727, allocations: 24.12 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/0.2733, allocations: 381.9 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.2733, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.2733, allocations: 12 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/0.2734, allocations: 19.98 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.2739, allocations: 363.6 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.2756, allocations: 1.726 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.2762, allocations: 348.9 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.2765, allocations: 185.6 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.2766, allocations: 93.08 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.2766, allocations: 42.56 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.2766, allocations: 0 / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.006579/0.2832, allocations: 1.915 MB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.2833, allocations: 81.11 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2835, allocations: 183.4 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.2835, allocations: 37.7 kB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.115e-05/0.2836, allocations: 148.3 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.2836, allocations: 118.3 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.2838, allocations: 77.53 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.2838, allocations: 334.8 kB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.2842, allocations: 248.7 kB / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.2847, allocations: 333.5 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007982/0.2855, allocations: 0.6072 MB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2855, allocations: 3.938 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009332/0.2864, allocations: 0.6349 MB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2864, allocations: 4 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2865, allocations: 4 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.2865, allocations: 4 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008415/0.2873, allocations: 147.8 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.2873, allocations: 7.938 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.2877, allocations: 56.11 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.2878, allocations: 12 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004376/0.2882, allocations: 363.9 kB / 1.235 GB, free: 99.79 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003812/0.2886, allocations: 317.9 kB / 1.235 GB, free: 99.45 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007466/0.2894, allocations: 0.5746 MB / 1.235 GB, free: 98.84 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.2894, allocations: 0 / 1.235 GB, free: 98.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0008991/0.2903, allocations: 0.6179 MB / 1.236 GB, free: 98.22 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.2903, allocations: 4 kB / 1.236 GB, free: 98.21 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.2903, allocations: 4 kB / 1.236 GB, free: 98.21 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.2903, allocations: 4 kB / 1.236 GB, free: 98.21 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/0.2911, allocations: 148.1 kB / 1.236 GB, free: 98.06 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2911, allocations: 4 kB / 1.236 GB, free: 98.06 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.2914, allocations: 51.94 kB / 1.236 GB, free: 98.01 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.2915, allocations: 15.98 kB / 1.236 GB, free: 97.99 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.2916, allocations: 204.7 kB / 1.236 GB, free: 97.79 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/0.2917, allocations: 19.81 kB / 1.236 GB, free: 97.77 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.2928, allocations: 0.6687 MB / 1.237 GB, free: 97.09 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2928, allocations: 4 kB / 1.237 GB, free: 97.09 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2928, allocations: 4 kB / 1.237 GB, free: 97.08 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.2928, allocations: 4 kB / 1.237 GB, free: 97.08 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.2946, allocations: 1.368 MB / 1.238 GB, free: 95.61 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.2946, allocations: 0 / 1.238 GB, free: 95.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/0.2951, allocations: 123.8 kB / 1.239 GB, free: 95.49 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.2951, allocations: 7.938 kB / 1.239 GB, free: 95.48 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.2952, allocations: 12.25 kB / 1.239 GB, free: 95.47 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.2952, allocations: 7.938 kB / 1.239 GB, free: 95.46 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2952, allocations: 4 kB / 1.239 GB, free: 95.46 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.2965, allocations: 1.587 MB / 1.24 GB, free: 93.79 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.2967, allocations: 132.9 kB / 1.24 GB, free: 93.64 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.2967, allocations: 15.91 kB / 1.24 GB, free: 93.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.297, allocations: 35.94 kB / 1.24 GB, free: 93.59 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.2971, allocations: 27.97 kB / 1.24 GB, free: 93.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.2972, allocations: 15.94 kB / 1.24 GB, free: 93.55 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.667e-05/0.2973, allocations: 154.9 kB / 1.241 GB, free: 93.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2973, allocations: 4 kB / 1.241 GB, free: 93.39 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007361/0.298, allocations: 144 kB / 1.241 GB, free: 93.25 MB / 0.823 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/0.2982, allocations: 135.1 kB / 1.241 GB, free: 93.11 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001254/0.2994, allocations: 0.8394 MB / 1.242 GB, free: 92.27 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2994, allocations: 0 / 1.242 GB, free: 92.27 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.2998, allocations: 252.8 kB / 1.242 GB, free: 92.03 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.3003, allocations: 48.03 kB / 1.242 GB, free: 91.98 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.3014, allocations: 1.057 MB / 1.243 GB, free: 90.86 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.3016, allocations: 0.7955 MB / 1.244 GB, free: 90.04 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004589/0.302, allocations: 170.8 kB / 1.244 GB, free: 89.87 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.3022, allocations: 35.42 kB / 1.244 GB, free: 89.83 MB / 0.823 GB Notification: Performance of SimCode: time 5.21e-07/0.3022, allocations: 0 / 1.244 GB, free: 89.83 MB / 0.823 GB Notification: Performance of Templates: time 0.006497/0.3087, allocations: 4.724 MB / 1.249 GB, free: 85.14 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)