Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.5 MB / 0.5497 GB, free: 14.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005697/0.0005698, allocations: 16.91 kB / 0.6735 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.276, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02035/0.2964, allocations: 18.4 MB / 0.8051 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.6553/0.9517, allocations: 134.5 MB / 0.9364 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.9538, allocations: 55.12 kB / 0.9365 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.9552, allocations: 0.5298 MB / 0.937 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004479/0.9596, allocations: 1.581 MB / 0.9385 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004475/0.9641, allocations: 1.581 MB / 0.9401 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005276/0.9694, allocations: 2.52 MB / 0.9425 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009457/0.9789, allocations: 5.688 MB / 0.9481 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003107/0.982, allocations: 1.297 MB / 0.9493 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/0.9852, allocations: 1.365 MB / 0.9507 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006719/0.9859, allocations: 162.3 kB / 0.9508 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.9882, allocations: 0.558 MB / 0.9514 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001511/0.9898, allocations: 1.182 MB / 0.9525 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.991, allocations: 0.6682 MB / 0.9532 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00704/0.998, allocations: 5.397 MB / 0.9585 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.9981, allocations: 7.938 kB / 0.9585 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.017e-06/0.9981, allocations: 0 / 0.9585 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002076/0.9983, allocations: 0 / 0.9585 GB, free: 3.531 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.009085/1.007, allocations: 3.198 MB / 0.9616 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/1.007, allocations: 9.625 kB / 0.9616 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005087/1.013, allocations: 0.8654 MB / 0.9624 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005141/1.018, allocations: 2.183 MB / 0.9646 GB, free: 332 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/1.018, allocations: 229.3 kB / 0.9648 GB, free: 324 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008202/1.019, allocations: 301.3 kB / 0.9651 GB, free: 320 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/1.029, allocations: 4.676 MB / 0.9696 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.453e-05/1.029, allocations: 6.531 kB / 0.9697 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003783/1.029, allocations: 127.8 kB / 0.9698 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003826/1.03, allocations: 216.5 kB / 0.97 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007528/1.037, allocations: 4.278 MB / 0.9742 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02606/1.063, allocations: 18.48 MB / 0.9922 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/1.066, allocations: 2.118 MB / 0.9943 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/1.067, allocations: 131.1 kB / 0.9944 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001615/1.068, allocations: 1.173 MB / 0.9955 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.727e-06/1.068, allocations: 0 / 0.9955 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=192): time 0.02846/1.097, allocations: 10.36 MB / 1.006 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002216/1.097, allocations: 362.5 kB / 1.006 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003576/1.101, allocations: 1.874 MB / 1.008 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005075/1.101, allocations: 59.33 kB / 1.008 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001482/1.103, allocations: 1.447 MB / 1.009 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008491/1.104, allocations: 0.6395 MB / 1.01 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/1.104, allocations: 40.22 kB / 1.01 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000217/1.104, allocations: 384.7 kB / 1.01 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/1.106, allocations: 1.124 MB / 1.011 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/1.108, allocations: 1.634 MB / 1.013 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/1.11, allocations: 1.392 MB / 1.014 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.11, allocations: 10.73 kB / 1.014 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01074/1.121, allocations: 4.588 MB / 1.019 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.002165/1.123, allocations: 4.969 MB / 1.024 GB, free: 216 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/1.123, allocations: 12 kB / 1.024 GB, free: 204 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007553/1.13, allocations: 1.846 MB / 1.026 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/1.133, allocations: 462.5 kB / 1.026 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/1.146, allocations: 9.479 MB / 1.035 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/1.149, allocations: 192.3 kB / 1.035 GB, free: 7.02 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/1.149, allocations: 92.91 kB / 1.036 GB, free: 6.945 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/1.149, allocations: 0 / 1.036 GB, free: 6.945 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008666/1.158, allocations: 3.784 MB / 1.039 GB, free: 4.238 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.873e-05/1.158, allocations: 12 kB / 1.039 GB, free: 4.227 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004771/1.163, allocations: 1.197 MB / 1.04 GB, free: 3.168 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/1.165, allocations: 483.1 kB / 1.041 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009454/1.174, allocations: 5.862 MB / 1.047 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/1.177, allocations: 180.3 kB / 1.047 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002689/1.177, allocations: 91.58 kB / 1.047 GB, free: 14.27 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 222 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002736/1.18, allocations: 1.22 MB / 1.048 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000556/1.181, allocations: 221.4 kB / 1.048 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009982/1.191, allocations: 4.52 MB / 1.053 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/1.191, allocations: 20 kB / 1.053 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.191, allocations: 4 kB / 1.053 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-05/1.191, allocations: 7.969 kB / 1.053 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/1.209, allocations: 9.565 MB / 1.062 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/1.209, allocations: 8 kB / 1.062 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/1.21, allocations: 367.4 kB / 1.062 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00647/1.217, allocations: 1.698 MB / 1.064 GB, free: 204 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003074/1.217, allocations: 47.98 kB / 1.064 GB, free: 156 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/1.231, allocations: 9.424 MB / 1.073 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/1.231, allocations: 11.94 kB / 1.073 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/1.241, allocations: 5.063 MB / 1.078 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002126/1.244, allocations: 0.6271 MB / 1.079 GB, free: 352 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000329/1.244, allocations: 51.98 kB / 1.079 GB, free: 300 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/1.246, allocations: 203.7 kB / 1.079 GB, free: 96 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004485/1.246, allocations: 173.5 kB / 1.079 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.246, allocations: 70.72 kB / 1.079 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002106/1.248, allocations: 1.305 MB / 1.081 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/1.248, allocations: 0 / 1.081 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003754/1.252, allocations: 1.195 MB / 1.082 GB, free: 13.34 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 173 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/1.253, allocations: 0.6518 MB / 1.082 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.009275/1.263, allocations: 5.256 MB / 1.088 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.263, allocations: 4 kB / 1.088 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003737/1.267, allocations: 2.02 MB / 1.09 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/1.269, allocations: 0.5483 MB / 1.09 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/1.281, allocations: 7.728 MB / 1.098 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002305/1.283, allocations: 2.472 MB / 1.1 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003001/1.286, allocations: 1.017 MB / 1.101 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005073/1.287, allocations: 191.4 kB / 1.101 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of SimCode: time 8.12e-07/1.287, allocations: 0 / 1.101 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of Templates: time 0.06981/1.356, allocations: 45.67 MB / 1.146 GB, free: 12.25 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1) Environment - environmentSimulation: