Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Wind.GE.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test") translateModel(OpenIPSL.Tests.Wind.GE.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006227/0.006227, allocations: 170.4 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.4 MB / 221.2 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009295/0.0009295, allocations: 90.86 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07995/0.07995, allocations: 12.61 MB / 330.5 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4573/0.4573, allocations: 78.53 MB / 460 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005173/0.0005173, allocations: 18.03 kB / 0.5285 GB, free: 35.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1529, allocations: 69.34 MB / 0.5962 GB, free: 3.805 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4775/0.6304, allocations: 106.4 MB / 0.7001 GB, free: 100.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.6307, allocations: 79.95 kB / 0.7002 GB, free: 100.7 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Wind/GE/Type_3/GE_WT.mo:176:11-177:22:writable] Warning: lambda_sav was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Wind/GE/Type_3/GE_WT.mo:224:11-225:22:writable] Warning: theta_sav was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.1026/0.7333, allocations: 45.56 MB / 0.7447 GB, free: 65.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.7333, allocations: 0 / 0.7447 GB, free: 65.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001714/0.7335, allocations: 52 kB / 0.7447 GB, free: 65.79 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.006565/0.7401, allocations: 3.104 MB / 0.7478 GB, free: 62.61 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.7401, allocations: 19.98 kB / 0.7478 GB, free: 62.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/0.7429, allocations: 0.6174 MB / 0.7484 GB, free: 61.97 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.7455, allocations: 1.608 MB / 0.75 GB, free: 60.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003379/0.7459, allocations: 417 kB / 0.7504 GB, free: 59.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/0.7462, allocations: 188 kB / 0.7505 GB, free: 59.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004405/0.7506, allocations: 2.672 MB / 0.7532 GB, free: 56.86 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.7506, allocations: 7.938 kB / 0.7532 GB, free: 56.86 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.7508, allocations: 76 kB / 0.7532 GB, free: 56.78 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.7508, allocations: 47.94 kB / 0.7533 GB, free: 56.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004287/0.7551, allocations: 2.448 MB / 0.7557 GB, free: 54.28 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/0.7666, allocations: 9.704 MB / 0.7652 GB, free: 44.26 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009959/0.7765, allocations: 3.781 MB / 0.7688 GB, free: 40.47 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/0.7768, allocations: 29.27 kB / 0.7689 GB, free: 40.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.7768, allocations: 51.88 kB / 0.7689 GB, free: 40.39 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 2.855e-06/0.7768, allocations: 4 kB / 0.7689 GB, free: 40.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=153): time 0.02688/0.8037, allocations: 9.877 MB / 0.7786 GB, free: 30.44 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.8038, allocations: 252.6 kB / 0.7788 GB, free: 30.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.8059, allocations: 1.489 MB / 0.7803 GB, free: 28.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004796/0.8064, allocations: 57.7 kB / 0.7803 GB, free: 28.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/0.8069, allocations: 0.9244 MB / 0.7812 GB, free: 27.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004812/0.8074, allocations: 0.5354 MB / 0.7817 GB, free: 27.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.8075, allocations: 44 kB / 0.7818 GB, free: 27.03 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.8077, allocations: 394.7 kB / 0.7822 GB, free: 26.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00255/0.8102, allocations: 1.437 MB / 0.7836 GB, free: 25.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002659/0.8129, allocations: 1.828 MB / 0.7854 GB, free: 23.24 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/0.8156, allocations: 1.596 MB / 0.7869 GB, free: 21.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.8156, allocations: 0 / 0.7869 GB, free: 21.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=302) (initialization): time 0.01582/0.8314, allocations: 6.922 MB / 0.7937 GB, free: 14.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005316/0.832, allocations: 3.027 MB / 0.7966 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.832, allocations: 12 kB / 0.7966 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005305/0.8373, allocations: 2.011 MB / 0.7986 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.8394, allocations: 459.4 kB / 0.799 GB, free: 8.859 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/0.8544, allocations: 8.187 MB / 0.807 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/0.857, allocations: 441.9 kB / 0.8075 GB, free: 100 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/0.8572, allocations: 88 kB / 0.8075 GB, free: 12 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.8572, allocations: 4 kB / 0.8075 GB, free: 8 kB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01704/0.8742, allocations: 6.586 MB / 0.814 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.8743, allocations: 8 kB / 0.814 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005763/0.88, allocations: 2.016 MB / 0.816 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/0.882, allocations: 419.4 kB / 0.8164 GB, free: 6.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01714/0.8992, allocations: 8.175 MB / 0.8243 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.9017, allocations: 362.2 kB / 0.8247 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.9019, allocations: 83.92 kB / 0.8248 GB, free: 14.17 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 17 (GE_WT_init.turbine_Model1.thlim1,GE_WT_init.turbine_Model1.pwlim2,GE_WT_init.generator1.integrator3.local_reset,GE_WT_init.generator1.integrator2.local_reset,GE_WT_init.generator1.integrator1.local_reset,GE_WT_init.electrical_Control1.integrator1.local_reset,GE_WT_init.electrical_Control1.limIntegrator1.local_reset,GE_WT_init.turbine_Model1.limIntegrator2.local_reset,GE_WT_init.turbine_Model1.integrator4.local_reset,GE_WT_init.turbine_Model1.limIntegrator1.local_reset,GE_WT_init.turbine_Model1.integrator3.local_reset,GE_WT_init.turbine_Model1.integrator2.local_reset,GE_WT_init.turbine_Model1.integrator1.local_reset,GE_WT_init.turbine_Model1.rotor_Model1.integrator4.local_reset,GE_WT_init.turbine_Model1.rotor_Model1.integrator3.local_reset,GE_WT_init.turbine_Model1.rotor_Model1.integrator2.local_reset,GE_WT_init.turbine_Model1.rotor_Model1.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001504/0.9034, allocations: 0.6062 MB / 0.8254 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/0.9038, allocations: 201.4 kB / 0.8255 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/0.9198, allocations: 6.067 MB / 0.8315 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.9198, allocations: 16 kB / 0.8315 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.9198, allocations: 4 kB / 0.8315 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/0.9198, allocations: 7.984 kB / 0.8315 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/0.9383, allocations: 8.307 MB / 0.8396 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.9384, allocations: 0 / 0.8396 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.9398, allocations: 275.7 kB / 0.8399 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005661/0.9455, allocations: 1.997 MB / 0.8418 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002799/0.9458, allocations: 35.98 kB / 0.8419 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01659/0.9624, allocations: 8.14 MB / 0.8498 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.9625, allocations: 3.938 kB / 0.8498 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02566/0.9881, allocations: 7.761 MB / 0.8574 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009111/0.9891, allocations: 294.4 kB / 0.8577 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005267/0.9896, allocations: 32 kB / 0.8577 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/0.9919, allocations: 251.8 kB / 0.8579 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001264/0.9932, allocations: 284.8 kB / 0.8582 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/0.9934, allocations: 36 kB / 0.8582 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002574/0.996, allocations: 1.102 MB / 0.8593 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.8e-07/0.996, allocations: 0 / 0.8593 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004352/1, allocations: 1.122 MB / 0.8604 GB, free: 9.312 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 15 (GE_WT_init.turbine_Model1.rotor_Model1.integrator1.y,GE_WT_init.turbine_Model1.rotor_Model1.integrator2.y,GE_WT_init.turbine_Model1.rotor_Model1.integrator3.y,GE_WT_init.turbine_Model1.rotor_Model1.integrator4.y,GE_WT_init.turbine_Model1.integrator1.y,GE_WT_init.turbine_Model1.integrator2.y,GE_WT_init.turbine_Model1.integrator3.y,GE_WT_init.turbine_Model1.limIntegrator1.y,GE_WT_init.turbine_Model1.integrator4.y,GE_WT_init.turbine_Model1.limIntegrator2.y,GE_WT_init.electrical_Control1.limIntegrator1.y,GE_WT_init.electrical_Control1.integrator1.y,GE_WT_init.generator1.integrator1.y,GE_WT_init.generator1.integrator2.y,GE_WT_init.generator1.integrator3.y) * Number of discrete variables: 2 (GE_WT_init.turbine_Model1.thlim1,GE_WT_init.turbine_Model1.pwlim2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007317/1.001, allocations: 218.9 kB / 0.8606 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02591/1.027, allocations: 9.374 MB / 0.8698 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.027, allocations: 4.125 kB / 0.8698 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008622/1.036, allocations: 2.407 MB / 0.8721 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/1.038, allocations: 216.4 kB / 0.8723 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/1.05, allocations: 4.842 MB / 0.8771 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/1.051, allocations: 1.536 MB / 0.8786 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002507/1.054, allocations: 313.7 kB / 0.8789 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005725/1.055, allocations: 111.4 kB / 0.879 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of SimCode: time 2.154e-06/1.055, allocations: 0 / 0.879 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of Templates: time 0.08289/1.137, allocations: 36.8 MB / 0.9149 GB, free: 1.316 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.GE.WT_Test.pipe 2>&1)