Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 239.3 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 196.4 kB / 289.6 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4422/0.4422, allocations: 78.54 MB / 418.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 84.16 kB / 497.5 MB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1161, allocations: 68.18 MB / 0.5525 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSAT.WT_Test): time 0.1984/0.3146, allocations: 4.489 MB / 0.5568 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.3167, allocations: 1.24 MB / 0.5581 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.317, allocations: 4.25 kB / 0.5581 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.3173, allocations: 124.6 kB / 0.5582 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004871/0.3178, allocations: 260.5 kB / 0.5584 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009671/0.3188, allocations: 0.5039 MB / 0.5589 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007479/0.3196, allocations: 0.8987 MB / 0.5598 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.3198, allocations: 163.2 kB / 0.56 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/0.3202, allocations: 361.1 kB / 0.5603 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.3206, allocations: 439.6 kB / 0.5607 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.3207, allocations: 83.88 kB / 0.5608 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.321, allocations: 142.6 kB / 0.5609 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.3211, allocations: 187.9 kB / 0.5611 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.3214, allocations: 391.7 kB / 0.5615 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007347/0.3221, allocations: 1.006 MB / 0.5625 GB, free: 35.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3221, allocations: 1.625 kB / 0.5625 GB, free: 35.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3221, allocations: 1.031 kB / 0.5625 GB, free: 35.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.3222, allocations: 0 / 0.5625 GB, free: 35.89 MB / 430.1 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.003431/0.3256, allocations: 1.358 MB / 0.5638 GB, free: 35.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3257, allocations: 11.25 kB / 0.5638 GB, free: 35.22 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.667e-05/0.3257, allocations: 72.84 kB / 0.5639 GB, free: 35.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008855/0.3266, allocations: 186 kB / 0.5641 GB, free: 35.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006159/0.3273, allocations: 0.5787 MB / 0.5646 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.28e-05/0.3273, allocations: 64.75 kB / 0.5647 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.3274, allocations: 33.75 kB / 0.5647 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008196/0.3282, allocations: 425.4 kB / 0.5651 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3283, allocations: 0 / 0.5651 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.3283, allocations: 14.12 kB / 0.5651 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.3283, allocations: 8.906 kB / 0.5651 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006947/0.329, allocations: 378.2 kB / 0.5655 GB, free: 34.75 MB / 430.1 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.004082/0.3331, allocations: 1.978 MB / 0.5674 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005676/0.3388, allocations: 1.217 MB / 0.5686 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/0.3393, allocations: 241.4 kB / 0.5689 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.112e-05/0.3393, allocations: 7.016 kB / 0.5689 GB, free: 33.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006915/0.34, allocations: 400.3 kB / 0.5692 GB, free: 33.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 2.725e-06/0.3401, allocations: 0 / 0.5692 GB, free: 33.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.005077/0.3451, allocations: 1.675 MB / 0.5709 GB, free: 33.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.3452, allocations: 57.06 kB / 0.5709 GB, free: 33.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008069/0.346, allocations: 0.6913 MB / 0.5716 GB, free: 33.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.655e-05/0.3461, allocations: 32.42 kB / 0.5716 GB, free: 33.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.3462, allocations: 308.5 kB / 0.5719 GB, free: 33.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.3464, allocations: 156.4 kB / 0.5721 GB, free: 33.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.3465, allocations: 76.44 kB / 0.5722 GB, free: 33.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.3466, allocations: 334.2 kB / 0.5725 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.347, allocations: 234.7 kB / 0.5727 GB, free: 32.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.3475, allocations: 278.3 kB / 0.573 GB, free: 32.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008242/0.3483, allocations: 0.4951 MB / 0.5734 GB, free: 32.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3483, allocations: 0 / 0.5734 GB, free: 32.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003296/0.3516, allocations: 1.182 MB / 0.5746 GB, free: 32.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3516, allocations: 6.875 kB / 0.5746 GB, free: 32.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3517, allocations: 4.875 kB / 0.5746 GB, free: 32.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/0.3542, allocations: 0.6127 MB / 0.5752 GB, free: 32.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.3547, allocations: 94.8 kB / 0.5753 GB, free: 32.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00737/0.3621, allocations: 5.538 MB / 0.5807 GB, free: 28.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/0.3628, allocations: 56.59 kB / 0.5808 GB, free: 28.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.3629, allocations: 15.53 kB / 0.5808 GB, free: 28.79 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002695/0.3632, allocations: 177.5 kB / 0.5809 GB, free: 28.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3633, allocations: 75.47 kB / 0.581 GB, free: 28.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/0.3661, allocations: 1.1 MB / 0.5821 GB, free: 28.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.3662, allocations: 6.547 kB / 0.5821 GB, free: 28.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.3662, allocations: 0.875 kB / 0.5821 GB, free: 28.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.964e-06/0.3662, allocations: 3.781 kB / 0.5821 GB, free: 28.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/0.3701, allocations: 1.932 MB / 0.584 GB, free: 27.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.3701, allocations: 0.6875 kB / 0.584 GB, free: 27.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.3705, allocations: 67.52 kB / 0.5841 GB, free: 27.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001685/0.3721, allocations: 458.4 kB / 0.5845 GB, free: 27.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.3722, allocations: 16 kB / 0.5845 GB, free: 27.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00398/0.3762, allocations: 2.785 MB / 0.5872 GB, free: 25.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3762, allocations: 5 kB / 0.5872 GB, free: 25.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003447/0.3797, allocations: 1.463 MB / 0.5887 GB, free: 24.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.3799, allocations: 161.7 kB / 0.5888 GB, free: 24.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.38, allocations: 11.47 kB / 0.5888 GB, free: 24.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.3806, allocations: 41.12 kB / 0.5889 GB, free: 24.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/0.3809, allocations: 91.39 kB / 0.589 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/0.3809, allocations: 18.81 kB / 0.589 GB, free: 24.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006433/0.3816, allocations: 0.4969 MB / 0.5895 GB, free: 24.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3816, allocations: 3.094 kB / 0.5895 GB, free: 24.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007318/0.3823, allocations: 187 kB / 0.5896 GB, free: 24.12 MB / 430.1 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003689/0.386, allocations: 2.039 MB / 0.5916 GB, free: 22.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.3887, allocations: 1.004 MB / 0.5926 GB, free: 22.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.3887, allocations: 1.156 kB / 0.5926 GB, free: 22.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.3902, allocations: 0.658 MB / 0.5932 GB, free: 22.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/0.3909, allocations: 65.59 kB / 0.5933 GB, free: 22.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/0.4058, allocations: 7.776 MB / 0.6009 GB, free: 18.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.4063, allocations: 0.9064 MB / 0.6018 GB, free: 17.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003287/0.4066, allocations: 71.27 kB / 0.6019 GB, free: 17.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.407, allocations: 250.5 kB / 0.6021 GB, free: 17.27 MB / 430.1 MB Notification: Performance of SimCode: time 9.31e-07/0.407, allocations: 5.094 kB / 0.6021 GB, free: 17.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04733/0.4544, allocations: 18.29 MB / 0.62 GB, free: 9.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.1, allocations: 15.66 kB / 0.62 GB, free: 9.566 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Tests_Wind_PSAT_WT_Test.fmu > OpenIPSL_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe 2>&1)