Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2463/0.2482, allocations: 80.84 MB / 0.5897 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005567/0.2538, allocations: 2.772 MB / 0.5924 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003369/0.2572, allocations: 2.117 MB / 0.5945 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.2574, allocations: 7.938 kB / 0.5945 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000748/0.2582, allocations: 211.3 kB / 0.5947 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004397/0.2586, allocations: 191.4 kB / 0.5949 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.2592, allocations: 243.4 kB / 0.5951 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.2596, allocations: 446.9 kB / 0.5955 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/0.26, allocations: 170 kB / 0.5957 GB, free: 0.957 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.2602, allocations: 107.5 kB / 0.5958 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.2605, allocations: 159.5 kB / 0.5959 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.2606, allocations: 12 kB / 0.5959 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007821/0.2614, allocations: 447.1 kB / 0.5964 GB, free: 252 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.2615, allocations: 83.78 kB / 0.5965 GB, free: 168 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.2616, allocations: 119.4 kB / 0.5966 GB, free: 48 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005482/0.2622, allocations: 466.6 kB / 0.597 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2622, allocations: 0 / 0.597 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2622, allocations: 0 / 0.597 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.2622, allocations: 0 / 0.597 GB, free: 15.59 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001042/0.2633, allocations: 0.5492 MB / 0.5975 GB, free: 14.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.2633, allocations: 12.03 kB / 0.5976 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008121/0.2642, allocations: 112.5 kB / 0.5977 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.2645, allocations: 252.5 kB / 0.5979 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.2645, allocations: 24.31 kB / 0.5979 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.2645, allocations: 16 kB / 0.5979 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.2652, allocations: 376.8 kB / 0.5983 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.2652, allocations: 15.88 kB / 0.5983 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.2652, allocations: 7.984 kB / 0.5983 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.2653, allocations: 23.98 kB / 0.5983 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006165/0.2659, allocations: 355.5 kB / 0.5987 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.2679, allocations: 1.575 MB / 0.6002 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/0.2685, allocations: 345 kB / 0.6006 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.2689, allocations: 185.6 kB / 0.6007 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.269, allocations: 81.11 kB / 0.6008 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.2691, allocations: 46.5 kB / 0.6009 GB, free: 11.38 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 3.977e-06/0.2691, allocations: 0 / 0.6009 GB, free: 11.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.007553/0.2766, allocations: 1.926 MB / 0.6027 GB, free: 9.449 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.2768, allocations: 81.11 kB / 0.6028 GB, free: 9.352 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.2771, allocations: 178.9 kB / 0.603 GB, free: 9.168 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.2772, allocations: 29.7 kB / 0.603 GB, free: 9.133 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.2773, allocations: 148.4 kB / 0.6032 GB, free: 8.984 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.2774, allocations: 118.2 kB / 0.6033 GB, free: 8.867 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.2776, allocations: 81.67 kB / 0.6033 GB, free: 8.781 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.2778, allocations: 334.8 kB / 0.6037 GB, free: 8.445 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/0.2784, allocations: 256.7 kB / 0.6039 GB, free: 8.191 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/0.279, allocations: 337.4 kB / 0.6042 GB, free: 7.828 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.2801, allocations: 0.5956 MB / 0.6048 GB, free: 7.203 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2801, allocations: 0 / 0.6048 GB, free: 7.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001287/0.2814, allocations: 0.6425 MB / 0.6054 GB, free: 6.555 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.2814, allocations: 4 kB / 0.6054 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.2815, allocations: 4 kB / 0.6054 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.2815, allocations: 4.281 kB / 0.6054 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000879/0.2824, allocations: 155.7 kB / 0.6056 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.2824, allocations: 4 kB / 0.6056 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.2828, allocations: 51.92 kB / 0.6057 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.2829, allocations: 12 kB / 0.6057 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006037/0.2835, allocations: 360.8 kB / 0.606 GB, free: 5.969 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005226/0.284, allocations: 329.9 kB / 0.6063 GB, free: 5.613 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001003/0.285, allocations: 0.5747 MB / 0.6069 GB, free: 5.008 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.285, allocations: 7.875 kB / 0.6069 GB, free: 5 MB / 462.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001191/0.2862, allocations: 0.6143 MB / 0.6075 GB, free: 4.379 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2863, allocations: 4 kB / 0.6075 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.2863, allocations: 4 kB / 0.6075 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.2863, allocations: 4 kB / 0.6075 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/0.2871, allocations: 139.8 kB / 0.6076 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2871, allocations: 4 kB / 0.6076 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.2875, allocations: 55.92 kB / 0.6077 GB, free: 4.172 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.2875, allocations: 16.03 kB / 0.6077 GB, free: 4.156 MB / 462.1 MB 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.0002194/0.2878, allocations: 208.1 kB / 0.6079 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.2879, allocations: 27.7 kB / 0.6079 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.2893, allocations: 0.6685 MB / 0.6086 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.2893, allocations: 7.938 kB / 0.6086 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.2894, allocations: 0 / 0.6086 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2894, allocations: 0 / 0.6086 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.2916, allocations: 1.367 MB / 0.6099 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2917, allocations: 8.031 kB / 0.6099 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/0.2922, allocations: 115.8 kB / 0.61 GB, free: 1.645 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2922, allocations: 4 kB / 0.61 GB, free: 1.641 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.2923, allocations: 19.92 kB / 0.6101 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.2923, allocations: 0 / 0.6101 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.2923, allocations: 7.938 kB / 0.6101 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.2933, allocations: 0.7188 MB / 0.6108 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.2935, allocations: 140.8 kB / 0.6109 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.2935, allocations: 15.94 kB / 0.6109 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.2938, allocations: 35.94 kB / 0.611 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.2939, allocations: 31.91 kB / 0.611 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.294, allocations: 12 kB / 0.611 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.2941, allocations: 144.4 kB / 0.6111 GB, free: 476 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2941, allocations: 0 / 0.6111 GB, free: 476 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006464/0.2948, allocations: 140 kB / 0.6113 GB, free: 336 kB / 462.1 MB 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.0002626/0.295, allocations: 143 kB / 0.6114 GB, free: 184 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.2966, allocations: 0.8514 MB / 0.6122 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2966, allocations: 0 / 0.6122 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.2971, allocations: 257.1 kB / 0.6125 GB, free: 15.08 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.2976, allocations: 48.45 kB / 0.6125 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.2993, allocations: 0.8853 MB / 0.6134 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.2997, allocations: 0.7839 MB / 0.6142 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005379/0.3003, allocations: 178.7 kB / 0.6143 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.3004, allocations: 35.42 kB / 0.6144 GB, free: 13.08 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3004, allocations: 0 / 0.6144 GB, free: 13.08 MB / 478.1 MB Notification: Performance of Templates: time 0.008866/0.3093, allocations: 4.583 MB / 0.6188 GB, free: 8.555 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)