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.7705/0.7705, allocations: 133.7 MB / 148.6 MB, free: 13.68 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.001082/0.001082, allocations: 175 kB / 180.9 MB, free: 15.09 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.668/1.668, allocations: 170.7 MB / 383.7 MB, free: 16.29 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.001581/0.001581, allocations: 120.6 kB / 454.6 MB, free: 9.859 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.1873/0.1879, allocations: 73.41 MB / 0.6812 GB, free: 5.527 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5136/0.7015, allocations: 123.4 MB / 0.8017 GB, free: 7.074 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003793/0.702, allocations: 100 kB / 0.8018 GB, free: 7.016 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0412/0.7432, allocations: 17.21 MB / 0.8186 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7432, allocations: 0 / 0.8186 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.409e-05/0.7433, allocations: 8 kB / 0.8186 GB, free: 6.949 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.001287/0.7446, allocations: 0.6472 MB / 0.8192 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.7446, allocations: 12.03 kB / 0.8193 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008058/0.7454, allocations: 99.06 kB / 0.8194 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.7458, allocations: 278.3 kB / 0.8196 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.7459, allocations: 12.44 kB / 0.8196 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.7459, allocations: 20 kB / 0.8196 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007761/0.7467, allocations: 426.5 kB / 0.8201 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.7467, allocations: 0 / 0.8201 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.7468, allocations: 12 kB / 0.8201 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/0.7468, allocations: 24.36 kB / 0.8201 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/0.7477, allocations: 415.6 kB / 0.8205 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.7496, allocations: 1.461 MB / 0.8219 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.7508, allocations: 481.2 kB / 0.8224 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.751, allocations: 85.11 kB / 0.8225 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005508/0.7515, allocations: 285.3 kB / 0.8227 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 1.522e-06/0.7515, allocations: 4 kB / 0.8227 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.001865/0.7534, allocations: 0.775 MB / 0.8235 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.7535, allocations: 89.06 kB / 0.8236 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.7537, allocations: 200.2 kB / 0.8238 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.7537, allocations: 29.7 kB / 0.8238 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.7538, allocations: 164.3 kB / 0.8239 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.7539, allocations: 94.66 kB / 0.824 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.7539, allocations: 12 kB / 0.824 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.7541, allocations: 334.8 kB / 0.8244 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.7545, allocations: 184.2 kB / 0.8245 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.7549, allocations: 257.3 kB / 0.8248 GB, free: 280 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.7553, allocations: 229.8 kB / 0.825 GB, free: 44 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7553, allocations: 7.938 kB / 0.825 GB, free: 36 kB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0012/0.7565, allocations: 0.5503 MB / 0.8256 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004133/0.757, allocations: 0.906 MB / 0.8264 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.757, allocations: 0 / 0.8264 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000227/0.7572, allocations: 44.7 kB / 0.8265 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.7576, allocations: 95.86 kB / 0.8266 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.7591, allocations: 1.509 MB / 0.828 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.7594, allocations: 51.86 kB / 0.8281 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.7595, allocations: 19.98 kB / 0.8281 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.7595, allocations: 4 kB / 0.8281 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001074/0.7606, allocations: 0.5061 MB / 0.8286 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.7606, allocations: 4 kB / 0.8286 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.7608, allocations: 37.16 kB / 0.8286 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.7611, allocations: 95.95 kB / 0.8287 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.7624, allocations: 1.493 MB / 0.8302 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.7627, allocations: 51.75 kB / 0.8302 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.7628, allocations: 12 kB / 0.8303 GB, free: 10.29 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 () * 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 (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.0002796/0.7631, allocations: 244.9 kB / 0.8305 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.7631, allocations: 23.72 kB / 0.8305 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.7642, allocations: 496.7 kB / 0.831 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.7642, allocations: 4 kB / 0.831 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7643, allocations: 4 kB / 0.831 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.7643, allocations: 4 kB / 0.831 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007601/0.765, allocations: 0.5662 MB / 0.8316 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.7651, allocations: 3.953 kB / 0.8316 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.7655, allocations: 79.86 kB / 0.8316 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/0.7656, allocations: 40.92 kB / 0.8317 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.7656, allocations: 11.98 kB / 0.8317 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.7668, allocations: 1.429 MB / 0.8331 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7668, allocations: 0 / 0.8331 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.7679, allocations: 0.6013 MB / 0.8337 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.7681, allocations: 132.7 kB / 0.8338 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.209e-05/0.7682, allocations: 11.95 kB / 0.8338 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.7685, allocations: 47.94 kB / 0.8338 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.7686, allocations: 39.83 kB / 0.8339 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.7686, allocations: 8 kB / 0.8339 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001801/0.7688, allocations: 172.5 kB / 0.8341 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7688, allocations: 0 / 0.8341 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006455/0.7695, allocations: 140 kB / 0.8342 GB, free: 5.977 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) * 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 (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.0002436/0.7697, allocations: 131.1 kB / 0.8343 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001861/0.7716, allocations: 1.012 MB / 0.8353 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7716, allocations: 0 / 0.8353 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.7723, allocations: 342.8 kB / 0.8356 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.7726, allocations: 43.97 kB / 0.8357 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.7742, allocations: 0.833 MB / 0.8365 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.7747, allocations: 0.7956 MB / 0.8373 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003423/0.775, allocations: 102.4 kB / 0.8374 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.7751, allocations: 35.42 kB / 0.8374 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of SimCode: time 3.1e-07/0.7751, allocations: 0 / 0.8374 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of Templates: time 0.008475/0.7836, allocations: 4.011 MB / 0.8413 GB, free: 14.57 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)