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.8364/0.8364, allocations: 132.4 MB / 139.9 MB, free: 2.781 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001168/0.001168, allocations: 183.7 kB / 171.8 MB, free: 4.895 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.391/1.391, allocations: 170.6 MB / 374.2 MB, free: 176 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001648/0.001648, allocations: 112.8 kB / 444.8 MB, free: 14.15 MB / 314.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.1859/0.186, allocations: 73.41 MB / 0.6666 GB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5397/0.7258, allocations: 122.7 MB / 0.7864 GB, free: 8.898 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.7262, allocations: 95.94 kB / 0.7865 GB, free: 8.805 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04272/0.7689, allocations: 17.03 MB / 0.8031 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.673e-06/0.769, allocations: 4 kB / 0.8031 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.972e-05/0.769, allocations: 8 kB / 0.8031 GB, free: 7.617 MB / 0.4948 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.001369/0.7704, allocations: 0.61 MB / 0.8037 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.7704, allocations: 8.031 kB / 0.8037 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/0.7714, allocations: 99.52 kB / 0.8038 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.7719, allocations: 274.5 kB / 0.8041 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.7719, allocations: 8 kB / 0.8041 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.772, allocations: 12 kB / 0.8041 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004726/0.7725, allocations: 252.8 kB / 0.8044 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.773, allocations: 337.8 kB / 0.8047 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.7731, allocations: 3.938 kB / 0.8047 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.7731, allocations: 0 / 0.8047 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-05/0.7731, allocations: 24.36 kB / 0.8047 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.7751, allocations: 1.39 MB / 0.8061 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008013/0.776, allocations: 385.5 kB / 0.8064 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.7762, allocations: 153.6 kB / 0.8066 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.7764, allocations: 101.1 kB / 0.8067 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003479/0.7767, allocations: 218.4 kB / 0.8069 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 2.154e-06/0.7768, allocations: 0 / 0.8069 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.0009991/0.7778, allocations: 428.8 kB / 0.8073 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.7778, allocations: 93.19 kB / 0.8074 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.7781, allocations: 183.9 kB / 0.8076 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.7781, allocations: 33.69 kB / 0.8076 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.7782, allocations: 160.1 kB / 0.8077 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.771e-05/0.7783, allocations: 90.66 kB / 0.8078 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.7783, allocations: 0 / 0.8078 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.7785, allocations: 338.8 kB / 0.8082 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.7788, allocations: 124.3 kB / 0.8083 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.779, allocations: 205.4 kB / 0.8085 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.7795, allocations: 160.6 kB / 0.8086 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.7795, allocations: 0 / 0.8086 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008926/0.7804, allocations: 427.8 kB / 0.809 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006017/0.781, allocations: 0.9036 MB / 0.8099 GB, free: 272 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.781, allocations: 8 kB / 0.8099 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003256/0.7814, allocations: 44.84 kB / 0.81 GB, free: 216 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.7818, allocations: 87.88 kB / 0.81 GB, free: 128 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.7832, allocations: 1.434 MB / 0.8114 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.7836, allocations: 47.86 kB / 0.8115 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.7836, allocations: 19.92 kB / 0.8115 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.7836, allocations: 4.938 kB / 0.8115 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000716/0.7844, allocations: 360.5 kB / 0.8119 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7844, allocations: 0 / 0.8119 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001398/0.7845, allocations: 45.11 kB / 0.8119 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.7849, allocations: 87.86 kB / 0.812 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.7862, allocations: 1.438 MB / 0.8134 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.7865, allocations: 39.86 kB / 0.8134 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.7865, allocations: 8 kB / 0.8134 GB, free: 12.4 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.0001585/0.7867, allocations: 124.9 kB / 0.8136 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.7868, allocations: 23.72 kB / 0.8136 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007453/0.7875, allocations: 380.1 kB / 0.8139 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7875, allocations: 4 kB / 0.8139 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.7875, allocations: 3.938 kB / 0.8139 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.7876, allocations: 15.94 kB / 0.814 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007172/0.7883, allocations: 0.5043 MB / 0.8145 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7883, allocations: 0 / 0.8145 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.7887, allocations: 83.86 kB / 0.8145 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/0.7888, allocations: 36.92 kB / 0.8146 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.7888, allocations: 4 kB / 0.8146 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.7899, allocations: 1.362 MB / 0.8159 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.7899, allocations: 8.031 kB / 0.8159 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007255/0.7907, allocations: 0.4918 MB / 0.8164 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.7908, allocations: 140.6 kB / 0.8165 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.7909, allocations: 7.938 kB / 0.8165 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.7912, allocations: 35.95 kB / 0.8166 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.7914, allocations: 31.95 kB / 0.8166 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.7914, allocations: 15.94 kB / 0.8166 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001587/0.7916, allocations: 160.5 kB / 0.8168 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7916, allocations: 0 / 0.8168 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006339/0.7922, allocations: 123.9 kB / 0.8169 GB, free: 8.625 MB / 0.5105 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.0002475/0.7925, allocations: 115.2 kB / 0.817 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.7938, allocations: 0.8324 MB / 0.8178 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7938, allocations: 0 / 0.8178 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004102/0.7942, allocations: 283.3 kB / 0.8181 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.7946, allocations: 36.47 kB / 0.8181 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.7956, allocations: 445.1 kB / 0.8185 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.7961, allocations: 0.7924 MB / 0.8193 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003837/0.7965, allocations: 106 kB / 0.8194 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.7966, allocations: 27.42 kB / 0.8194 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of SimCode: time 3.6e-07/0.7966, allocations: 3.938 kB / 0.8194 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of Templates: time 0.0092/0.8058, allocations: 4.105 MB / 0.8234 GB, free: 1.797 MB / 0.5105 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)