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.2297/0.232, allocations: 80.85 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.00855/0.2407, allocations: 2.705 MB / 0.6733 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005264/0.246, allocations: 2.108 MB / 0.6753 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.2464, allocations: 7.938 kB / 0.6753 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.2475, allocations: 233.8 kB / 0.6756 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007941/0.2483, allocations: 203.2 kB / 0.6758 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.2495, allocations: 283.2 kB / 0.676 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.2501, allocations: 303.1 kB / 0.6763 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004907/0.2506, allocations: 153.9 kB / 0.6765 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.2509, allocations: 127.5 kB / 0.6766 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004467/0.2514, allocations: 163.5 kB / 0.6767 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.94e-05/0.2514, allocations: 20 kB / 0.6768 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008967/0.2523, allocations: 371.3 kB / 0.6771 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.2525, allocations: 95.77 kB / 0.6772 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.2527, allocations: 115.4 kB / 0.6773 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008661/0.2535, allocations: 454.8 kB / 0.6777 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.2536, allocations: 4 kB / 0.6778 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2536, allocations: 3.938 kB / 0.6778 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2536, allocations: 0 / 0.6778 GB, free: 10.71 MB / 0.5137 GB 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.001424/0.255, allocations: 0.5575 MB / 0.6783 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.2551, allocations: 8.031 kB / 0.6783 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.2563, allocations: 104.5 kB / 0.6784 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.2568, allocations: 260.5 kB / 0.6787 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.2568, allocations: 16.31 kB / 0.6787 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.637e-05/0.2569, allocations: 16 kB / 0.6787 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00093/0.2579, allocations: 384.8 kB / 0.6791 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.2579, allocations: 0 / 0.6791 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.258, allocations: 8 kB / 0.6791 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/0.258, allocations: 35.77 kB / 0.6791 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009171/0.259, allocations: 355.6 kB / 0.6794 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.2617, allocations: 1.571 MB / 0.681 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009583/0.2627, allocations: 352.8 kB / 0.6813 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004443/0.2632, allocations: 181.6 kB / 0.6815 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/0.2634, allocations: 89.09 kB / 0.6816 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.2635, allocations: 38.56 kB / 0.6816 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 2.975e-06/0.2635, allocations: 0 / 0.6816 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.01053/0.274, allocations: 1.914 MB / 0.6835 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.742e-05/0.2742, allocations: 89.09 kB / 0.6836 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.2745, allocations: 178.6 kB / 0.6837 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.2745, allocations: 29.7 kB / 0.6838 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.2747, allocations: 152.4 kB / 0.6839 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.2749, allocations: 118.3 kB / 0.684 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.2751, allocations: 85.58 kB / 0.6841 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.2753, allocations: 330.8 kB / 0.6844 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006591/0.276, allocations: 256.7 kB / 0.6847 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007357/0.2767, allocations: 333.5 kB / 0.685 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.2783, allocations: 0.5917 MB / 0.6856 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2783, allocations: 4 kB / 0.6856 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00181/0.2801, allocations: 0.6425 MB / 0.6862 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.2802, allocations: 4 kB / 0.6862 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.2802, allocations: 8.281 kB / 0.6862 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-05/0.2803, allocations: 4 kB / 0.6862 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.2816, allocations: 147.7 kB / 0.6863 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/0.2816, allocations: 4 kB / 0.6863 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000625/0.2822, allocations: 55.88 kB / 0.6864 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/0.2823, allocations: 19.98 kB / 0.6864 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009023/0.2832, allocations: 367.9 kB / 0.6868 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007891/0.284, allocations: 317.9 kB / 0.6871 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001453/0.2855, allocations: 0.5825 MB / 0.6876 GB, free: 104 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.698e-05/0.2855, allocations: 7.875 kB / 0.6876 GB, free: 96 kB / 0.5137 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001924/0.2875, allocations: 0.6142 MB / 0.6882 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2875, allocations: 7.938 kB / 0.6883 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2875, allocations: 4 kB / 0.6883 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.2875, allocations: 4 kB / 0.6883 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.2888, allocations: 143.8 kB / 0.6884 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2888, allocations: 4 kB / 0.6884 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.2894, allocations: 52.11 kB / 0.6885 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.2894, allocations: 16 kB / 0.6885 GB, free: 15.25 MB / 0.5294 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.0002937/0.2897, allocations: 200.1 kB / 0.6887 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.2898, allocations: 27.66 kB / 0.6887 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.2912, allocations: 0.6569 MB / 0.6893 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.2912, allocations: 4 kB / 0.6893 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.2913, allocations: 3.984 kB / 0.6893 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.2913, allocations: 4 kB / 0.6893 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/0.2949, allocations: 1.372 MB / 0.6907 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.2949, allocations: 8.031 kB / 0.6907 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007593/0.2957, allocations: 119.8 kB / 0.6908 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.2957, allocations: 4 kB / 0.6908 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/0.2957, allocations: 11.94 kB / 0.6908 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/0.2957, allocations: 7.984 kB / 0.6908 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.2958, allocations: 0 / 0.6908 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.2973, allocations: 0.7153 MB / 0.6915 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.2976, allocations: 140.8 kB / 0.6917 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.2976, allocations: 15.88 kB / 0.6917 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.2981, allocations: 35.95 kB / 0.6917 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.2983, allocations: 35.89 kB / 0.6917 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.2983, allocations: 12 kB / 0.6917 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002073/0.2985, allocations: 148.3 kB / 0.6919 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2985, allocations: 0 / 0.6919 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001059/0.2996, allocations: 140 kB / 0.692 GB, free: 11.43 MB / 0.5294 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.0003119/0.2999, allocations: 132.5 kB / 0.6921 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002486/0.3024, allocations: 0.8519 MB / 0.693 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3024, allocations: 0 / 0.693 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007054/0.3032, allocations: 261.5 kB / 0.6932 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007133/0.3039, allocations: 51.84 kB / 0.6933 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.3063, allocations: 0.7796 MB / 0.694 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.3069, allocations: 0.7877 MB / 0.6948 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007753/0.3077, allocations: 178.8 kB / 0.695 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.308, allocations: 31.44 kB / 0.695 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/0.308, allocations: 0 / 0.695 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of Templates: time 0.01613/0.3241, allocations: 4.994 MB / 0.6999 GB, free: 3.312 MB / 0.5294 GB 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)