Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.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.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") [/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.1577/0.1584, allocations: 82.22 MB / 0.5934 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.007884/0.1663, allocations: 6.778 MB / 0.6 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.467/0.6334, allocations: 128.3 MB / 0.7253 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008339/0.6342, allocations: 16.44 kB / 0.7253 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.6347, allocations: 186.4 kB / 0.7255 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.6366, allocations: 0.6735 MB / 0.7262 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.6385, allocations: 0.7104 MB / 0.7268 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.6399, allocations: 0.963 MB / 0.7278 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.6418, allocations: 1.23 MB / 0.729 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007853/0.6426, allocations: 434.1 kB / 0.7294 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007442/0.6434, allocations: 472.1 kB / 0.7298 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.6435, allocations: 34.53 kB / 0.7299 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.6446, allocations: 403.3 kB / 0.7303 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.645, allocations: 284.3 kB / 0.7305 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.6453, allocations: 243.8 kB / 0.7308 GB, free: 488 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.6472, allocations: 1.477 MB / 0.7322 GB, free: 368 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6472, allocations: 0 / 0.7322 GB, free: 368 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6472, allocations: 1.859 kB / 0.7322 GB, free: 368 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.346e-05/0.6472, allocations: 0 / 0.7322 GB, free: 368 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.002402/0.6496, allocations: 1.418 MB / 0.7336 GB, free: 15.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6497, allocations: 15.67 kB / 0.7336 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/0.6522, allocations: 427.4 kB / 0.734 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.6535, allocations: 0.8426 MB / 0.7348 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.365e-05/0.6536, allocations: 80.36 kB / 0.7349 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.6538, allocations: 100.9 kB / 0.735 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.6561, allocations: 1.308 MB / 0.7363 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.6561, allocations: 5.172 kB / 0.7363 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.6562, allocations: 43.23 kB / 0.7363 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.675e-05/0.6563, allocations: 71.16 kB / 0.7364 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.6587, allocations: 1.497 MB / 0.7379 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006118/0.6649, allocations: 4.117 MB / 0.7419 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.6671, allocations: 1.093 MB / 0.743 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000674/0.6678, allocations: 0.5496 MB / 0.7435 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.6688, allocations: 0.6184 MB / 0.7441 GB, free: 10.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=94): time 6.812e-06/0.6688, allocations: 3.984 kB / 0.7441 GB, free: 10.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=95): time 0.005149/0.674, allocations: 2.182 MB / 0.7462 GB, free: 10.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.6741, allocations: 164.6 kB / 0.7464 GB, free: 9.926 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.6752, allocations: 0.8219 MB / 0.7472 GB, free: 9.668 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.162e-05/0.6753, allocations: 45.64 kB / 0.7472 GB, free: 9.637 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.6758, allocations: 0.5045 MB / 0.7477 GB, free: 9.355 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/0.676, allocations: 314.5 kB / 0.748 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.6761, allocations: 16.75 kB / 0.748 GB, free: 9.129 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6763, allocations: 341.1 kB / 0.7484 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007557/0.677, allocations: 385.7 kB / 0.7487 GB, free: 8.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009117/0.6779, allocations: 0.5379 MB / 0.7493 GB, free: 8.516 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008205/0.6788, allocations: 453.6 kB / 0.7497 GB, free: 8.449 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6788, allocations: 2.781 kB / 0.7497 GB, free: 8.449 MB / 0.545 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002763/0.6815, allocations: 1.274 MB / 0.7509 GB, free: 8.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006193/0.6822, allocations: 1.227 MB / 0.7521 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.6822, allocations: 2.594 kB / 0.7521 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.6834, allocations: 260.2 kB / 0.7524 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.6844, allocations: 223.7 kB / 0.7526 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003249/0.6877, allocations: 2.03 MB / 0.7546 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.6887, allocations: 102.5 kB / 0.7547 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.403e-05/0.6889, allocations: 47.08 kB / 0.7547 GB, free: 5.109 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.6889, allocations: 12.94 kB / 0.7547 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001973/0.6908, allocations: 0.9526 MB / 0.7557 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.6909, allocations: 2.875 kB / 0.7557 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6909, allocations: 7.25 kB / 0.7557 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009273/0.6918, allocations: 222.7 kB / 0.7559 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.6919, allocations: 7.344 kB / 0.7559 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009838/0.6929, allocations: 107.1 kB / 0.756 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.223e-05/0.693, allocations: 42.56 kB / 0.756 GB, free: 4.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (108): * Single equations (assignments): 107 * 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 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008416/0.6938, allocations: 426.9 kB / 0.7565 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.6941, allocations: 100.4 kB / 0.7565 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/0.6973, allocations: 1.407 MB / 0.7579 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.6974, allocations: 12.97 kB / 0.7579 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.6974, allocations: 3.953 kB / 0.7579 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.6974, allocations: 3.984 kB / 0.7579 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005105/0.7025, allocations: 2.662 MB / 0.7605 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.7025, allocations: 0 / 0.7605 GB, free: 3.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008572/0.7034, allocations: 210.9 kB / 0.7607 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007606/0.7042, allocations: 209.8 kB / 0.7609 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/0.7043, allocations: 30.8 kB / 0.761 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.7062, allocations: 1.873 MB / 0.7628 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.7062, allocations: 10.66 kB / 0.7628 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/0.709, allocations: 1.503 MB / 0.7643 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007178/0.7097, allocations: 343.5 kB / 0.7646 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/0.71, allocations: 22.78 kB / 0.7646 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009314/0.7109, allocations: 98.17 kB / 0.7647 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.7111, allocations: 71.64 kB / 0.7648 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.737e-05/0.7111, allocations: 35.95 kB / 0.7648 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009047/0.7121, allocations: 0.5829 MB / 0.7654 GB, free: 416 kB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7121, allocations: 0 / 0.7654 GB, free: 416 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.001905/0.714, allocations: 481.4 kB / 0.7659 GB, free: 388 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 98 * 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 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001475/0.7155, allocations: 0.6173 MB / 0.7665 GB, free: 164 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004069/0.7195, allocations: 1.637 MB / 0.7681 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.7196, allocations: 5.688 kB / 0.7681 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.7209, allocations: 0.6647 MB / 0.7687 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.7222, allocations: 247.7 kB / 0.7689 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.7271, allocations: 2.742 MB / 0.7716 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.7282, allocations: 1.186 MB / 0.7728 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001685/0.7299, allocations: 477.7 kB / 0.7732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.7303, allocations: 116.6 kB / 0.7733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/0.7303, allocations: 0 / 0.7733 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.03052/0.7608, allocations: 15.93 MB / 0.7889 GB, free: 15.64 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1) Environment - environmentSimulation: