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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8751/0.8751, allocations: 132.4 MB / 139.9 MB, free: 15.4 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009348/0.0009351, allocations: 163.6 kB / 171.8 MB, free: 2.02 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.623/1.623, allocations: 170.6 MB / 374.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001674/0.001674, allocations: 120 kB / 444.8 MB, free: 9.246 MB / 346.7 MB [/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.5419/0.5419, allocations: 73.4 MB / 0.6666 GB, free: 46.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.726, allocations: 122.7 MB / 0.7864 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/0.7264, allocations: 90.05 kB / 0.7865 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04425/0.7706, allocations: 17.04 MB / 0.8031 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7707, allocations: 0 / 0.8031 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.407e-05/0.7707, allocations: 4 kB / 0.8031 GB, free: 12.96 MB / 0.5105 GB 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.001204/0.7719, allocations: 0.612 MB / 0.8037 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.772, allocations: 12.03 kB / 0.8037 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00081/0.7728, allocations: 106.2 kB / 0.8038 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.7732, allocations: 274.5 kB / 0.8041 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.7732, allocations: 8 kB / 0.8041 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.7733, allocations: 15.98 kB / 0.8041 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000455/0.7738, allocations: 236.9 kB / 0.8044 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.7743, allocations: 349.4 kB / 0.8047 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.7744, allocations: 7.922 kB / 0.8047 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.7744, allocations: 0 / 0.8047 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-05/0.7745, allocations: 20.36 kB / 0.8047 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.7764, allocations: 1.39 MB / 0.8061 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007974/0.7772, allocations: 385.5 kB / 0.8064 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.7775, allocations: 149.7 kB / 0.8066 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.7777, allocations: 93.08 kB / 0.8067 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003607/0.7781, allocations: 226.3 kB / 0.8069 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 1.492e-06/0.7781, allocations: 0 / 0.8069 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.001043/0.7791, allocations: 425.5 kB / 0.8073 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.7792, allocations: 81.11 kB / 0.8074 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.7794, allocations: 195.8 kB / 0.8076 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.7794, allocations: 33.8 kB / 0.8076 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.7796, allocations: 168.1 kB / 0.8077 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.011e-05/0.7797, allocations: 90.66 kB / 0.8078 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.7797, allocations: 0 / 0.8078 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.7799, allocations: 330.8 kB / 0.8081 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.7801, allocations: 128.3 kB / 0.8083 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.7803, allocations: 201.4 kB / 0.8085 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.7807, allocations: 160.1 kB / 0.8086 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7807, allocations: 4 kB / 0.8086 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007526/0.7814, allocations: 418.2 kB / 0.809 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004281/0.7819, allocations: 0.9114 MB / 0.8099 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.7819, allocations: 0 / 0.8099 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002337/0.7821, allocations: 40.83 kB / 0.8099 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.7826, allocations: 91.86 kB / 0.81 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.784, allocations: 1.431 MB / 0.8114 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.7843, allocations: 51.78 kB / 0.8115 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.7844, allocations: 21.47 kB / 0.8115 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.7844, allocations: 0 / 0.8115 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006976/0.7851, allocations: 364.5 kB / 0.8118 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.7851, allocations: 4 kB / 0.8119 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.7853, allocations: 36.83 kB / 0.8119 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.7856, allocations: 92.09 kB / 0.812 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.7869, allocations: 1.431 MB / 0.8134 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.7872, allocations: 35.88 kB / 0.8134 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.7872, allocations: 19.98 kB / 0.8134 GB, free: 1.766 MB / 0.5105 GB 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 () * 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.0001485/0.7874, allocations: 129.7 kB / 0.8136 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.7874, allocations: 23.72 kB / 0.8136 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007296/0.7882, allocations: 384.2 kB / 0.8139 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.7882, allocations: 4 kB / 0.8139 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.7882, allocations: 0 / 0.8139 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.7882, allocations: 3.984 kB / 0.8139 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006634/0.7889, allocations: 0.5238 MB / 0.8145 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.7889, allocations: 0 / 0.8145 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.7893, allocations: 75.92 kB / 0.8145 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.7894, allocations: 40.77 kB / 0.8146 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.7895, allocations: 4.094 kB / 0.8146 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.7906, allocations: 1.346 MB / 0.8159 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.7907, allocations: 4.016 kB / 0.8159 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007405/0.7914, allocations: 0.4957 MB / 0.8164 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.7916, allocations: 140.6 kB / 0.8165 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.7916, allocations: 1.812 kB / 0.8165 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.792, allocations: 39.95 kB / 0.8166 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.7921, allocations: 27.95 kB / 0.8166 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.7921, allocations: 8 kB / 0.8166 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001616/0.7923, allocations: 168.5 kB / 0.8167 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.984e-06/0.7923, allocations: 0 / 0.8167 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006353/0.7929, allocations: 131.8 kB / 0.8169 GB, free: 14 MB / 0.5261 GB 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) * 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.0002063/0.7931, allocations: 112.1 kB / 0.817 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.7944, allocations: 0.8293 MB / 0.8178 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7944, allocations: 3.938 kB / 0.8178 GB, free: 13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.7948, allocations: 282 kB / 0.8181 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.7952, allocations: 36.41 kB / 0.8181 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.7961, allocations: 449.9 kB / 0.8185 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.7966, allocations: 0.8002 MB / 0.8193 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003572/0.7969, allocations: 106.9 kB / 0.8194 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.665e-05/0.797, allocations: 35.42 kB / 0.8194 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/0.797, allocations: 0 / 0.8194 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.008823/0.8059, allocations: 4.096 MB / 0.8234 GB, free: 7.203 MB / 0.5261 GB 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)