Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.ACDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") [/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.5052/0.5075, allocations: 80.82 MB / 0.5904 GB, free: 22.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005594/0.5131, allocations: 3.323 MB / 0.5937 GB, free: 19.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003389/0.5166, allocations: 2.315 MB / 0.5959 GB, free: 17.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.5168, allocations: 7.938 kB / 0.5959 GB, free: 17.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009005/0.5177, allocations: 286.1 kB / 0.5962 GB, free: 16.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.5183, allocations: 252 kB / 0.5964 GB, free: 16.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007507/0.5191, allocations: 306 kB / 0.5967 GB, free: 16.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.5194, allocations: 384.4 kB / 0.5971 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003434/0.5198, allocations: 201.8 kB / 0.5973 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.52, allocations: 151.5 kB / 0.5974 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.5203, allocations: 191.2 kB / 0.5976 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.5203, allocations: 24 kB / 0.5976 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005676/0.5209, allocations: 419.2 kB / 0.598 GB, free: 15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-05/0.521, allocations: 94.2 kB / 0.5981 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.5211, allocations: 143.2 kB / 0.5983 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.5217, allocations: 0.5025 MB / 0.5988 GB, free: 14.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5217, allocations: 4 kB / 0.5988 GB, free: 14.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5217, allocations: 0 / 0.5988 GB, free: 14.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.5217, allocations: 0 / 0.5988 GB, free: 14.26 MB / 446.1 MB 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.0009872/0.5227, allocations: 0.6003 MB / 0.5994 GB, free: 13.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5227, allocations: 11.98 kB / 0.5994 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008473/0.5236, allocations: 124.4 kB / 0.5995 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.5239, allocations: 275.7 kB / 0.5997 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.5239, allocations: 12.81 kB / 0.5998 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.524, allocations: 28.11 kB / 0.5998 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.5246, allocations: 415.5 kB / 0.6002 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.5246, allocations: 0 / 0.6002 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.5246, allocations: 11.98 kB / 0.6002 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.193e-05/0.5247, allocations: 32.53 kB / 0.6002 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.5252, allocations: 353.9 kB / 0.6006 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.5271, allocations: 1.853 MB / 0.6024 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.5278, allocations: 345.7 kB / 0.6027 GB, free: 9.953 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.5282, allocations: 197.5 kB / 0.6029 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-05/0.5283, allocations: 85.09 kB / 0.603 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.5283, allocations: 34.56 kB / 0.603 GB, free: 9.609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.054e-06/0.5283, allocations: 0 / 0.603 GB, free: 9.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.004568/0.5329, allocations: 1.585 MB / 0.6046 GB, free: 7.992 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.5329, allocations: 85.09 kB / 0.6046 GB, free: 7.891 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.5331, allocations: 229 kB / 0.6049 GB, free: 7.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.5332, allocations: 37.7 kB / 0.6049 GB, free: 7.617 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.562e-05/0.5333, allocations: 184 kB / 0.6051 GB, free: 7.434 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.008e-05/0.5334, allocations: 118.2 kB / 0.6052 GB, free: 7.316 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.5335, allocations: 82.03 kB / 0.6053 GB, free: 7.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.5336, allocations: 338.8 kB / 0.6056 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/0.5339, allocations: 198.5 kB / 0.6058 GB, free: 6.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.5343, allocations: 305 kB / 0.6061 GB, free: 6.352 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000686/0.535, allocations: 0.5085 MB / 0.6066 GB, free: 5.801 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.535, allocations: 4 kB / 0.6066 GB, free: 5.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001094/0.5361, allocations: 0.6525 MB / 0.6072 GB, free: 5.125 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.5361, allocations: 8 kB / 0.6072 GB, free: 5.117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5361, allocations: 4 kB / 0.6072 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/0.5367, allocations: 151.4 kB / 0.6074 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.5371, allocations: 87.88 kB / 0.6074 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003193/0.5403, allocations: 4.178 MB / 0.6115 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.5407, allocations: 35.86 kB / 0.6116 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.5407, allocations: 16 kB / 0.6116 GB, free: 312 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005473/0.5413, allocations: 321 kB / 0.6119 GB, free: 15.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000504/0.5418, allocations: 305 kB / 0.6122 GB, free: 15.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009187/0.5427, allocations: 0.5114 MB / 0.6127 GB, free: 15.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.5427, allocations: 0 / 0.6127 GB, free: 15.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.00132/0.5441, allocations: 0.6525 MB / 0.6133 GB, free: 14.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.5441, allocations: 8 kB / 0.6133 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.5441, allocations: 4 kB / 0.6133 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/0.5445, allocations: 143.5 kB / 0.6134 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.5449, allocations: 95.81 kB / 0.6135 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.5479, allocations: 4.163 MB / 0.6176 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.5483, allocations: 32 kB / 0.6176 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.5483, allocations: 27.92 kB / 0.6177 GB, free: 9.605 MB / 462.1 MB 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.0002221/0.5486, allocations: 208.1 kB / 0.6179 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.264e-05/0.5487, allocations: 31.62 kB / 0.6179 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.55, allocations: 0.605 MB / 0.6185 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.55, allocations: 4 kB / 0.6185 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.55, allocations: 0 / 0.6185 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.55, allocations: 7.922 kB / 0.6185 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.5522, allocations: 1.317 MB / 0.6198 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5522, allocations: 4 kB / 0.6198 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.5525, allocations: 68.14 kB / 0.6198 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/0.5529, allocations: 147.3 kB / 0.62 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.5529, allocations: 12 kB / 0.62 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/0.556, allocations: 4.186 MB / 0.6241 GB, free: 2.543 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5561, allocations: 4.156 kB / 0.6241 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.5573, allocations: 0.7778 MB / 0.6249 GB, free: 1.707 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.5575, allocations: 144.7 kB / 0.625 GB, free: 1.547 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.5575, allocations: 11.94 kB / 0.625 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.5578, allocations: 31.95 kB / 0.625 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.5579, allocations: 35.84 kB / 0.6251 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.558, allocations: 12 kB / 0.6251 GB, free: 1.457 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.5582, allocations: 168.5 kB / 0.6252 GB, free: 1.297 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5582, allocations: 4 kB / 0.6252 GB, free: 1.293 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008505/0.559, allocations: 164 kB / 0.6254 GB, free: 1.133 MB / 462.1 MB 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.0002718/0.5593, allocations: 135.2 kB / 0.6255 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0022/0.5615, allocations: 1.265 MB / 0.6268 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5615, allocations: 0 / 0.6268 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007334/0.5623, allocations: 498.2 kB / 0.6272 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.5628, allocations: 58.48 kB / 0.6273 GB, free: 15.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.5641, allocations: 0.7665 MB / 0.628 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.5646, allocations: 0.8084 MB / 0.6288 GB, free: 13.46 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003296/0.5649, allocations: 110.9 kB / 0.6289 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.565, allocations: 23.44 kB / 0.629 GB, free: 13.32 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.565, allocations: 3.938 kB / 0.629 GB, free: 13.32 MB / 478.1 MB Notification: Performance of Templates: time 0.01243/0.5774, allocations: 6.327 MB / 0.6351 GB, free: 7.07 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)