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.2268/0.2289, allocations: 80.84 MB / 0.5897 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.006514/0.2354, allocations: 3.572 MB / 0.5932 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003565/0.239, allocations: 1.843 MB / 0.595 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.2392, allocations: 4 kB / 0.595 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009176/0.2402, allocations: 227.2 kB / 0.5952 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005136/0.2407, allocations: 187.2 kB / 0.5954 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007758/0.2415, allocations: 227 kB / 0.5956 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004903/0.242, allocations: 0.4908 MB / 0.5961 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005119/0.2425, allocations: 214 kB / 0.5963 GB, free: 356 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.2427, allocations: 131.5 kB / 0.5964 GB, free: 224 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.2431, allocations: 191.3 kB / 0.5966 GB, free: 32 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.2432, allocations: 16 kB / 0.5966 GB, free: 16 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005854/0.2438, allocations: 303.4 kB / 0.5969 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.2439, allocations: 99.64 kB / 0.597 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.2441, allocations: 131.3 kB / 0.5971 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005653/0.2447, allocations: 470.6 kB / 0.5976 GB, free: 15.03 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.2447, allocations: 0 / 0.5976 GB, free: 15.03 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2447, allocations: 0 / 0.5976 GB, free: 15.03 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2447, allocations: 0 / 0.5976 GB, free: 15.03 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.001629/0.2463, allocations: 0.6369 MB / 0.5982 GB, free: 14.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2464, allocations: 12.03 kB / 0.5982 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007712/0.2472, allocations: 88.56 kB / 0.5983 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.2476, allocations: 295.1 kB / 0.5986 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.2476, allocations: 16.81 kB / 0.5986 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.2477, allocations: 16.38 kB / 0.5986 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008326/0.2485, allocations: 418.9 kB / 0.599 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.2485, allocations: 0 / 0.599 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.2486, allocations: 4 kB / 0.599 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.939e-05/0.2487, allocations: 28.36 kB / 0.599 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008749/0.2495, allocations: 388.7 kB / 0.5994 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.2515, allocations: 1.414 MB / 0.6008 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.2526, allocations: 456.9 kB / 0.6012 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/0.2531, allocations: 193.6 kB / 0.6014 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.2532, allocations: 93.08 kB / 0.6015 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005539/0.2538, allocations: 268.1 kB / 0.6017 GB, free: 10.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=27): time 2.335e-06/0.2538, allocations: 4 kB / 0.6017 GB, free: 10.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001937/0.2558, allocations: 0.7379 MB / 0.6025 GB, free: 9.727 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.2558, allocations: 81.11 kB / 0.6025 GB, free: 9.629 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.2561, allocations: 225 kB / 0.6028 GB, free: 9.398 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.2561, allocations: 33.7 kB / 0.6028 GB, free: 9.359 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.2562, allocations: 172.4 kB / 0.603 GB, free: 9.188 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.259e-05/0.2563, allocations: 86.75 kB / 0.603 GB, free: 9.102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.2565, allocations: 73.59 kB / 0.6031 GB, free: 9.023 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2566, allocations: 330.8 kB / 0.6034 GB, free: 8.691 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.257, allocations: 173.1 kB / 0.6036 GB, free: 8.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.2574, allocations: 246.3 kB / 0.6038 GB, free: 8.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008484/0.2583, allocations: 458.4 kB / 0.6043 GB, free: 7.766 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2583, allocations: 0 / 0.6043 GB, free: 7.766 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001133/0.2594, allocations: 0.5402 MB / 0.6048 GB, free: 7.211 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.2595, allocations: 33.7 kB / 0.6048 GB, free: 7.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.2595, allocations: 4 kB / 0.6048 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.2598, allocations: 36.83 kB / 0.6049 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.2602, allocations: 84.02 kB / 0.6049 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.2617, allocations: 1.501 MB / 0.6064 GB, free: 5.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.2621, allocations: 51.86 kB / 0.6065 GB, free: 5.352 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.2621, allocations: 15.94 kB / 0.6065 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005103/0.2627, allocations: 277 kB / 0.6067 GB, free: 5.062 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004512/0.2631, allocations: 234.6 kB / 0.607 GB, free: 4.801 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000813/0.2639, allocations: 446.7 kB / 0.6074 GB, free: 4.324 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.264, allocations: 0 / 0.6074 GB, free: 4.324 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001077/0.265, allocations: 0.5074 MB / 0.6079 GB, free: 3.801 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.2651, allocations: 33.7 kB / 0.6079 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.2651, allocations: 4 kB / 0.6079 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.2653, allocations: 44.75 kB / 0.608 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.2656, allocations: 79.88 kB / 0.608 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.2669, allocations: 1.493 MB / 0.6095 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.2672, allocations: 39.81 kB / 0.6095 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.2673, allocations: 19.98 kB / 0.6095 GB, free: 1.941 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.0002057/0.2675, allocations: 204.8 kB / 0.6097 GB, free: 1.734 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.2675, allocations: 23.72 kB / 0.6098 GB, free: 1.711 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.2686, allocations: 472.8 kB / 0.6102 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.2686, allocations: 4 kB / 0.6102 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.2686, allocations: 0 / 0.6102 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2686, allocations: 4 kB / 0.6102 GB, free: 1.234 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007286/0.2694, allocations: 0.5817 MB / 0.6108 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2694, allocations: 0 / 0.6108 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.2697, allocations: 71.86 kB / 0.6109 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/0.2699, allocations: 40.83 kB / 0.6109 GB, free: 488 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.2699, allocations: 7.922 kB / 0.6109 GB, free: 480 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.2711, allocations: 1.409 MB / 0.6123 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.2711, allocations: 4.109 kB / 0.6123 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009586/0.2721, allocations: 0.539 MB / 0.6128 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.2722, allocations: 128.7 kB / 0.6129 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.2723, allocations: 23.77 kB / 0.613 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.2726, allocations: 35.95 kB / 0.613 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.2727, allocations: 27.97 kB / 0.613 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.2728, allocations: 15.92 kB / 0.613 GB, free: 14.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.273, allocations: 176.5 kB / 0.6132 GB, free: 13.94 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.273, allocations: 3.938 kB / 0.6132 GB, free: 13.93 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000587/0.2736, allocations: 120 kB / 0.6133 GB, free: 13.82 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.0002344/0.2738, allocations: 115.2 kB / 0.6134 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00188/0.2757, allocations: 0.9832 MB / 0.6144 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.2757, allocations: 0 / 0.6144 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005729/0.2763, allocations: 326.9 kB / 0.6147 GB, free: 12.33 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.2768, allocations: 50.38 kB / 0.6147 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.2785, allocations: 0.8288 MB / 0.6156 GB, free: 11.42 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.2789, allocations: 0.7917 MB / 0.6163 GB, free: 10.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003089/0.2792, allocations: 110.2 kB / 0.6164 GB, free: 10.49 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.394e-05/0.2793, allocations: 23.44 kB / 0.6165 GB, free: 10.47 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2793, allocations: 0 / 0.6165 GB, free: 10.47 MB / 478.1 MB Notification: Performance of Templates: time 0.008597/0.2879, allocations: 4.212 MB / 0.6206 GB, free: 6.312 MB / 478.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)