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.1687/0.1694, allocations: 82.22 MB / 0.5934 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003722/0.1731, allocations: 2.825 MB / 0.5961 GB, free: 3.121 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003101/0.1763, allocations: 2.107 MB / 0.5982 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.1764, allocations: 7.938 kB / 0.5982 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.1766, allocations: 31.77 kB / 0.5982 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004566/0.177, allocations: 171.4 kB / 0.5984 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.1776, allocations: 223.3 kB / 0.5986 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.1779, allocations: 223.5 kB / 0.5988 GB, free: 368 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005015/0.1784, allocations: 317.4 kB / 0.5991 GB, free: 24 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.1786, allocations: 119.6 kB / 0.5992 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.1789, allocations: 119.5 kB / 0.5994 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.1789, allocations: 12 kB / 0.5994 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000419/0.1793, allocations: 255.6 kB / 0.5996 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.1794, allocations: 75.8 kB / 0.5997 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.1795, allocations: 77.52 kB / 0.5998 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.1799, allocations: 367.2 kB / 0.6001 GB, free: 15.01 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1799, allocations: 0 / 0.6001 GB, free: 15.01 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1799, allocations: 0 / 0.6001 GB, free: 15.01 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1799, allocations: 0 / 0.6001 GB, free: 15.01 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008661/0.1808, allocations: 0.5642 MB / 0.6007 GB, free: 14.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1809, allocations: 8.031 kB / 0.6007 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008482/0.1817, allocations: 135.5 kB / 0.6008 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.1821, allocations: 278.4 kB / 0.6011 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1821, allocations: 20.42 kB / 0.6011 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.1822, allocations: 16 kB / 0.6011 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006668/0.1829, allocations: 415.5 kB / 0.6015 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1829, allocations: 0 / 0.6015 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.1829, allocations: 15.98 kB / 0.6015 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-05/0.183, allocations: 32.53 kB / 0.6015 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/0.1836, allocations: 361.9 kB / 0.6019 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.186, allocations: 1.861 MB / 0.6037 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007566/0.1868, allocations: 353.7 kB / 0.604 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.1869, allocations: 89.23 kB / 0.6041 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1869, allocations: 38.75 kB / 0.6042 GB, free: 10.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.1869, allocations: 0 / 0.6042 GB, free: 10.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=34): time 0.004899/0.1918, allocations: 1.771 MB / 0.6059 GB, free: 8.754 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1919, allocations: 81.11 kB / 0.606 GB, free: 8.656 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.1921, allocations: 236.9 kB / 0.6062 GB, free: 8.414 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.1922, allocations: 29.7 kB / 0.6062 GB, free: 8.379 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1923, allocations: 184 kB / 0.6064 GB, free: 8.195 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.684e-05/0.1924, allocations: 114.3 kB / 0.6065 GB, free: 8.082 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/0.1924, allocations: 8 kB / 0.6065 GB, free: 8.074 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1925, allocations: 346.8 kB / 0.6068 GB, free: 7.727 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.1929, allocations: 204.7 kB / 0.607 GB, free: 7.527 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/0.1933, allocations: 312.2 kB / 0.6073 GB, free: 7.184 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.1938, allocations: 248.3 kB / 0.6076 GB, free: 6.941 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1938, allocations: 7.891 kB / 0.6076 GB, free: 6.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001219/0.195, allocations: 0.6835 MB / 0.6082 GB, free: 6.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004949/0.1955, allocations: 1.14 MB / 0.6094 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.1955, allocations: 4 kB / 0.6094 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004854/0.196, allocations: 143.3 kB / 0.6095 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.1964, allocations: 103.8 kB / 0.6096 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/0.1993, allocations: 3.969 MB / 0.6135 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.1997, allocations: 40.2 kB / 0.6135 GB, free: 428 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.1997, allocations: 20 kB / 0.6135 GB, free: 408 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1998, allocations: 4 kB / 0.6135 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001183/0.2009, allocations: 0.6355 MB / 0.6142 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.201, allocations: 8.031 kB / 0.6142 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/0.2013, allocations: 135.3 kB / 0.6143 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.2017, allocations: 107.8 kB / 0.6144 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006561/0.2024, allocations: 1.109 MB / 0.6155 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.2027, allocations: 40.14 kB / 0.6155 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.2028, allocations: 20 kB / 0.6155 GB, free: 14.27 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0002722/0.2031, allocations: 241 kB / 0.6158 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.73e-05/0.2031, allocations: 27.72 kB / 0.6158 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.2044, allocations: 0.6398 MB / 0.6164 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.2044, allocations: 4 kB / 0.6164 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2044, allocations: 4 kB / 0.6164 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2044, allocations: 0 / 0.6164 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.2065, allocations: 1.241 MB / 0.6176 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2066, allocations: 0 / 0.6176 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.2068, allocations: 72.11 kB / 0.6177 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003918/0.2072, allocations: 147.3 kB / 0.6178 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.2073, allocations: 11.98 kB / 0.6179 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002763/0.21, allocations: 3.993 MB / 0.6218 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.2101, allocations: 0 / 0.6218 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.2113, allocations: 0.8954 MB / 0.6226 GB, free: 6.449 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.2115, allocations: 136.7 kB / 0.6228 GB, free: 6.297 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.2116, allocations: 15.98 kB / 0.6228 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.2119, allocations: 35.97 kB / 0.6228 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/0.212, allocations: 31.95 kB / 0.6228 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.212, allocations: 15.95 kB / 0.6229 GB, free: 6.199 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.2122, allocations: 164.5 kB / 0.623 GB, free: 6.035 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.2122, allocations: 4 kB / 0.623 GB, free: 6.031 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007617/0.213, allocations: 163.9 kB / 0.6232 GB, free: 5.871 MB / 478.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 (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.0002182/0.2132, allocations: 135.2 kB / 0.6233 GB, free: 5.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.2152, allocations: 1.218 MB / 0.6245 GB, free: 4.445 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.2152, allocations: 4.125 kB / 0.6245 GB, free: 4.441 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007482/0.216, allocations: 0.4937 MB / 0.625 GB, free: 3.922 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.2164, allocations: 53.31 kB / 0.625 GB, free: 3.871 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2179, allocations: 0.8795 MB / 0.6259 GB, free: 2.949 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.2184, allocations: 0.8162 MB / 0.6267 GB, free: 2.105 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.2188, allocations: 118.9 kB / 0.6268 GB, free: 1.988 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.2188, allocations: 23.44 kB / 0.6268 GB, free: 1.965 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2189, allocations: 0 / 0.6268 GB, free: 1.965 MB / 478.1 MB Notification: Performance of Templates: time 0.009835/0.2287, allocations: 5.481 MB / 0.6322 GB, free: 12.55 MB / 494.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: