Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test.conf.json 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 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 221.5 MB / 229.6 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001023, allocations: 101.5 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5122/0.5122, allocations: 78.94 MB / 410.2 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.833e-05, allocations: 0 / 486 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1701, allocations: 69.52 MB / 0.5425 GB, free: 5.828 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4557/0.6259, allocations: 97.31 MB / 0.6376 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/0.6263, allocations: 76.8 kB / 0.6376 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04393/0.6702, allocations: 13.96 MB / 0.6513 GB, free: 2.828 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6703, allocations: 0 / 0.6513 GB, free: 2.828 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.469e-05/0.6704, allocations: 16 kB / 0.6513 GB, free: 2.812 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002996/0.6734, allocations: 0.9915 MB / 0.6522 GB, free: 1.777 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.6734, allocations: 16.03 kB / 0.6523 GB, free: 1.762 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009056/0.6743, allocations: 150.9 kB / 0.6524 GB, free: 1.613 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.676, allocations: 0.586 MB / 0.653 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.6761, allocations: 50.81 kB / 0.653 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.6763, allocations: 23.95 kB / 0.653 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007617/0.6771, allocations: 321.5 kB / 0.6534 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/0.6778, allocations: 338.1 kB / 0.6537 GB, free: 268 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.6778, allocations: 4 kB / 0.6537 GB, free: 264 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/0.6779, allocations: 1.312 kB / 0.6537 GB, free: 264 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.6779, allocations: 8 kB / 0.6537 GB, free: 256 kB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00457/0.6825, allocations: 1.851 MB / 0.6555 GB, free: 14.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005989/0.6885, allocations: 1.518 MB / 0.657 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.6889, allocations: 193.5 kB / 0.6572 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.385e-05/0.689, allocations: 4.328 kB / 0.6572 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006499/0.6897, allocations: 341.8 kB / 0.6575 GB, free: 12.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=46): time 4.598e-06/0.6897, allocations: 0 / 0.6575 GB, free: 12.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=46): time 0.002932/0.6926, allocations: 0.9472 MB / 0.6584 GB, free: 11.24 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.6927, allocations: 63.39 kB / 0.6585 GB, free: 11.17 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.6937, allocations: 0.531 MB / 0.659 GB, free: 10.63 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-05/0.6938, allocations: 25.7 kB / 0.659 GB, free: 10.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.6941, allocations: 308.6 kB / 0.6593 GB, free: 10.29 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.6943, allocations: 149.8 kB / 0.6595 GB, free: 10.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.6943, allocations: 0.9375 kB / 0.6595 GB, free: 10.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6945, allocations: 326 kB / 0.6598 GB, free: 9.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.6948, allocations: 192.9 kB / 0.66 GB, free: 9.633 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.6952, allocations: 230.5 kB / 0.6602 GB, free: 9.398 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.6956, allocations: 201.6 kB / 0.6604 GB, free: 9.203 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6956, allocations: 3.938 kB / 0.6604 GB, free: 9.199 MB / 474.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003229/0.6988, allocations: 1.121 MB / 0.6615 GB, free: 8.062 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.6989, allocations: 9.562 kB / 0.6615 GB, free: 8.055 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.6989, allocations: 0 / 0.6615 GB, free: 8.055 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/0.7014, allocations: 0.5908 MB / 0.6621 GB, free: 7.457 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.702, allocations: 108.7 kB / 0.6622 GB, free: 7.352 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006891/0.7089, allocations: 4.35 MB / 0.6664 GB, free: 2.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009311/0.7098, allocations: 63.77 kB / 0.6665 GB, free: 2.715 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/0.7099, allocations: 16 kB / 0.6665 GB, free: 2.699 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: dfig_Turbine.elecDyn.iqrI:VARIABLE(unit = "1" ) "internal, non saturated iqr" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: dfig_Turbine.elecDyn.idrI:VARIABLE(unit = "1" ) "internal, non saturated idr" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003456/0.7103, allocations: 126.7 kB / 0.6666 GB, free: 2.57 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002946/0.7132, allocations: 0.9505 MB / 0.6675 GB, free: 1.605 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.7135, allocations: 71.11 kB / 0.6676 GB, free: 1.535 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002914/0.7164, allocations: 1.04 MB / 0.6686 GB, free: 496 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.7165, allocations: 8 kB / 0.6686 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7165, allocations: 0 / 0.6686 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.7165, allocations: 3.984 kB / 0.6686 GB, free: 484 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/0.7206, allocations: 1.806 MB / 0.6704 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7206, allocations: 0 / 0.6704 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.721, allocations: 60.52 kB / 0.6704 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/0.7226, allocations: 442.2 kB / 0.6709 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/0.7227, allocations: 8 kB / 0.6709 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003592/0.7263, allocations: 2.35 MB / 0.6732 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.7263, allocations: 96 / 0.6732 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.7296, allocations: 1.401 MB / 0.6745 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/0.73, allocations: 160.1 kB / 0.6747 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.7302, allocations: 9.5 kB / 0.6747 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/0.7309, allocations: 43.08 kB / 0.6747 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.7312, allocations: 88.28 kB / 0.6748 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.7312, allocations: 16 kB / 0.6748 GB, free: 9.887 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000733/0.732, allocations: 431.2 kB / 0.6753 GB, free: 9.473 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.732, allocations: 0 / 0.6753 GB, free: 9.473 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009234/0.7329, allocations: 175.8 kB / 0.6754 GB, free: 9.301 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (dfig_Turbine.elecDyn.idrI,dfig_Turbine.elecDyn.iqrI,dfig_Turbine.elecDyn.Vref,dfig_Turbine.elecDyn.iqr_off,dfig_Turbine.mechaBlk1.omega_m,dfig_Turbine.pitchControl1.theta_pI) * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * 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: 0 * Non-linear torn systems: 1 {4 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003734/0.7366, allocations: 2.035 MB / 0.6774 GB, free: 7.227 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.739, allocations: 0.9052 MB / 0.6783 GB, free: 6.289 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.739, allocations: 0 / 0.6783 GB, free: 6.289 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.7404, allocations: 0.6144 MB / 0.6789 GB, free: 5.641 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006236/0.741, allocations: 45.31 kB / 0.6789 GB, free: 5.594 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.7443, allocations: 1.2 MB / 0.6801 GB, free: 4.359 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/0.7449, allocations: 0.9215 MB / 0.681 GB, free: 3.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003916/0.7453, allocations: 72.66 kB / 0.6811 GB, free: 3.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004627/0.7458, allocations: 243.4 kB / 0.6813 GB, free: 3.102 MB / 490.7 MB Notification: Performance of SimCode: time 1.603e-06/0.7458, allocations: 0 / 0.6813 GB, free: 3.102 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04637/0.7922, allocations: 14.98 MB / 0.6959 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/0.7925, allocations: 118.2 kB / 0.6961 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.212, allocations: 0 / 0.6961 GB, free: 4.129 MB / 0.4948 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Wind_PSAT_WT_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Wind_PSAT_WT_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe 2>&1)