Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") [/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.2045/0.2052, allocations: 82.22 MB / 0.5934 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.009314/0.2146, allocations: 6.747 MB / 0.6 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.6061/0.8208, allocations: 128.3 MB / 0.7252 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.8221, allocations: 23.91 kB / 0.7253 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006217/0.8227, allocations: 138.9 kB / 0.7254 GB, free: 0.7383 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:29:54-29:70:writable] Warning: 'each' used when modifying non-array element P. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:30:13-30:21:writable] Warning: 'each' used when modifying non-array element P. Notification: Performance of NFTyping.typeBindings: time 0.003043/0.8258, allocations: 0.6534 MB / 0.726 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.8284, allocations: 0.7156 MB / 0.7267 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002881/0.8313, allocations: 1.192 MB / 0.7279 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002505/0.8338, allocations: 1.355 MB / 0.7292 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.8354, allocations: 0.5822 MB / 0.7298 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.8365, allocations: 0.584 MB / 0.7304 GB, free: 0 / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.8367, allocations: 44.52 kB / 0.7304 GB, free: 0 / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.8381, allocations: 356.8 kB / 0.7307 GB, free: 0 / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004365/0.8386, allocations: 314 kB / 0.731 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005081/0.8391, allocations: 328.3 kB / 0.7314 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003347/0.8424, allocations: 2.144 MB / 0.7335 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.8425, allocations: 0 / 0.7335 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8425, allocations: 0 / 0.7335 GB, free: 15.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001088/0.8426, allocations: 0 / 0.7335 GB, free: 15.7 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005081/0.8477, allocations: 1.749 MB / 0.7352 GB, free: 14.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.8477, allocations: 8.812 kB / 0.7352 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00737/0.8551, allocations: 1.07 MB / 0.7362 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002893/0.858, allocations: 1.018 MB / 0.7372 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.8582, allocations: 130.5 kB / 0.7373 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.8585, allocations: 161.2 kB / 0.7375 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005306/0.8638, allocations: 2.172 MB / 0.7396 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.8639, allocations: 6.172 kB / 0.7396 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.8641, allocations: 67.84 kB / 0.7397 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.983e-05/0.8642, allocations: 76.3 kB / 0.7398 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006735/0.8709, allocations: 2.566 MB / 0.7423 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/0.8837, allocations: 6.554 MB / 0.7487 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004555/0.8883, allocations: 1.67 MB / 0.7503 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007195/0.8891, allocations: 486 kB / 0.7508 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002129/0.8912, allocations: 0.9606 MB / 0.7517 GB, free: 7.973 MB / 0.545 GB Notification: Performance of pre-optimization done (n=127): time 4.378e-06/0.8912, allocations: 0 / 0.7517 GB, free: 7.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=127): time 0.006688/0.8979, allocations: 2.276 MB / 0.7539 GB, free: 7.406 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/0.8981, allocations: 223.1 kB / 0.7541 GB, free: 7.156 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.8993, allocations: 0.7639 MB / 0.7549 GB, free: 6.902 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/0.8995, allocations: 48.36 kB / 0.7549 GB, free: 6.871 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000733/0.9002, allocations: 0.6374 MB / 0.7555 GB, free: 6.477 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000513/0.9008, allocations: 420.4 kB / 0.7559 GB, free: 6.176 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.9009, allocations: 25.69 kB / 0.756 GB, free: 6.176 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.9011, allocations: 357 kB / 0.7563 GB, free: 5.848 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.9028, allocations: 0.6141 MB / 0.7569 GB, free: 5.738 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.9048, allocations: 0.814 MB / 0.7577 GB, free: 5.426 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/0.9067, allocations: 0.6836 MB / 0.7584 GB, free: 5.324 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.9067, allocations: 0 / 0.7584 GB, free: 5.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004477/0.9112, allocations: 1.673 MB / 0.76 GB, free: 4.945 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.001042/0.9123, allocations: 1.494 MB / 0.7615 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.9123, allocations: 2.375 kB / 0.7615 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002609/0.9125, allocations: 31.97 kB / 0.7615 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/0.9145, allocations: 342 kB / 0.7618 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.9162, allocations: 1.302 MB / 0.7631 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.918, allocations: 195.6 kB / 0.7633 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.9182, allocations: 55.12 kB / 0.7633 GB, free: 1.871 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.9182, allocations: 4.281 kB / 0.7633 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003997/0.9222, allocations: 1.541 MB / 0.7648 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.9222, allocations: 2.844 kB / 0.7648 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.9222, allocations: 10.22 kB / 0.7649 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.9239, allocations: 345.7 kB / 0.7652 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.924, allocations: 14.78 kB / 0.7652 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.9254, allocations: 190.4 kB / 0.7654 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.9256, allocations: 61.38 kB / 0.7654 GB, free: 1.383 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001014/0.9266, allocations: 466.2 kB / 0.7659 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.9269, allocations: 115.7 kB / 0.766 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005021/0.9319, allocations: 1.908 MB / 0.7679 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.9319, allocations: 13.19 kB / 0.7679 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.932, allocations: 0 / 0.7679 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.932, allocations: 12.64 kB / 0.7679 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007029/0.939, allocations: 3.724 MB / 0.7715 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.939, allocations: 0 / 0.7715 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.9407, allocations: 316.8 kB / 0.7718 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.9408, allocations: 31.06 kB / 0.7718 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.941, allocations: 42.59 kB / 0.7719 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.942, allocations: 1.284 MB / 0.7731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.942, allocations: 0 / 0.7731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004233/0.9462, allocations: 1.773 MB / 0.7749 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/0.947, allocations: 409.3 kB / 0.7753 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.9472, allocations: 24.28 kB / 0.7753 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.9484, allocations: 136 kB / 0.7754 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.9486, allocations: 88.09 kB / 0.7755 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.9487, allocations: 53.38 kB / 0.7756 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007049/0.9494, allocations: 0.5385 MB / 0.7761 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9495, allocations: 0 / 0.7761 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002108/0.9516, allocations: 0.7327 MB / 0.7768 GB, free: 12.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 133 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001371/0.9529, allocations: 0.6197 MB / 0.7774 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006387/0.9593, allocations: 2.504 MB / 0.7798 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.9594, allocations: 3.953 kB / 0.7798 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002189/0.9616, allocations: 0.9446 MB / 0.7808 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.963, allocations: 234.1 kB / 0.781 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/0.9696, allocations: 3.48 MB / 0.7844 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.9707, allocations: 1.288 MB / 0.7857 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002877/0.9735, allocations: 0.5253 MB / 0.7862 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005008/0.974, allocations: 141.7 kB / 0.7863 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of SimCode: time 2.375e-06/0.9741, allocations: 0 / 0.7863 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of Templates: time 0.03448/1.009, allocations: 17.48 MB / 0.8034 GB, free: 4.656 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1) Environment - environmentSimulation: