Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.1943/0.1951, allocations: 82.22 MB / 0.5935 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.003828/0.199, allocations: 2.933 MB / 0.5963 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.2022, allocations: 2.138 MB / 0.5984 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.2025, allocations: 11.94 kB / 0.5984 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.2027, allocations: 43.7 kB / 0.5985 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006027/0.2033, allocations: 183.1 kB / 0.5987 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.204, allocations: 219.4 kB / 0.5989 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004332/0.2044, allocations: 442.6 kB / 0.5993 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004848/0.2049, allocations: 313.5 kB / 0.5996 GB, free: 9.148 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.2051, allocations: 127.5 kB / 0.5997 GB, free: 9.023 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.2055, allocations: 179.4 kB / 0.5999 GB, free: 8.848 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.2055, allocations: 12 kB / 0.5999 GB, free: 8.836 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.206, allocations: 263.6 kB / 0.6001 GB, free: 8.578 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.2061, allocations: 79.77 kB / 0.6002 GB, free: 8.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.108e-05/0.2062, allocations: 77.52 kB / 0.6003 GB, free: 8.418 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.2066, allocations: 371.1 kB / 0.6006 GB, free: 8.055 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2066, allocations: 0 / 0.6006 GB, free: 8.055 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2066, allocations: 0 / 0.6006 GB, free: 8.055 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2066, allocations: 0 / 0.6006 GB, free: 8.055 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.00102/0.2077, allocations: 0.5612 MB / 0.6012 GB, free: 7.445 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.2077, allocations: 12.83 kB / 0.6012 GB, free: 7.434 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000872/0.2086, allocations: 119.5 kB / 0.6013 GB, free: 7.316 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.209, allocations: 274.4 kB / 0.6016 GB, free: 7.008 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.209, allocations: 20.42 kB / 0.6016 GB, free: 6.988 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.2091, allocations: 24 kB / 0.6016 GB, free: 6.965 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006889/0.2098, allocations: 415.5 kB / 0.602 GB, free: 6.527 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2098, allocations: 7.938 kB / 0.602 GB, free: 6.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.2098, allocations: 8 kB / 0.602 GB, free: 6.512 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.342e-05/0.2099, allocations: 36.53 kB / 0.6021 GB, free: 6.477 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006091/0.2105, allocations: 349.9 kB / 0.6024 GB, free: 6.137 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.2127, allocations: 1.853 MB / 0.6042 GB, free: 4.141 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008171/0.2135, allocations: 361 kB / 0.6046 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/0.2139, allocations: 198 kB / 0.6047 GB, free: 3.574 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.214, allocations: 93.22 kB / 0.6048 GB, free: 3.465 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.2141, allocations: 30.75 kB / 0.6049 GB, free: 3.426 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.342e-06/0.2141, allocations: 0 / 0.6049 GB, free: 3.426 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00307/0.2171, allocations: 1.265 MB / 0.6061 GB, free: 2.113 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.2172, allocations: 81.34 kB / 0.6062 GB, free: 2.016 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.2175, allocations: 232.9 kB / 0.6064 GB, free: 1.781 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.2175, allocations: 33.7 kB / 0.6064 GB, free: 1.742 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.2177, allocations: 180.1 kB / 0.6066 GB, free: 1.562 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.453e-05/0.2177, allocations: 102.5 kB / 0.6067 GB, free: 1.461 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.2178, allocations: 11.94 kB / 0.6067 GB, free: 1.449 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2179, allocations: 330.8 kB / 0.607 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.2183, allocations: 163.9 kB / 0.6072 GB, free: 0.957 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.2187, allocations: 272.8 kB / 0.6074 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.2191, allocations: 203.9 kB / 0.6076 GB, free: 456 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2191, allocations: 0 / 0.6076 GB, free: 456 kB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001126/0.2202, allocations: 0.5425 MB / 0.6082 GB, free: 15.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.2204, allocations: 180.3 kB / 0.6083 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2204, allocations: 4 kB / 0.6083 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003484/0.2207, allocations: 77.59 kB / 0.6084 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.2211, allocations: 95.88 kB / 0.6085 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.2228, allocations: 1.962 MB / 0.6104 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.2231, allocations: 31.97 kB / 0.6105 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.2231, allocations: 19.98 kB / 0.6105 GB, free: 13.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.2232, allocations: 4 kB / 0.6105 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009837/0.2241, allocations: 0.5033 MB / 0.611 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2242, allocations: 4 kB / 0.611 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/0.2244, allocations: 77.83 kB / 0.611 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.2248, allocations: 95.81 kB / 0.6111 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000341/0.2251, allocations: 0.5484 MB / 0.6117 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.2254, allocations: 40.06 kB / 0.6117 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.2254, allocations: 12 kB / 0.6117 GB, free: 12 MB / 478.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 (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002444/0.2257, allocations: 245.8 kB / 0.612 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.933e-05/0.2258, allocations: 27.67 kB / 0.612 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.2268, allocations: 486.4 kB / 0.6124 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.2268, allocations: 8 kB / 0.6125 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2268, allocations: 3.938 kB / 0.6125 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.2268, allocations: 3.984 kB / 0.6125 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.2287, allocations: 1.125 MB / 0.6136 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.2287, allocations: 256 / 0.6136 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.229, allocations: 71.89 kB / 0.6136 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002338/0.2292, allocations: 73.66 kB / 0.6137 GB, free: 9.844 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.2292, allocations: 8 kB / 0.6137 GB, free: 9.836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.2307, allocations: 1.969 MB / 0.6156 GB, free: 7.703 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2307, allocations: 8.094 kB / 0.6156 GB, free: 7.695 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009575/0.2316, allocations: 0.6514 MB / 0.6163 GB, free: 6.996 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.2318, allocations: 128.7 kB / 0.6164 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.2318, allocations: 15.92 kB / 0.6164 GB, free: 6.836 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.2321, allocations: 35.97 kB / 0.6164 GB, free: 6.801 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.2322, allocations: 27.92 kB / 0.6165 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.2322, allocations: 12 kB / 0.6165 GB, free: 6.762 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.2324, allocations: 164.5 kB / 0.6166 GB, free: 6.602 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2324, allocations: 0 / 0.6166 GB, free: 6.602 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007051/0.2331, allocations: 128 kB / 0.6168 GB, free: 6.477 MB / 478.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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003254/0.2334, allocations: 123.2 kB / 0.6169 GB, free: 6.348 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001739/0.2352, allocations: 0.8329 MB / 0.6177 GB, free: 5.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.2352, allocations: 0 / 0.6177 GB, free: 5.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005978/0.2358, allocations: 311.5 kB / 0.618 GB, free: 5.164 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.2365, allocations: 64.36 kB / 0.6181 GB, free: 5.102 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.2381, allocations: 0.7812 MB / 0.6188 GB, free: 4.281 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.2387, allocations: 0.7884 MB / 0.6196 GB, free: 3.465 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003542/0.239, allocations: 106.9 kB / 0.6197 GB, free: 3.359 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/0.2391, allocations: 27.38 kB / 0.6197 GB, free: 3.332 MB / 478.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2391, allocations: 0 / 0.6197 GB, free: 3.332 MB / 478.1 MB Notification: Performance of Templates: time 0.009094/0.2482, allocations: 3.963 MB / 0.6236 GB, free: 15.43 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) Environment - environmentSimulation: