Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.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.1945/0.1953, allocations: 82.22 MB / 0.5934 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.007946/0.2033, allocations: 5.585 MB / 0.5988 GB, free: 384 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5333/0.7366, allocations: 127.9 MB / 0.7237 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.7378, allocations: 24.09 kB / 0.7238 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007902/0.7386, allocations: 178.9 kB / 0.7239 GB, free: 0.7539 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.00248/0.7411, allocations: 0.6139 MB / 0.7245 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002116/0.7432, allocations: 0.6556 MB / 0.7252 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.7449, allocations: 0.9296 MB / 0.7261 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.7462, allocations: 0.8355 MB / 0.7269 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000793/0.747, allocations: 416 kB / 0.7273 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.7477, allocations: 439.1 kB / 0.7277 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.7479, allocations: 34.47 kB / 0.7277 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.749, allocations: 354.2 kB / 0.7281 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003045/0.7493, allocations: 254.2 kB / 0.7283 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.7496, allocations: 233.3 kB / 0.7285 GB, free: 56 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.7512, allocations: 1.324 MB / 0.7298 GB, free: 15.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7513, allocations: 1.969 kB / 0.7298 GB, free: 15.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.414e-06/0.7513, allocations: 0.75 kB / 0.7298 GB, free: 15.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.768e-05/0.7513, allocations: 0 / 0.7298 GB, free: 15.95 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002755/0.7541, allocations: 1.372 MB / 0.7312 GB, free: 15.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.7541, allocations: 12.91 kB / 0.7312 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.7567, allocations: 394.6 kB / 0.7316 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.7582, allocations: 0.8031 MB / 0.7324 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.7583, allocations: 75.53 kB / 0.7324 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.7584, allocations: 98.25 kB / 0.7325 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.7605, allocations: 1.161 MB / 0.7337 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.7606, allocations: 1.094 kB / 0.7337 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.825e-05/0.7607, allocations: 49.23 kB / 0.7337 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-05/0.7608, allocations: 52.66 kB / 0.7337 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.7632, allocations: 1.326 MB / 0.735 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00619/0.7694, allocations: 3.964 MB / 0.7389 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.7714, allocations: 0.9047 MB / 0.7398 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006544/0.7721, allocations: 465.7 kB / 0.7402 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.7731, allocations: 0.4949 MB / 0.7407 GB, free: 11.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=80): time 3.026e-06/0.7732, allocations: 4 kB / 0.7407 GB, free: 11.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=80): time 0.002748/0.7759, allocations: 1.166 MB / 0.7419 GB, free: 10.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.7761, allocations: 218.7 kB / 0.7421 GB, free: 10.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.7771, allocations: 0.8192 MB / 0.7429 GB, free: 10.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.01e-05/0.7771, allocations: 42.95 kB / 0.7429 GB, free: 10.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.7775, allocations: 0.4897 MB / 0.7434 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.7778, allocations: 268.7 kB / 0.7437 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.7779, allocations: 14.97 kB / 0.7437 GB, free: 9.922 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.778, allocations: 342.5 kB / 0.744 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000625/0.7786, allocations: 278.3 kB / 0.7443 GB, free: 9.551 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007514/0.7794, allocations: 440.8 kB / 0.7447 GB, free: 9.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/0.7801, allocations: 346.2 kB / 0.745 GB, free: 9.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.7801, allocations: 0 / 0.745 GB, free: 9.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00182/0.7819, allocations: 0.8663 MB / 0.7459 GB, free: 9.059 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005782/0.7825, allocations: 1.054 MB / 0.7469 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.7826, allocations: 3.25 kB / 0.7469 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.7828, allocations: 38.67 kB / 0.7469 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008329/0.7836, allocations: 183.7 kB / 0.7471 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.785, allocations: 1.296 MB / 0.7484 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007893/0.7858, allocations: 106.4 kB / 0.7485 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.7859, allocations: 37.81 kB / 0.7485 GB, free: 6.531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.7859, allocations: 2.938 kB / 0.7485 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/0.7875, allocations: 0.7586 MB / 0.7492 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7875, allocations: 2.625 kB / 0.7492 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.7875, allocations: 8.781 kB / 0.7493 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/0.7883, allocations: 184 kB / 0.7494 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.7883, allocations: 10.92 kB / 0.7494 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/0.7889, allocations: 101.2 kB / 0.7495 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.789, allocations: 35.48 kB / 0.7496 GB, free: 6.293 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (95): * Single equations (assignments): 94 * 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.0006702/0.7897, allocations: 400.8 kB / 0.75 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.7899, allocations: 101 kB / 0.7501 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.792, allocations: 1.012 MB / 0.751 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.7921, allocations: 10.25 kB / 0.751 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.7921, allocations: 0 / 0.751 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.7921, allocations: 3.984 kB / 0.7511 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.7937, allocations: 1.247 MB / 0.7523 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7937, allocations: 0 / 0.7523 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007486/0.7945, allocations: 176.3 kB / 0.7524 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.7946, allocations: 23.69 kB / 0.7525 GB, free: 4.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.7947, allocations: 29 kB / 0.7525 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.7958, allocations: 1.283 MB / 0.7537 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7958, allocations: 0 / 0.7537 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.7978, allocations: 0.9239 MB / 0.7546 GB, free: 3.367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/0.7983, allocations: 309.6 kB / 0.7549 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.7984, allocations: 16.28 kB / 0.755 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/0.7991, allocations: 73.06 kB / 0.755 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.7992, allocations: 60.38 kB / 0.7551 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.7993, allocations: 28.73 kB / 0.7551 GB, free: 3.113 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008901/0.8002, allocations: 0.5757 MB / 0.7557 GB, free: 2.938 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8002, allocations: 0 / 0.7557 GB, free: 2.938 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001649/0.8018, allocations: 0.5164 MB / 0.7562 GB, free: 2.836 MB / 0.545 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.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.001713/0.8035, allocations: 0.6209 MB / 0.7568 GB, free: 2.605 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003116/0.8067, allocations: 1.242 MB / 0.758 GB, free: 2.273 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.8067, allocations: 8 kB / 0.758 GB, free: 2.266 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009429/0.8076, allocations: 0.504 MB / 0.7585 GB, free: 2.078 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.8087, allocations: 238.2 kB / 0.7587 GB, free: 2.012 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004467/0.8132, allocations: 2.408 MB / 0.7611 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.8142, allocations: 1.139 MB / 0.7622 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001533/0.8158, allocations: 388.4 kB / 0.7626 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.8161, allocations: 109.6 kB / 0.7627 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/0.8161, allocations: 0 / 0.7627 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of Templates: time 0.02607/0.8422, allocations: 13.46 MB / 0.7758 GB, free: 8.93 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1) Environment - environmentSimulation: