Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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.ACACTransformer,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") [/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.17/0.1707, allocations: 82.23 MB / 0.5934 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.005105/0.1759, allocations: 4.299 MB / 0.5976 GB, free: 1.637 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005155/0.1811, allocations: 3.782 MB / 0.6013 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004064/0.1815, allocations: 15.88 kB / 0.6013 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.1818, allocations: 87.42 kB / 0.6014 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.1831, allocations: 466.5 kB / 0.6018 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1842, allocations: 355.1 kB / 0.6022 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007582/0.185, allocations: 0.5577 MB / 0.6027 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.186, allocations: 0.637 MB / 0.6033 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/0.1864, allocations: 298.9 kB / 0.6036 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004905/0.1869, allocations: 362.7 kB / 0.604 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.489e-05/0.187, allocations: 32 kB / 0.604 GB, free: 11.03 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008057/0.1878, allocations: 455.3 kB / 0.6044 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.188, allocations: 247.3 kB / 0.6047 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.1882, allocations: 141.3 kB / 0.6048 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.1892, allocations: 0.935 MB / 0.6057 GB, free: 9.258 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1893, allocations: 0 / 0.6057 GB, free: 9.258 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1893, allocations: 0 / 0.6057 GB, free: 9.258 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1893, allocations: 4 kB / 0.6057 GB, free: 9.254 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.001745/0.191, allocations: 0.9381 MB / 0.6066 GB, free: 8.266 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1911, allocations: 12.03 kB / 0.6066 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008637/0.1997, allocations: 1.649 MB / 0.6082 GB, free: 6.602 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.2009, allocations: 0.5378 MB / 0.6088 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.201, allocations: 49.3 kB / 0.6088 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.2011, allocations: 59.98 kB / 0.6089 GB, free: 5.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004487/0.2056, allocations: 1.817 MB / 0.6107 GB, free: 4.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.2057, allocations: 4 kB / 0.6107 GB, free: 4.016 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.2058, allocations: 23.98 kB / 0.6107 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/0.206, allocations: 113.4 kB / 0.6108 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007131/0.2132, allocations: 2.464 MB / 0.6132 GB, free: 1.414 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009095/0.2223, allocations: 6.064 MB / 0.6191 GB, free: 11.03 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003379/0.2257, allocations: 1.378 MB / 0.6205 GB, free: 9.594 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002639/0.2284, allocations: 2.139 MB / 0.6225 GB, free: 7.367 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.2284, allocations: 46.56 kB / 0.6226 GB, free: 7.312 MB / 478.1 MB Notification: Performance of pre-optimization done (n=69): time 5.26e-06/0.2284, allocations: 3.984 kB / 0.6226 GB, free: 7.309 MB / 478.1 MB Notification: Performance of matching and sorting (n=93): time 0.02131/0.2497, allocations: 6.648 MB / 0.6291 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.2499, allocations: 191.9 kB / 0.6293 GB, free: 416 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007126/0.2506, allocations: 0.5173 MB / 0.6298 GB, free: 15.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-05/0.2507, allocations: 45.64 kB / 0.6298 GB, free: 15.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.251, allocations: 386.8 kB / 0.6302 GB, free: 15.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.2513, allocations: 319.4 kB / 0.6305 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.778e-05/0.2514, allocations: 20 kB / 0.6305 GB, free: 15.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.2515, allocations: 378.8 kB / 0.6309 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002635/0.2542, allocations: 1.005 MB / 0.6319 GB, free: 13.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002856/0.257, allocations: 1.287 MB / 0.6331 GB, free: 12.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002758/0.2598, allocations: 1.098 MB / 0.6342 GB, free: 11.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.2598, allocations: 4 kB / 0.6342 GB, free: 11.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.009164/0.269, allocations: 3.341 MB / 0.6375 GB, free: 7.855 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001285/0.2703, allocations: 3.219 MB / 0.6406 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.2703, allocations: 12 kB / 0.6406 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004302/0.2747, allocations: 1.092 MB / 0.6417 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.2767, allocations: 463.2 kB / 0.6421 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.2889, allocations: 9.435 MB / 0.6513 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/0.291, allocations: 315.5 kB / 0.6516 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.2911, allocations: 59.95 kB / 0.6517 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.2912, allocations: 4 kB / 0.6517 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008165/0.2993, allocations: 3.024 MB / 0.6546 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.2994, allocations: 8 kB / 0.6547 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002779/0.3022, allocations: 0.7632 MB / 0.6554 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/0.3043, allocations: 495.1 kB / 0.6559 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008858/0.3132, allocations: 7.084 MB / 0.6628 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.3154, allocations: 295.5 kB / 0.6631 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.3156, allocations: 55.97 kB / 0.6631 GB, free: 12.35 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (124): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006402/0.3162, allocations: 356.8 kB / 0.6635 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000408/0.3166, allocations: 75.16 kB / 0.6635 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008891/0.3255, allocations: 3.107 MB / 0.6666 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.3256, allocations: 12 kB / 0.6666 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/0.3256, allocations: 4 kB / 0.6666 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.3256, allocations: 7.984 kB / 0.6666 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.3373, allocations: 5.043 MB / 0.6715 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.3374, allocations: 4 kB / 0.6715 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.339, allocations: 364 kB / 0.6719 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003698/0.3427, allocations: 1.006 MB / 0.6728 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/0.3428, allocations: 35.97 kB / 0.6729 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/0.353, allocations: 8.876 MB / 0.6816 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-05/0.3531, allocations: 11.92 kB / 0.6816 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008873/0.3619, allocations: 3.506 MB / 0.685 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/0.3627, allocations: 312 kB / 0.6853 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.3628, allocations: 27.98 kB / 0.6853 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/0.3645, allocations: 291.5 kB / 0.6856 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/0.3648, allocations: 91.72 kB / 0.6857 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.86e-05/0.3649, allocations: 39.97 kB / 0.6857 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004993/0.3654, allocations: 366.8 kB / 0.6861 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3655, allocations: 0 / 0.6861 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002259/0.3677, allocations: 0.5078 MB / 0.6866 GB, free: 3.375 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000289/0.368, allocations: 131.1 kB / 0.6867 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01282/0.3808, allocations: 4.972 MB / 0.6915 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/0.3809, allocations: 8.25 kB / 0.6915 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003932/0.3849, allocations: 1.742 MB / 0.6932 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/0.3857, allocations: 97 kB / 0.6933 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009737/0.3955, allocations: 3.549 MB / 0.6968 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/0.3962, allocations: 1.055 MB / 0.6978 GB, free: 7.555 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001903/0.3981, allocations: 0.4982 MB / 0.6983 GB, free: 7.051 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.3984, allocations: 75.38 kB / 0.6984 GB, free: 6.977 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.3984, allocations: 0 / 0.6984 GB, free: 6.977 MB / 0.545 GB Notification: Performance of Templates: time 0.3078/0.7063, allocations: 19.7 MB / 0.7176 GB, free: 102.9 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) Environment - environmentSimulation: