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.1987/0.1995, allocations: 82.21 MB / 0.5935 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.00493/0.2044, allocations: 3.084 MB / 0.5965 GB, free: 2.812 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003362/0.2079, allocations: 1.7 MB / 0.5982 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003025/0.2082, allocations: 8 kB / 0.5982 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.2085, allocations: 35.7 kB / 0.5982 GB, free: 1.059 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007484/0.2093, allocations: 151.3 kB / 0.5983 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007879/0.2101, allocations: 187.5 kB / 0.5985 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005317/0.2106, allocations: 406.7 kB / 0.5989 GB, free: 336 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007962/0.2114, allocations: 382.8 kB / 0.5993 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.2117, allocations: 127.5 kB / 0.5994 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.212, allocations: 179.4 kB / 0.5996 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.2121, allocations: 12 kB / 0.5996 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.2124, allocations: 139.8 kB / 0.5997 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2125, allocations: 83.77 kB / 0.5998 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.455e-05/0.2126, allocations: 69.52 kB / 0.5999 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.213, allocations: 339.1 kB / 0.6002 GB, free: 15 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.213, allocations: 4 kB / 0.6002 GB, free: 14.99 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.213, allocations: 0 / 0.6002 GB, free: 14.99 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2131, allocations: 0 / 0.6002 GB, free: 14.99 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.00131/0.2144, allocations: 0.6018 MB / 0.6008 GB, free: 14.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.2144, allocations: 12.03 kB / 0.6008 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007248/0.2152, allocations: 91.53 kB / 0.6009 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.2155, allocations: 282.9 kB / 0.6011 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.2156, allocations: 20.36 kB / 0.6012 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.2156, allocations: 16 kB / 0.6012 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007552/0.2164, allocations: 418.6 kB / 0.6016 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.2164, allocations: 7.938 kB / 0.6016 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.2165, allocations: 11.97 kB / 0.6016 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.832e-05/0.2165, allocations: 28.36 kB / 0.6016 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008216/0.2174, allocations: 412.7 kB / 0.602 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.2192, allocations: 1.402 MB / 0.6034 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.2203, allocations: 489 kB / 0.6038 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/0.2207, allocations: 210.2 kB / 0.604 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.2209, allocations: 93.03 kB / 0.6041 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005492/0.2215, allocations: 272.2 kB / 0.6044 GB, free: 10.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=27): time 1.583e-06/0.2215, allocations: 4 kB / 0.6044 GB, free: 10.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001845/0.2233, allocations: 0.7849 MB / 0.6052 GB, free: 9.602 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.2234, allocations: 93.08 kB / 0.6053 GB, free: 9.492 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.2236, allocations: 217 kB / 0.6055 GB, free: 9.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.975e-05/0.2237, allocations: 33.7 kB / 0.6055 GB, free: 9.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2238, allocations: 172.2 kB / 0.6057 GB, free: 9.059 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.203e-05/0.2239, allocations: 82.81 kB / 0.6057 GB, free: 8.977 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.2239, allocations: 8 kB / 0.6057 GB, free: 8.969 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.224, allocations: 338.8 kB / 0.6061 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.2244, allocations: 176.2 kB / 0.6062 GB, free: 8.457 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.2249, allocations: 262.1 kB / 0.6065 GB, free: 8.172 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.2253, allocations: 233.8 kB / 0.6067 GB, free: 7.938 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2254, allocations: 4 kB / 0.6067 GB, free: 7.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001077/0.2264, allocations: 0.5632 MB / 0.6073 GB, free: 7.355 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.2266, allocations: 182.6 kB / 0.6074 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2266, allocations: 4 kB / 0.6074 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/0.2268, allocations: 40.81 kB / 0.6075 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.2272, allocations: 91.88 kB / 0.6076 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.2287, allocations: 1.513 MB / 0.609 GB, free: 5.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.229, allocations: 55.75 kB / 0.6091 GB, free: 5.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.2291, allocations: 12 kB / 0.6091 GB, free: 5.277 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2291, allocations: 6.188 kB / 0.6091 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001005/0.2301, allocations: 0.5072 MB / 0.6096 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2301, allocations: 4 kB / 0.6096 GB, free: 4.754 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001233/0.2302, allocations: 36.83 kB / 0.6097 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.2306, allocations: 92.02 kB / 0.6097 GB, free: 4.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.2318, allocations: 1.473 MB / 0.6112 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.2321, allocations: 55.98 kB / 0.6112 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.2322, allocations: 8 kB / 0.6112 GB, free: 2.953 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 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002618/0.2324, allocations: 253.6 kB / 0.6115 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.2325, allocations: 27.7 kB / 0.6115 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000985/0.2335, allocations: 493 kB / 0.612 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2335, allocations: 4 kB / 0.612 GB, free: 2.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.2335, allocations: 7.953 kB / 0.612 GB, free: 2.172 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2335, allocations: 0 / 0.612 GB, free: 2.172 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/0.2342, allocations: 0.5701 MB / 0.6125 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.2342, allocations: 4.062 kB / 0.6125 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/0.2345, allocations: 80.02 kB / 0.6126 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.2347, allocations: 36.77 kB / 0.6127 GB, free: 1.418 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.2347, allocations: 19.88 kB / 0.6127 GB, free: 1.398 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.2358, allocations: 1.413 MB / 0.6141 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2358, allocations: 0 / 0.6141 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009726/0.2368, allocations: 0.5701 MB / 0.6146 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.2369, allocations: 132.7 kB / 0.6147 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.237, allocations: 8 kB / 0.6147 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.2373, allocations: 39.95 kB / 0.6148 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.784e-05/0.2374, allocations: 32.09 kB / 0.6148 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.2374, allocations: 12 kB / 0.6148 GB, free: 15 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.2376, allocations: 172.5 kB / 0.615 GB, free: 14.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2376, allocations: 0 / 0.615 GB, free: 14.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005994/0.2382, allocations: 128 kB / 0.6151 GB, free: 14.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001806/0.2384, allocations: 111.2 kB / 0.6152 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001811/0.2402, allocations: 1.02 MB / 0.6162 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2402, allocations: 0 / 0.6162 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.2408, allocations: 342.8 kB / 0.6165 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.2413, allocations: 55.11 kB / 0.6166 GB, free: 13.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.2429, allocations: 0.8338 MB / 0.6174 GB, free: 12.26 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.2433, allocations: 0.7878 MB / 0.6182 GB, free: 11.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003034/0.2436, allocations: 98.19 kB / 0.6183 GB, free: 11.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.746e-05/0.2437, allocations: 27.44 kB / 0.6183 GB, free: 11.32 MB / 478.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2437, allocations: 0 / 0.6183 GB, free: 11.32 MB / 478.1 MB Notification: Performance of Templates: time 0.008406/0.2521, allocations: 4.035 MB / 0.6222 GB, free: 7.344 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: