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.2043/0.205, allocations: 82.23 MB / 0.5941 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004436/0.2095, allocations: 3.002 MB / 0.5971 GB, free: 2.516 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003952/0.2135, allocations: 2.281 MB / 0.5993 GB, free: 228 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002684/0.2138, allocations: 11.94 kB / 0.5993 GB, free: 216 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.2141, allocations: 35.7 kB / 0.5993 GB, free: 180 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009533/0.2151, allocations: 239 kB / 0.5996 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.2161, allocations: 267.4 kB / 0.5998 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007762/0.2169, allocations: 0.5259 MB / 0.6003 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007348/0.2177, allocations: 341 kB / 0.6007 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.218, allocations: 123.5 kB / 0.6008 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005274/0.2186, allocations: 183.3 kB / 0.6009 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.2186, allocations: 12 kB / 0.601 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.2197, allocations: 0.4912 MB / 0.6014 GB, free: 13.99 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.2199, allocations: 87.72 kB / 0.6015 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.2201, allocations: 153 kB / 0.6017 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.2212, allocations: 0.514 MB / 0.6022 GB, free: 13.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2213, allocations: 0 / 0.6022 GB, free: 13.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.31e-06/0.2213, allocations: 0 / 0.6022 GB, free: 13.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.2213, allocations: 3.938 kB / 0.6022 GB, free: 13.23 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.00137/0.2227, allocations: 0.5575 MB / 0.6027 GB, free: 12.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.2227, allocations: 12.03 kB / 0.6027 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.2239, allocations: 124.4 kB / 0.6028 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.2244, allocations: 275.7 kB / 0.6031 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2244, allocations: 16.81 kB / 0.6031 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.2245, allocations: 28.06 kB / 0.6032 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008142/0.2253, allocations: 419.5 kB / 0.6036 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.2253, allocations: 4 kB / 0.6036 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.2254, allocations: 4 kB / 0.6036 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-05/0.2255, allocations: 36.53 kB / 0.6036 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/0.2262, allocations: 361.9 kB / 0.6039 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.229, allocations: 1.857 MB / 0.6058 GB, free: 9.301 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008329/0.2298, allocations: 353.1 kB / 0.6061 GB, free: 8.938 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.2303, allocations: 197.6 kB / 0.6063 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.2304, allocations: 89.09 kB / 0.6064 GB, free: 8.633 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.2305, allocations: 42.5 kB / 0.6064 GB, free: 8.582 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 3.547e-06/0.2305, allocations: 0 / 0.6064 GB, free: 8.582 MB / 462.1 MB Notification: Performance of matching and sorting (n=34): time 0.0055/0.236, allocations: 1.754 MB / 0.6081 GB, free: 6.793 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.236, allocations: 85.11 kB / 0.6082 GB, free: 6.691 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.2363, allocations: 236.9 kB / 0.6084 GB, free: 6.449 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.2364, allocations: 29.7 kB / 0.6085 GB, free: 6.414 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.2365, allocations: 188 kB / 0.6086 GB, free: 6.227 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.641e-05/0.2366, allocations: 114.3 kB / 0.6087 GB, free: 6.113 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.2367, allocations: 37.7 kB / 0.6088 GB, free: 6.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2368, allocations: 338.8 kB / 0.6091 GB, free: 5.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.2372, allocations: 200.7 kB / 0.6093 GB, free: 5.535 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.2377, allocations: 321 kB / 0.6096 GB, free: 5.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008527/0.2385, allocations: 0.5308 MB / 0.6101 GB, free: 4.605 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2385, allocations: 4 kB / 0.6101 GB, free: 4.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001333/0.2399, allocations: 0.6809 MB / 0.6108 GB, free: 3.902 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.24, allocations: 180.3 kB / 0.611 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.24, allocations: 4 kB / 0.611 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005083/0.2406, allocations: 151.2 kB / 0.6111 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.241, allocations: 99.88 kB / 0.6112 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/0.2442, allocations: 3.95 MB / 0.6151 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.2447, allocations: 39.86 kB / 0.6151 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.2448, allocations: 16 kB / 0.6151 GB, free: 15.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2448, allocations: 4 kB / 0.6151 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00143/0.2463, allocations: 0.6355 MB / 0.6157 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2463, allocations: 0 / 0.6157 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004149/0.2467, allocations: 147.5 kB / 0.6159 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.2471, allocations: 91.88 kB / 0.616 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007454/0.2479, allocations: 1.116 MB / 0.6171 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/0.2482, allocations: 35.95 kB / 0.6171 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.2483, allocations: 20 kB / 0.6171 GB, free: 12.97 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 (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.0004206/0.2487, allocations: 250 kB / 0.6173 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.2488, allocations: 27.66 kB / 0.6174 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.2503, allocations: 0.6326 MB / 0.618 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.2503, allocations: 4 kB / 0.618 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.2503, allocations: 4 kB / 0.618 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2503, allocations: 3.938 kB / 0.618 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.2528, allocations: 1.339 MB / 0.6193 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.2528, allocations: 4 kB / 0.6193 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.2531, allocations: 68.14 kB / 0.6194 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/0.2536, allocations: 155.2 kB / 0.6195 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.2536, allocations: 8 kB / 0.6195 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002855/0.2565, allocations: 3.969 MB / 0.6234 GB, free: 6.047 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2565, allocations: 7.938 kB / 0.6234 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.2578, allocations: 0.7932 MB / 0.6242 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.258, allocations: 136.8 kB / 0.6243 GB, free: 5.039 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.258, allocations: 8 kB / 0.6243 GB, free: 5.031 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003069/0.2583, allocations: 43.97 kB / 0.6244 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.2585, allocations: 31.89 kB / 0.6244 GB, free: 4.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.2585, allocations: 15.94 kB / 0.6244 GB, free: 4.941 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.2587, allocations: 168.5 kB / 0.6246 GB, free: 4.777 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2587, allocations: 4 kB / 0.6246 GB, free: 4.773 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000791/0.2595, allocations: 156 kB / 0.6247 GB, free: 4.621 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 (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.0002599/0.2597, allocations: 139.1 kB / 0.6249 GB, free: 4.477 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002073/0.2618, allocations: 1.201 MB / 0.626 GB, free: 3.207 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2618, allocations: 0 / 0.626 GB, free: 3.207 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007478/0.2626, allocations: 0.502 MB / 0.6265 GB, free: 2.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/0.2633, allocations: 62.48 kB / 0.6266 GB, free: 2.625 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.2647, allocations: 0.8861 MB / 0.6275 GB, free: 1.688 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.2651, allocations: 0.8123 MB / 0.6282 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.2655, allocations: 106.9 kB / 0.6283 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.2656, allocations: 31.42 kB / 0.6284 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2656, allocations: 0 / 0.6284 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of Templates: time 0.01076/0.2763, allocations: 5.671 MB / 0.6339 GB, free: 11.11 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: