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.6684/0.6684, allocations: 132.3 MB / 144.9 MB, free: 10.7 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.0009247/0.0009247, allocations: 173.5 kB / 176.9 MB, free: 2.215 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.146/1.146, allocations: 170.5 MB / 379.3 MB, free: 11.93 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.001476/0.001476, allocations: 115.2 kB / 450 MB, free: 5.832 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.4216/0.4217, allocations: 73.39 MB / 0.6736 GB, free: 47.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.5673, allocations: 123.3 MB / 0.794 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5675, allocations: 89.53 kB / 0.7941 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03956/0.6071, allocations: 17.11 MB / 0.8108 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6072, allocations: 0 / 0.8108 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.6072, allocations: 4 kB / 0.8108 GB, free: 8.07 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.001049/0.6083, allocations: 0.6112 MB / 0.8114 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6083, allocations: 12.03 kB / 0.8115 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007639/0.6091, allocations: 98.36 kB / 0.8115 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.6094, allocations: 270.5 kB / 0.8118 GB, free: 7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.6095, allocations: 20.42 kB / 0.8118 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.6095, allocations: 19.94 kB / 0.8118 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.6101, allocations: 373.3 kB / 0.8122 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.6101, allocations: 3.938 kB / 0.8122 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.6102, allocations: 11.61 kB / 0.8122 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-05/0.6102, allocations: 24.36 kB / 0.8122 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.6107, allocations: 308.9 kB / 0.8125 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.6125, allocations: 1.457 MB / 0.814 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000789/0.6133, allocations: 397.4 kB / 0.8143 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.6135, allocations: 157.7 kB / 0.8145 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.6137, allocations: 93.02 kB / 0.8146 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003433/0.6141, allocations: 225.9 kB / 0.8148 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 1.954e-06/0.6141, allocations: 0 / 0.8148 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.0009153/0.615, allocations: 444.8 kB / 0.8152 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.6151, allocations: 89.05 kB / 0.8153 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.6153, allocations: 192.9 kB / 0.8155 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.6153, allocations: 33.7 kB / 0.8155 GB, free: 3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/0.6154, allocations: 164.1 kB / 0.8157 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/0.6155, allocations: 98.64 kB / 0.8158 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.6155, allocations: 8 kB / 0.8158 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.6156, allocations: 334.9 kB / 0.8161 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.6158, allocations: 132.3 kB / 0.8162 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.6161, allocations: 209.2 kB / 0.8164 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.6164, allocations: 185.8 kB / 0.8166 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.6164, allocations: 7.938 kB / 0.8166 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007904/0.6172, allocations: 468.4 kB / 0.8171 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004252/0.6176, allocations: 0.9022 MB / 0.8179 GB, free: 400 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.6176, allocations: 4 kB / 0.8179 GB, free: 396 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.6179, allocations: 40.81 kB / 0.818 GB, free: 352 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.6183, allocations: 99.8 kB / 0.8181 GB, free: 252 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.6198, allocations: 1.492 MB / 0.8195 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.6202, allocations: 55.73 kB / 0.8196 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.6202, allocations: 12 kB / 0.8196 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.6203, allocations: 4 kB / 0.8196 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007081/0.621, allocations: 418.8 kB / 0.82 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.621, allocations: 4 kB / 0.82 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/0.6211, allocations: 40.95 kB / 0.82 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.6215, allocations: 87.86 kB / 0.8201 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.6227, allocations: 1.48 MB / 0.8216 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.623, allocations: 55.81 kB / 0.8216 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.6231, allocations: 12 kB / 0.8216 GB, free: 12.31 MB / 0.5261 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.0001301/0.6232, allocations: 124.9 kB / 0.8217 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.6233, allocations: 23.72 kB / 0.8218 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007118/0.624, allocations: 405.2 kB / 0.8222 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.624, allocations: 0 / 0.8222 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.624, allocations: 4 kB / 0.8222 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.624, allocations: 0 / 0.8222 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006607/0.6247, allocations: 0.5701 MB / 0.8227 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6247, allocations: 8.047 kB / 0.8227 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.6251, allocations: 79.92 kB / 0.8228 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/0.6252, allocations: 36.83 kB / 0.8228 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.6252, allocations: 4 kB / 0.8228 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.6262, allocations: 1.417 MB / 0.8242 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6263, allocations: 0 / 0.8242 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.6269, allocations: 0.5051 MB / 0.8247 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.6271, allocations: 136.7 kB / 0.8248 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.6271, allocations: 15.94 kB / 0.8249 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.6274, allocations: 43.95 kB / 0.8249 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.6275, allocations: 31.89 kB / 0.8249 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.6276, allocations: 8 kB / 0.8249 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001651/0.6277, allocations: 169.4 kB / 0.8251 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6277, allocations: 0 / 0.8251 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000609/0.6284, allocations: 144 kB / 0.8252 GB, free: 8.332 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.0002269/0.6286, allocations: 123.2 kB / 0.8254 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.63, allocations: 0.885 MB / 0.8262 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.63, allocations: 4.062 kB / 0.8262 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004058/0.6304, allocations: 286.5 kB / 0.8265 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.6307, allocations: 48.34 kB / 0.8265 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.6315, allocations: 460.8 kB / 0.827 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.6318, allocations: 0.8002 MB / 0.8278 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003218/0.6321, allocations: 103.5 kB / 0.8279 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.118e-05/0.6322, allocations: 31.42 kB / 0.8279 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of SimCode: time 3.91e-07/0.6323, allocations: 0 / 0.8279 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of Templates: time 0.007618/0.6399, allocations: 4.298 MB / 0.8321 GB, free: 1.223 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)