Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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.Examples.Wind.GE.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Wind.GE.WT_Test") translateModel(OpenIPSL.Examples.Wind.GE.WT_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.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.00109/0.00109, allocations: 179.9 kB / 16.12 MB, free: 5.57 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.53/1.53, allocations: 205.4 MB / 222.3 MB, free: 13.74 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.0008536/0.0008535, allocations: 94.23 kB / 270.6 MB, free: 13.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2531/0.2531, allocations: 42.31 MB / 361.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004108, allocations: 12 kB / 429.4 MB, free: 21.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.105, allocations: 57.55 MB / 487 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.354/0.4591, allocations: 99.83 MB / 0.573 GB, free: 4.461 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.4594, allocations: 82.28 kB / 0.5731 GB, free: 4.418 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/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-master/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.1192/0.5786, allocations: 45.62 MB / 0.6177 GB, free: 14.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5786, allocations: 0 / 0.6177 GB, free: 14.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003475/0.579, allocations: 63.3 kB / 0.6177 GB, free: 14.04 MB / 426.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.009484/0.5885, allocations: 3.079 MB / 0.6207 GB, free: 11.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.5885, allocations: 12.03 kB / 0.6207 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/0.5921, allocations: 0.6279 MB / 0.6214 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/0.596, allocations: 1.661 MB / 0.623 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006172/0.5967, allocations: 418.4 kB / 0.6234 GB, free: 8.918 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007808/0.5975, allocations: 194.5 kB / 0.6236 GB, free: 8.785 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006844/0.6043, allocations: 2.691 MB / 0.6262 GB, free: 6.766 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.624e-05/0.6044, allocations: 4 kB / 0.6262 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004145/0.6048, allocations: 74.5 kB / 0.6263 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.379e-05/0.6049, allocations: 44 kB / 0.6263 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005839/0.6107, allocations: 2.455 MB / 0.6287 GB, free: 4.605 MB / 426.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.01433/0.6251, allocations: 9.707 MB / 0.6382 GB, free: 10.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/0.6362, allocations: 3.784 MB / 0.6419 GB, free: 6.773 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003204/0.6394, allocations: 1.309 MB / 0.6432 GB, free: 5.465 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/0.6397, allocations: 21.31 kB / 0.6432 GB, free: 5.441 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.6397, allocations: 44.25 kB / 0.6432 GB, free: 5.391 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 4.298e-06/0.6397, allocations: 0 / 0.6432 GB, free: 5.391 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.03136/0.6711, allocations: 9.91 MB / 0.6529 GB, free: 11.42 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.6713, allocations: 248.6 kB / 0.6531 GB, free: 11.12 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004188/0.6755, allocations: 1.693 MB / 0.6548 GB, free: 9.383 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005688/0.6761, allocations: 65.7 kB / 0.6549 GB, free: 9.312 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.6772, allocations: 0.9243 MB / 0.6558 GB, free: 8.375 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.6782, allocations: 0.5315 MB / 0.6563 GB, free: 7.836 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004678/0.6787, allocations: 48 kB / 0.6563 GB, free: 7.789 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002911/0.679, allocations: 398.6 kB / 0.6567 GB, free: 7.395 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003598/0.6826, allocations: 1.437 MB / 0.6581 GB, free: 5.953 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003871/0.6865, allocations: 1.836 MB / 0.6599 GB, free: 3.984 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006836/0.6934, allocations: 3.053 MB / 0.6629 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.6934, allocations: 4 kB / 0.6629 GB, free: 0.793 MB / 458.7 MB Notification: Performance of matching and sorting (n=302) (initialization): time 0.01947/0.7129, allocations: 6.914 MB / 0.6696 GB, free: 9.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003856/0.7133, allocations: 378 kB / 0.67 GB, free: 9.336 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.7133, allocations: 4.078 kB / 0.67 GB, free: 9.332 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007079/0.7204, allocations: 2.014 MB / 0.672 GB, free: 7.312 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/0.7228, allocations: 459.3 kB / 0.6724 GB, free: 6.863 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/0.7412, allocations: 7.784 MB / 0.68 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/0.7443, allocations: 441.9 kB / 0.6804 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005535/0.7448, allocations: 83.94 kB / 0.6805 GB, free: 14.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.7449, allocations: 5.562 kB / 0.6805 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01953/0.7644, allocations: 6.59 MB / 0.687 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/0.7645, allocations: 8.938 kB / 0.687 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006226/0.7707, allocations: 2.012 MB / 0.6889 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.7729, allocations: 411.4 kB / 0.6893 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01806/0.791, allocations: 7.765 MB / 0.6969 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/0.7938, allocations: 354.3 kB / 0.6972 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006601/0.7945, allocations: 91.98 kB / 0.6973 GB, free: 13.01 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.002039/0.7965, allocations: 0.5941 MB / 0.6979 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007066/0.7972, allocations: 201.4 kB / 0.6981 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01716/0.8144, allocations: 6.067 MB / 0.704 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.8145, allocations: 19.98 kB / 0.704 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/0.8145, allocations: 8 kB / 0.704 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-05/0.8145, allocations: 7.922 kB / 0.7041 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.25/1.065, allocations: 8.303 MB / 0.7122 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/1.065, allocations: 0 / 0.7122 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/1.066, allocations: 278 kB / 0.7124 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006442/1.073, allocations: 1.993 MB / 0.7144 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004391/1.073, allocations: 32.31 kB / 0.7144 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01786/1.091, allocations: 7.731 MB / 0.722 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.091, allocations: 0 / 0.722 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/1.11, allocations: 7.741 MB / 0.7295 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006852/1.11, allocations: 297.7 kB / 0.7298 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004663/1.111, allocations: 31.22 kB / 0.7298 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/1.113, allocations: 260.1 kB / 0.7301 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008731/1.113, allocations: 285.5 kB / 0.7304 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/1.114, allocations: 33.44 kB / 0.7304 GB, free: 142 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001571/1.115, allocations: 1.108 MB / 0.7315 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/1.115, allocations: 0 / 0.7315 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00294/1.118, allocations: 1.117 MB / 0.7326 GB, free: 141.8 MB / 0.4948 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.0005036/1.119, allocations: 222.4 kB / 0.7328 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01559/1.134, allocations: 9.358 MB / 0.7419 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.134, allocations: 0 / 0.7419 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005958/1.14, allocations: 2.413 MB / 0.7443 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/1.142, allocations: 243.4 kB / 0.7445 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007399/1.15, allocations: 4.824 MB / 0.7492 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.151, allocations: 1.494 MB / 0.7507 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001545/1.152, allocations: 307.5 kB / 0.751 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/1.153, allocations: 113.9 kB / 0.7511 GB, free: 136 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/1.153, allocations: 4 kB / 0.7511 GB, free: 136 MB / 0.4948 GB Notification: Performance of Templates: time 0.0542/1.207, allocations: 36.92 MB / 0.7871 GB, free: 116.4 MB / 0.4948 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.Wind.GE.WT_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Wind.GE.WT_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Wind.GE.WT_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Wind.GE.WT_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Wind.GE.WT_Test.sim & ./OpenIPSL_OpenIPSL.Examples.Wind.GE.WT_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Wind.GE.WT_Test.pipe 2>&1)