Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.2207/0.2226, allocations: 80.83 MB / 0.5897 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.006002/0.2287, allocations: 3.065 MB / 0.5927 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004311/0.2331, allocations: 1.832 MB / 0.5945 GB, free: 2.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.2334, allocations: 4 kB / 0.5945 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009938/0.2344, allocations: 223.2 kB / 0.5947 GB, free: 1.957 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.2349, allocations: 191.2 kB / 0.5949 GB, free: 1.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006885/0.2356, allocations: 219.5 kB / 0.5951 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005557/0.2362, allocations: 498.6 kB / 0.5956 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005369/0.2367, allocations: 218 kB / 0.5958 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.237, allocations: 139.5 kB / 0.5959 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/0.2373, allocations: 187.3 kB / 0.5961 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.2374, allocations: 16 kB / 0.5961 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004735/0.2379, allocations: 311.4 kB / 0.5964 GB, free: 220 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.238, allocations: 87.72 kB / 0.5965 GB, free: 132 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.2382, allocations: 139.3 kB / 0.5966 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005408/0.2387, allocations: 466.5 kB / 0.5971 GB, free: 15.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.2387, allocations: 0 / 0.5971 GB, free: 15.54 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.2388, allocations: 0 / 0.5971 GB, free: 15.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2388, allocations: 0 / 0.5971 GB, free: 15.54 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.00157/0.2403, allocations: 0.6331 MB / 0.5977 GB, free: 14.85 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.2404, allocations: 12.03 kB / 0.5977 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007868/0.2412, allocations: 96.45 kB / 0.5978 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.2416, allocations: 283.9 kB / 0.598 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.2416, allocations: 12.81 kB / 0.5981 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.2417, allocations: 20.38 kB / 0.5981 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008275/0.2425, allocations: 418.9 kB / 0.5985 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.2425, allocations: 3.984 kB / 0.5985 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.2426, allocations: 15.92 kB / 0.5985 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.846e-05/0.2426, allocations: 24.36 kB / 0.5985 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008731/0.2435, allocations: 392.6 kB / 0.5989 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.2455, allocations: 1.406 MB / 0.6003 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.2466, allocations: 460.9 kB / 0.6007 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/0.247, allocations: 193.6 kB / 0.6009 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.2472, allocations: 85.11 kB / 0.601 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005571/0.2478, allocations: 272.1 kB / 0.6012 GB, free: 11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=27): time 3.787e-06/0.2478, allocations: 0 / 0.6012 GB, free: 11 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00194/0.2498, allocations: 0.7457 MB / 0.602 GB, free: 10.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.2498, allocations: 85.11 kB / 0.602 GB, free: 10.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.2501, allocations: 217 kB / 0.6022 GB, free: 9.902 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.2501, allocations: 37.64 kB / 0.6023 GB, free: 9.859 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.2503, allocations: 168.5 kB / 0.6024 GB, free: 9.691 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.2504, allocations: 94.66 kB / 0.6025 GB, free: 9.598 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.2505, allocations: 69.59 kB / 0.6026 GB, free: 9.523 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2506, allocations: 334.8 kB / 0.6029 GB, free: 9.188 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.2511, allocations: 173.1 kB / 0.6031 GB, free: 9.016 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/0.2515, allocations: 242.3 kB / 0.6033 GB, free: 8.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000838/0.2523, allocations: 462.4 kB / 0.6038 GB, free: 8.262 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2523, allocations: 0 / 0.6038 GB, free: 8.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001117/0.2535, allocations: 0.54 MB / 0.6043 GB, free: 7.707 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.2535, allocations: 33.7 kB / 0.6043 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2535, allocations: 4 kB / 0.6043 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/0.2538, allocations: 44.8 kB / 0.6044 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.2542, allocations: 83.86 kB / 0.6044 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.2557, allocations: 1.497 MB / 0.6059 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.256, allocations: 47.89 kB / 0.6059 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.2561, allocations: 19.98 kB / 0.606 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004688/0.2566, allocations: 277 kB / 0.6062 GB, free: 5.555 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004154/0.257, allocations: 238.6 kB / 0.6065 GB, free: 5.289 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007912/0.2578, allocations: 438.7 kB / 0.6069 GB, free: 4.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.2578, allocations: 4 kB / 0.6069 GB, free: 4.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001047/0.2589, allocations: 0.5036 MB / 0.6074 GB, free: 4.297 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.2589, allocations: 33.7 kB / 0.6074 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2589, allocations: 4 kB / 0.6074 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.2591, allocations: 48.75 kB / 0.6075 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.2594, allocations: 75.88 kB / 0.6075 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.2608, allocations: 1.493 MB / 0.609 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.2611, allocations: 47.8 kB / 0.609 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.2611, allocations: 12 kB / 0.609 GB, free: 2.438 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.0002111/0.2613, allocations: 208.8 kB / 0.6092 GB, free: 2.227 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.2614, allocations: 27.66 kB / 0.6093 GB, free: 2.199 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.2624, allocations: 468.8 kB / 0.6097 GB, free: 1.734 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2624, allocations: 4 kB / 0.6097 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.2624, allocations: 4 kB / 0.6097 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2625, allocations: 3.984 kB / 0.6097 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006791/0.2631, allocations: 0.57 MB / 0.6103 GB, free: 1.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2632, allocations: 4.094 kB / 0.6103 GB, free: 1.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.2635, allocations: 79.84 kB / 0.6104 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.2637, allocations: 36.83 kB / 0.6104 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.2637, allocations: 7.938 kB / 0.6104 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.2648, allocations: 1.409 MB / 0.6118 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2648, allocations: 4.031 kB / 0.6118 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009723/0.2658, allocations: 0.5356 MB / 0.6123 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.2659, allocations: 132.7 kB / 0.6124 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.266, allocations: 11.94 kB / 0.6124 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.2663, allocations: 39.95 kB / 0.6125 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.2664, allocations: 27.95 kB / 0.6125 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.2664, allocations: 11.94 kB / 0.6125 GB, free: 14.61 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.2666, allocations: 172.5 kB / 0.6127 GB, free: 14.45 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2666, allocations: 0 / 0.6127 GB, free: 14.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006254/0.2672, allocations: 124 kB / 0.6128 GB, free: 14.33 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.0001906/0.2674, allocations: 123.1 kB / 0.6129 GB, free: 14.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.2694, allocations: 0.9835 MB / 0.6139 GB, free: 13.17 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2694, allocations: 0 / 0.6139 GB, free: 13.17 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005761/0.27, allocations: 326.8 kB / 0.6142 GB, free: 12.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.2705, allocations: 47.14 kB / 0.6142 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.2723, allocations: 0.8207 MB / 0.615 GB, free: 11.94 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.2727, allocations: 0.7917 MB / 0.6158 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003657/0.2731, allocations: 106.2 kB / 0.6159 GB, free: 11.01 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.954e-05/0.2732, allocations: 27.44 kB / 0.6159 GB, free: 10.98 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2732, allocations: 0 / 0.6159 GB, free: 10.98 MB / 478.1 MB Notification: Performance of Templates: time 0.009001/0.2822, allocations: 4.213 MB / 0.6201 GB, free: 6.82 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)