Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.conf.json 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/ModelicaServices 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/Complex 4.0.0+maint.om/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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSAT.WT_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_PSAT_WT_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08372/0.08372, allocations: 12.6 MB / 28.1 MB, free: 0.832 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 107.5 kB / 31.69 MB, free: 3.965 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 240.3 MB, free: 12.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 192.5 kB / 290.6 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.432/0.432, allocations: 78.51 MB / 419.2 MB, free: 11.33 MB / 302.1 MB Notification: Modelica_Synchronous 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: 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: OpenIPSL 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: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 140.7 kB / 499.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3011, allocations: 68.12 MB / 0.5547 GB, free: 32.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSAT.WT_Test): time 0.005345/0.3065, allocations: 4.494 MB / 0.5591 GB, free: 29.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.3089, allocations: 1.273 MB / 0.5603 GB, free: 28.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00028/0.3092, allocations: 7.125 kB / 0.5603 GB, free: 28.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.3096, allocations: 133.1 kB / 0.5604 GB, free: 28.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004986/0.3101, allocations: 257.9 kB / 0.5607 GB, free: 28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.3111, allocations: 0.5071 MB / 0.5612 GB, free: 27.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000871/0.312, allocations: 0.9017 MB / 0.5621 GB, free: 27.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.3123, allocations: 170 kB / 0.5622 GB, free: 27.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.3127, allocations: 353 kB / 0.5626 GB, free: 26.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004421/0.3131, allocations: 443.5 kB / 0.563 GB, free: 26.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.3133, allocations: 83 kB / 0.5631 GB, free: 26.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.3135, allocations: 140.5 kB / 0.5632 GB, free: 26.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.3136, allocations: 200.3 kB / 0.5634 GB, free: 26.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.3139, allocations: 389.8 kB / 0.5638 GB, free: 25.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007674/0.3147, allocations: 1.001 MB / 0.5647 GB, free: 25.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3147, allocations: 1.438 kB / 0.5647 GB, free: 25.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3147, allocations: 0 / 0.5647 GB, free: 25.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3147, allocations: 0 / 0.5647 GB, free: 25.19 MB / 398.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.003386/0.3181, allocations: 1.355 MB / 0.5661 GB, free: 24.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3182, allocations: 12.98 kB / 0.5661 GB, free: 24.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.72e-05/0.3183, allocations: 70.47 kB / 0.5661 GB, free: 24.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008836/0.3191, allocations: 188.2 kB / 0.5663 GB, free: 24.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006654/0.3198, allocations: 0.584 MB / 0.5669 GB, free: 23.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.107e-05/0.3199, allocations: 60.36 kB / 0.567 GB, free: 23.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/0.32, allocations: 30 kB / 0.567 GB, free: 23.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/0.3207, allocations: 427.1 kB / 0.5674 GB, free: 23.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3207, allocations: 0 / 0.5674 GB, free: 23.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/0.3208, allocations: 11.44 kB / 0.5674 GB, free: 23.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.3208, allocations: 11.91 kB / 0.5674 GB, free: 23.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.3215, allocations: 380.3 kB / 0.5678 GB, free: 23.06 MB / 398.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.004065/0.3256, allocations: 1.978 MB / 0.5697 GB, free: 21.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005484/0.3311, allocations: 1.214 MB / 0.5709 GB, free: 20.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.3316, allocations: 239.7 kB / 0.5711 GB, free: 20.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.586e-05/0.3316, allocations: 18.05 kB / 0.5711 GB, free: 20.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007422/0.3324, allocations: 391.1 kB / 0.5715 GB, free: 20.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.996e-06/0.3324, allocations: 0 / 0.5715 GB, free: 20.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.005533/0.3379, allocations: 1.675 MB / 0.5731 GB, free: 19.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.338, allocations: 60.5 kB / 0.5732 GB, free: 19.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009742/0.339, allocations: 0.6956 MB / 0.5739 GB, free: 19.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/0.339, allocations: 34.95 kB / 0.5739 GB, free: 19.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.3392, allocations: 303 kB / 0.5742 GB, free: 18.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.3394, allocations: 160.5 kB / 0.5744 GB, free: 18.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.3396, allocations: 74.75 kB / 0.5744 GB, free: 18.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.3397, allocations: 331 kB / 0.5747 GB, free: 18.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.3401, allocations: 235.6 kB / 0.575 GB, free: 18.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/0.3407, allocations: 278.2 kB / 0.5752 GB, free: 17.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/0.3415, allocations: 0.4935 MB / 0.5757 GB, free: 17.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3415, allocations: 0 / 0.5757 GB, free: 17.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003137/0.3446, allocations: 1.187 MB / 0.5769 GB, free: 16.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3446, allocations: 4 kB / 0.5769 GB, free: 16.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3447, allocations: 0 / 0.5769 GB, free: 16.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002391/0.3471, allocations: 0.622 MB / 0.5775 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/0.3476, allocations: 87.88 kB / 0.5776 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007164/0.3547, allocations: 5.544 MB / 0.583 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008858/0.3557, allocations: 55.78 kB / 0.583 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.3557, allocations: 15.98 kB / 0.5831 GB, free: 9.656 MB / 398.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.0002873/0.356, allocations: 183.8 kB / 0.5832 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3561, allocations: 71.09 kB / 0.5833 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.3587, allocations: 1.098 MB / 0.5844 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3588, allocations: 8 kB / 0.5844 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3588, allocations: 7.938 kB / 0.5844 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3588, allocations: 3.984 kB / 0.5844 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/0.3622, allocations: 1.94 MB / 0.5863 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.3622, allocations: 0 / 0.5863 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.3626, allocations: 63.91 kB / 0.5863 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001537/0.3641, allocations: 449.3 kB / 0.5868 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.3642, allocations: 19.98 kB / 0.5868 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003594/0.3678, allocations: 2.777 MB / 0.5895 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3678, allocations: 4 kB / 0.5895 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/0.3709, allocations: 1.469 MB / 0.5909 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.3712, allocations: 168.1 kB / 0.5911 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.821e-05/0.3713, allocations: 15.98 kB / 0.5911 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/0.3719, allocations: 35.95 kB / 0.5912 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.3721, allocations: 84.27 kB / 0.5912 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.3721, allocations: 19.98 kB / 0.5913 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005121/0.3727, allocations: 0.5069 MB / 0.5917 GB, free: 496 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3727, allocations: 0 / 0.5917 GB, free: 496 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006573/0.3733, allocations: 183.8 kB / 0.5919 GB, free: 312 kB / 398.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.00379/0.3771, allocations: 2.02 MB / 0.5939 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002721/0.3799, allocations: 1.002 MB / 0.5949 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3799, allocations: 4.125 kB / 0.5949 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.3813, allocations: 0.6629 MB / 0.5955 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006266/0.3819, allocations: 63 kB / 0.5956 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.3965, allocations: 7.787 MB / 0.6032 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.3971, allocations: 0.9135 MB / 0.6041 GB, free: 3.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003548/0.3975, allocations: 68.75 kB / 0.6041 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.3979, allocations: 255.3 kB / 0.6044 GB, free: 3.273 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3979, allocations: 0 / 0.6044 GB, free: 3.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05058/0.4485, allocations: 18.3 MB / 0.6223 GB, free: 1.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.97, allocations: 10.97 kB / 0.6223 GB, free: 1.035 MB / 430.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Wind_PSAT_WT_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSAT.WT_Test.pipe 2>&1)