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.6221/0.6244, allocations: 80.8 MB / 0.5904 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.01079/0.6352, allocations: 3.543 MB / 0.5939 GB, free: 19.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00512/0.6404, allocations: 1.826 MB / 0.5957 GB, free: 17.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004707/0.6409, allocations: 7.938 kB / 0.5957 GB, free: 17.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.6426, allocations: 232.1 kB / 0.5959 GB, free: 17.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.6437, allocations: 203.9 kB / 0.5961 GB, free: 17.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.645, allocations: 258.2 kB / 0.5963 GB, free: 16.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007315/0.6457, allocations: 382.8 kB / 0.5967 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006182/0.6464, allocations: 214.7 kB / 0.5969 GB, free: 16.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004231/0.6468, allocations: 155.5 kB / 0.597 GB, free: 16.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006729/0.6475, allocations: 187.3 kB / 0.5972 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.334e-05/0.6476, allocations: 24 kB / 0.5972 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008099/0.6484, allocations: 263.5 kB / 0.5975 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.6486, allocations: 103.6 kB / 0.5976 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.6488, allocations: 135.3 kB / 0.5977 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00076/0.6496, allocations: 458.7 kB / 0.5982 GB, free: 14.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.6496, allocations: 0 / 0.5982 GB, free: 14.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6497, allocations: 0 / 0.5982 GB, free: 14.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.6497, allocations: 0 / 0.5982 GB, free: 14.89 MB / 446.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.001852/0.6515, allocations: 0.6408 MB / 0.5988 GB, free: 14.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.6516, allocations: 12.03 kB / 0.5988 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.6529, allocations: 96.45 kB / 0.5989 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.6533, allocations: 279.3 kB / 0.5992 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.6533, allocations: 16.8 kB / 0.5992 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.271e-05/0.6534, allocations: 20.38 kB / 0.5992 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.6545, allocations: 418.9 kB / 0.5996 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.6545, allocations: 0 / 0.5996 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.6546, allocations: 8 kB / 0.5996 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.558e-05/0.6547, allocations: 28.36 kB / 0.5996 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.656, allocations: 388.7 kB / 0.6 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.6583, allocations: 1.406 MB / 0.6014 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.6601, allocations: 461.5 kB / 0.6018 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006191/0.6607, allocations: 189.6 kB / 0.602 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.6609, allocations: 101.1 kB / 0.6021 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008325/0.6618, allocations: 266.5 kB / 0.6023 GB, free: 10.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 3.056e-06/0.6618, allocations: 0 / 0.6023 GB, free: 10.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002602/0.6644, allocations: 0.7379 MB / 0.6031 GB, free: 9.578 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.6645, allocations: 89.3 kB / 0.6031 GB, free: 9.473 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.6647, allocations: 228.9 kB / 0.6034 GB, free: 9.238 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.6648, allocations: 29.7 kB / 0.6034 GB, free: 9.203 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.6649, allocations: 164.4 kB / 0.6036 GB, free: 9.039 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.665, allocations: 94.64 kB / 0.6036 GB, free: 8.945 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.6651, allocations: 65.59 kB / 0.6037 GB, free: 8.875 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.6652, allocations: 338.8 kB / 0.604 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/0.6658, allocations: 173.1 kB / 0.6042 GB, free: 8.363 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.6664, allocations: 249.3 kB / 0.6044 GB, free: 8.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.6676, allocations: 450.4 kB / 0.6049 GB, free: 7.613 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6676, allocations: 0 / 0.6049 GB, free: 7.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001529/0.6692, allocations: 0.5486 MB / 0.6054 GB, free: 7.051 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.6692, allocations: 37.7 kB / 0.6054 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.6693, allocations: 0 / 0.6054 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003304/0.6696, allocations: 41.11 kB / 0.6055 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.6702, allocations: 87.8 kB / 0.6056 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.6719, allocations: 1.611 MB / 0.6071 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/0.6724, allocations: 43.8 kB / 0.6072 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.6725, allocations: 20.06 kB / 0.6072 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006823/0.6732, allocations: 272.3 kB / 0.6074 GB, free: 4.789 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000615/0.6738, allocations: 241.9 kB / 0.6077 GB, free: 4.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001183/0.675, allocations: 431.8 kB / 0.6081 GB, free: 4.059 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.766e-06/0.675, allocations: 0 / 0.6081 GB, free: 4.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001553/0.6766, allocations: 0.5199 MB / 0.6086 GB, free: 3.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.6766, allocations: 33.98 kB / 0.6086 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.6767, allocations: 8 kB / 0.6086 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/0.6769, allocations: 44.81 kB / 0.6087 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.6774, allocations: 75.88 kB / 0.6088 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.679, allocations: 1.607 MB / 0.6103 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/0.6794, allocations: 51.8 kB / 0.6104 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.6795, allocations: 19.98 kB / 0.6104 GB, free: 1.527 MB / 446.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.0001912/0.6797, allocations: 192.9 kB / 0.6106 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.6798, allocations: 23.72 kB / 0.6106 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.6812, allocations: 472.7 kB / 0.611 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6813, allocations: 4 kB / 0.6111 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6813, allocations: 4.062 kB / 0.6111 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.6813, allocations: 4 kB / 0.6111 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/0.6821, allocations: 0.5778 MB / 0.6116 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6821, allocations: 3.938 kB / 0.6116 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/0.6827, allocations: 71.86 kB / 0.6117 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001554/0.6829, allocations: 36.83 kB / 0.6117 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.6829, allocations: 8.094 kB / 0.6117 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.6847, allocations: 1.531 MB / 0.6132 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6848, allocations: 0 / 0.6132 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.6864, allocations: 0.5341 MB / 0.6138 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.6866, allocations: 132.7 kB / 0.6139 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.6867, allocations: 11.91 kB / 0.6139 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/0.6872, allocations: 31.95 kB / 0.6139 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.6874, allocations: 31.95 kB / 0.614 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.6874, allocations: 12 kB / 0.614 GB, free: 13.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000235/0.6877, allocations: 180.4 kB / 0.6141 GB, free: 13.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6877, allocations: 0 / 0.6141 GB, free: 13.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009222/0.6886, allocations: 124 kB / 0.6143 GB, free: 13.3 MB / 462.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.0002428/0.6889, allocations: 103.2 kB / 0.6144 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002885/0.6918, allocations: 1.019 MB / 0.6154 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6918, allocations: 0 / 0.6154 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006457/0.6925, allocations: 322.5 kB / 0.6157 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.693, allocations: 63.48 kB / 0.6157 GB, free: 11.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.6947, allocations: 0.7255 MB / 0.6164 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.6951, allocations: 0.7878 MB / 0.6172 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003107/0.6954, allocations: 102.2 kB / 0.6173 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/0.6956, allocations: 31.42 kB / 0.6173 GB, free: 10.03 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6956, allocations: 0 / 0.6173 GB, free: 10.03 MB / 462.1 MB Notification: Performance of Templates: time 0.01044/0.706, allocations: 4.51 MB / 0.6217 GB, free: 5.586 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (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)