Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") [/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.1958/0.1966, allocations: 82.23 MB / 0.5941 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.00451/0.2012, allocations: 3.204 MB / 0.5973 GB, free: 2.348 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.2043, allocations: 1.808 MB / 0.599 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.2045, allocations: 7.938 kB / 0.599 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.2047, allocations: 31.72 kB / 0.5991 GB, free: 500 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005703/0.2053, allocations: 195.2 kB / 0.5992 GB, free: 304 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000691/0.206, allocations: 223.5 kB / 0.5995 GB, free: 80 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005331/0.2066, allocations: 498.6 kB / 0.5999 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008079/0.2074, allocations: 418.8 kB / 0.6003 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.2077, allocations: 131.5 kB / 0.6005 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.208, allocations: 175.3 kB / 0.6006 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.208, allocations: 12 kB / 0.6006 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005112/0.2086, allocations: 307.4 kB / 0.6009 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.61e-05/0.2087, allocations: 79.72 kB / 0.601 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.2088, allocations: 149 kB / 0.6012 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.2094, allocations: 466.4 kB / 0.6016 GB, free: 13.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2094, allocations: 4 kB / 0.6016 GB, free: 13.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2094, allocations: 0 / 0.6016 GB, free: 13.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.2094, allocations: 3.938 kB / 0.6016 GB, free: 13.86 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001164/0.2106, allocations: 0.602 MB / 0.6022 GB, free: 13.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2106, allocations: 12.02 kB / 0.6022 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007187/0.2113, allocations: 96.47 kB / 0.6023 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.2117, allocations: 283.2 kB / 0.6026 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.2117, allocations: 12.81 kB / 0.6026 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.2118, allocations: 20.38 kB / 0.6026 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000781/0.2126, allocations: 426.9 kB / 0.603 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.2126, allocations: 4 kB / 0.603 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.2127, allocations: 12 kB / 0.603 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/0.2127, allocations: 20.36 kB / 0.603 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009093/0.2136, allocations: 416.8 kB / 0.6034 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.2155, allocations: 1.418 MB / 0.6048 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.2167, allocations: 492.9 kB / 0.6053 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/0.2171, allocations: 210.2 kB / 0.6055 GB, free: 9.648 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.2173, allocations: 85.11 kB / 0.6056 GB, free: 9.547 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005698/0.2179, allocations: 276.2 kB / 0.6058 GB, free: 9.262 MB / 462.1 MB Notification: Performance of pre-optimization done (n=27): time 1.713e-06/0.2179, allocations: 4 kB / 0.6058 GB, free: 9.258 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002053/0.22, allocations: 0.7847 MB / 0.6066 GB, free: 8.445 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.2201, allocations: 81.3 kB / 0.6067 GB, free: 8.348 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.2203, allocations: 228.9 kB / 0.6069 GB, free: 8.113 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.2204, allocations: 33.7 kB / 0.6069 GB, free: 8.074 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.2205, allocations: 168.3 kB / 0.6071 GB, free: 7.906 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.042e-05/0.2206, allocations: 94.66 kB / 0.6072 GB, free: 7.812 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.2206, allocations: 33.7 kB / 0.6072 GB, free: 7.773 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2208, allocations: 334.8 kB / 0.6075 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004314/0.2212, allocations: 184.2 kB / 0.6077 GB, free: 7.258 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.2217, allocations: 262.3 kB / 0.608 GB, free: 6.973 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009117/0.2226, allocations: 482.4 kB / 0.6084 GB, free: 6.465 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2226, allocations: 4 kB / 0.6084 GB, free: 6.461 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001212/0.2238, allocations: 0.5594 MB / 0.609 GB, free: 5.887 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.224, allocations: 191.4 kB / 0.6092 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.224, allocations: 4 kB / 0.6092 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002649/0.2243, allocations: 36.83 kB / 0.6092 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.2247, allocations: 87.86 kB / 0.6093 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.2261, allocations: 1.505 MB / 0.6107 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.2265, allocations: 55.86 kB / 0.6108 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.2266, allocations: 12 kB / 0.6108 GB, free: 3.816 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.2266, allocations: 9.969 kB / 0.6108 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001111/0.2277, allocations: 0.5029 MB / 0.6113 GB, free: 3.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2277, allocations: 3.938 kB / 0.6113 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/0.2278, allocations: 44.81 kB / 0.6114 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.2282, allocations: 83.88 kB / 0.6114 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.2296, allocations: 1.473 MB / 0.6129 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.2299, allocations: 63.83 kB / 0.6129 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.23, allocations: 8 kB / 0.6129 GB, free: 1.484 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003182/0.2303, allocations: 245.6 kB / 0.6132 GB, free: 1.234 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.2304, allocations: 27.66 kB / 0.6132 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.2315, allocations: 497 kB / 0.6137 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2315, allocations: 4 kB / 0.6137 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2315, allocations: 144 / 0.6137 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.2315, allocations: 7.984 kB / 0.6137 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.2322, allocations: 0.5739 MB / 0.6143 GB, free: 68 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2322, allocations: 0 / 0.6143 GB, free: 68 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.2326, allocations: 79.97 kB / 0.6143 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/0.2327, allocations: 32.94 kB / 0.6144 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.2328, allocations: 19.98 kB / 0.6144 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.2338, allocations: 1.409 MB / 0.6158 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2338, allocations: 4.062 kB / 0.6158 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.2349, allocations: 0.5614 MB / 0.6163 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.235, allocations: 144.7 kB / 0.6164 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.2351, allocations: 4 kB / 0.6164 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.2354, allocations: 39.95 kB / 0.6165 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.2355, allocations: 35.89 kB / 0.6165 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.2356, allocations: 8 kB / 0.6165 GB, free: 13.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.2357, allocations: 176.5 kB / 0.6167 GB, free: 13.38 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2357, allocations: 0 / 0.6167 GB, free: 13.38 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006384/0.2364, allocations: 124 kB / 0.6168 GB, free: 13.25 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001701/0.2366, allocations: 115.1 kB / 0.6169 GB, free: 13.13 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.2385, allocations: 1.016 MB / 0.6179 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2386, allocations: 0 / 0.6179 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006346/0.2392, allocations: 342.8 kB / 0.6182 GB, free: 11.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.2397, allocations: 48.34 kB / 0.6183 GB, free: 11.67 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.2413, allocations: 0.8359 MB / 0.6191 GB, free: 10.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.2417, allocations: 0.7878 MB / 0.6199 GB, free: 9.984 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003068/0.242, allocations: 102.3 kB / 0.62 GB, free: 9.887 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.2421, allocations: 27.44 kB / 0.62 GB, free: 9.859 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.2421, allocations: 0 / 0.62 GB, free: 9.859 MB / 478.1 MB Notification: Performance of Templates: time 0.008757/0.2509, allocations: 4.132 MB / 0.624 GB, free: 5.785 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) Environment - environmentSimulation: