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.4265/0.4272, allocations: 82.2 MB / 0.5935 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.002902/0.4302, allocations: 2.896 MB / 0.5963 GB, free: 18.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.4325, allocations: 2.143 MB / 0.5984 GB, free: 16.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.4326, allocations: 11.88 kB / 0.5984 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.4328, allocations: 47.64 kB / 0.5985 GB, free: 16.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.4332, allocations: 179.2 kB / 0.5986 GB, free: 16.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.4337, allocations: 225 kB / 0.5988 GB, free: 16.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.434, allocations: 444.5 kB / 0.5993 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/0.4345, allocations: 306.3 kB / 0.5996 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.4346, allocations: 131.5 kB / 0.5997 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.4349, allocations: 173.2 kB / 0.5998 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.4349, allocations: 12 kB / 0.5999 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.4352, allocations: 259.6 kB / 0.6001 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.026e-05/0.4353, allocations: 93.02 kB / 0.6002 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.4354, allocations: 69.58 kB / 0.6003 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.4357, allocations: 375.1 kB / 0.6006 GB, free: 14.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4357, allocations: 3.984 kB / 0.6006 GB, free: 14.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4357, allocations: 0.5625 kB / 0.6006 GB, free: 14.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.4357, allocations: 1.281 kB / 0.6006 GB, free: 14.19 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.0007251/0.4364, allocations: 0.5634 MB / 0.6012 GB, free: 13.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.4365, allocations: 8.031 kB / 0.6012 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007158/0.4372, allocations: 121.5 kB / 0.6013 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.4375, allocations: 270.6 kB / 0.6016 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4375, allocations: 16.38 kB / 0.6016 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.4375, allocations: 27.98 kB / 0.6016 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.4381, allocations: 411.2 kB / 0.602 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4381, allocations: 4.562 kB / 0.602 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.4381, allocations: 12 kB / 0.602 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/0.4382, allocations: 37.62 kB / 0.602 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/0.4387, allocations: 359.8 kB / 0.6024 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.4404, allocations: 1.856 MB / 0.6042 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.4411, allocations: 353.6 kB / 0.6045 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.4414, allocations: 198 kB / 0.6047 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.936e-05/0.4415, allocations: 89.28 kB / 0.6048 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.4415, allocations: 38.69 kB / 0.6048 GB, free: 9.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.4415, allocations: 4 kB / 0.6048 GB, free: 9.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.004131/0.4457, allocations: 1.75 MB / 0.6066 GB, free: 7.781 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.4457, allocations: 85.03 kB / 0.6066 GB, free: 7.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.4459, allocations: 240.9 kB / 0.6069 GB, free: 7.434 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.4459, allocations: 29.7 kB / 0.6069 GB, free: 7.398 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.446, allocations: 184 kB / 0.6071 GB, free: 7.215 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.4461, allocations: 110.3 kB / 0.6072 GB, free: 7.105 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.4461, allocations: 8 kB / 0.6072 GB, free: 7.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.284e-05/0.4461, allocations: 338.8 kB / 0.6075 GB, free: 6.758 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.4465, allocations: 208.7 kB / 0.6077 GB, free: 6.555 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.4468, allocations: 309.1 kB / 0.608 GB, free: 6.211 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.4471, allocations: 243.7 kB / 0.6082 GB, free: 5.973 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4472, allocations: 4 kB / 0.6082 GB, free: 5.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009754/0.4481, allocations: 0.6655 MB / 0.6089 GB, free: 5.285 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.517e-05/0.4482, allocations: 180.3 kB / 0.6091 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4482, allocations: 4 kB / 0.6091 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004439/0.4487, allocations: 151.3 kB / 0.6092 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.449, allocations: 103.8 kB / 0.6093 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.4511, allocations: 3.946 MB / 0.6132 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.4514, allocations: 40.12 kB / 0.6132 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.4514, allocations: 20 kB / 0.6132 GB, free: 484 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.3e-06/0.4514, allocations: 4 kB / 0.6132 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001014/0.4524, allocations: 0.624 MB / 0.6138 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.4525, allocations: 16.02 kB / 0.6138 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003386/0.4528, allocations: 143.3 kB / 0.614 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.4532, allocations: 95.88 kB / 0.6141 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006543/0.4539, allocations: 1.109 MB / 0.6152 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.4541, allocations: 44.11 kB / 0.6152 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.4542, allocations: 15.98 kB / 0.6152 GB, free: 14.35 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 (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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002607/0.4544, allocations: 256.9 kB / 0.6155 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.4545, allocations: 23.72 kB / 0.6155 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.4557, allocations: 0.6205 MB / 0.6161 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.4557, allocations: 4 kB / 0.6161 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.4557, allocations: 0 / 0.6161 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4558, allocations: 3.984 kB / 0.6161 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.4578, allocations: 1.346 MB / 0.6174 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4578, allocations: 0 / 0.6174 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.4581, allocations: 75.83 kB / 0.6175 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003884/0.4585, allocations: 155.4 kB / 0.6176 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.4585, allocations: 12 kB / 0.6176 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002812/0.4613, allocations: 3.95 MB / 0.6215 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4614, allocations: 4 kB / 0.6215 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.4626, allocations: 0.7973 MB / 0.6223 GB, free: 6.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.4628, allocations: 140.7 kB / 0.6224 GB, free: 6.434 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.4628, allocations: 15.95 kB / 0.6224 GB, free: 6.418 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.4631, allocations: 36.05 kB / 0.6225 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4632, allocations: 31.95 kB / 0.6225 GB, free: 6.352 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.4632, allocations: 16 kB / 0.6225 GB, free: 6.336 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.4634, allocations: 168.5 kB / 0.6227 GB, free: 6.172 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4634, allocations: 0 / 0.6227 GB, free: 6.172 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007952/0.4642, allocations: 160 kB / 0.6228 GB, free: 6.016 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 (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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002455/0.4645, allocations: 135.2 kB / 0.623 GB, free: 5.875 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.4663, allocations: 1.206 MB / 0.6241 GB, free: 4.602 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4663, allocations: 0 / 0.6241 GB, free: 4.602 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006579/0.467, allocations: 0.4941 MB / 0.6246 GB, free: 4.082 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007088/0.4677, allocations: 69.33 kB / 0.6247 GB, free: 4.016 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.469, allocations: 0.8624 MB / 0.6255 GB, free: 3.105 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.4694, allocations: 0.8123 MB / 0.6263 GB, free: 2.266 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003409/0.4698, allocations: 110.9 kB / 0.6264 GB, free: 2.152 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.4699, allocations: 27.44 kB / 0.6264 GB, free: 2.125 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4699, allocations: 0 / 0.6264 GB, free: 2.125 MB / 462.1 MB Notification: Performance of Templates: time 0.009261/0.4791, allocations: 5.514 MB / 0.6318 GB, free: 12.67 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: