Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.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.PSSE.WT4G.WT4G1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1",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.0008586/0.0008586, allocations: 177.1 kB / 15.42 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.8 MB / 239 MB, free: 100 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007245/0.0007245, allocations: 94.38 kB / 289.8 MB, free: 4.586 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3163/0.3163, allocations: 78.43 MB / 418.9 MB, free: 56 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 12.27 kB / 498.5 MB, free: 35.37 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3243, allocations: 68.74 MB / 0.554 GB, free: 10.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1): time 0.005673/0.33, allocations: 5.445 MB / 0.5593 GB, free: 6.941 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.333, allocations: 1.565 MB / 0.5608 GB, free: 5.828 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004402/0.3334, allocations: 12.69 kB / 0.5608 GB, free: 5.824 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.3339, allocations: 133 kB / 0.561 GB, free: 5.766 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006955/0.3346, allocations: 276.5 kB / 0.5612 GB, free: 5.574 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.3361, allocations: 0.6825 MB / 0.5619 GB, free: 5.184 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009954/0.3371, allocations: 1.085 MB / 0.5629 GB, free: 4.652 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.3375, allocations: 239.4 kB / 0.5632 GB, free: 4.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004645/0.3379, allocations: 403.6 kB / 0.5636 GB, free: 4.344 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006518/0.3386, allocations: 0.524 MB / 0.5641 GB, free: 4.105 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.3387, allocations: 43.62 kB / 0.5641 GB, free: 4.105 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.339, allocations: 100.3 kB / 0.5642 GB, free: 4.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.3392, allocations: 194.8 kB / 0.5644 GB, free: 3.973 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.3395, allocations: 435.5 kB / 0.5648 GB, free: 3.699 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.3408, allocations: 1.134 MB / 0.5659 GB, free: 3.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3408, allocations: 4 kB / 0.5659 GB, free: 3.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3408, allocations: 1.312 kB / 0.5659 GB, free: 3.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.3409, allocations: 0 / 0.5659 GB, free: 3.289 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.005019/0.3459, allocations: 1.656 MB / 0.5675 GB, free: 2.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3459, allocations: 17.56 kB / 0.5676 GB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.3461, allocations: 110.6 kB / 0.5677 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002645/0.3488, allocations: 444.5 kB / 0.5681 GB, free: 2.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.3498, allocations: 0.6609 MB / 0.5687 GB, free: 1.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/0.3501, allocations: 330.1 kB / 0.569 GB, free: 1.492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.3503, allocations: 68.25 kB / 0.5691 GB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.3522, allocations: 0.8967 MB / 0.57 GB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3522, allocations: 4 kB / 0.57 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/0.3523, allocations: 21.91 kB / 0.57 GB, free: 1.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.3523, allocations: 15.03 kB / 0.57 GB, free: 1.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.3543, allocations: 0.7993 MB / 0.5708 GB, free: 0.8398 MB / 378.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.005746/0.36, allocations: 2.989 MB / 0.5737 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006957/0.367, allocations: 2.164 MB / 0.5758 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.3684, allocations: 0.5573 MB / 0.5764 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.3686, allocations: 24.95 kB / 0.5764 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3686, allocations: 43.41 kB / 0.5764 GB, free: 13.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 3.447e-06/0.3686, allocations: 0 / 0.5764 GB, free: 13.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=71): time 0.02106/0.3897, allocations: 5.355 MB / 0.5817 GB, free: 11.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/0.3898, allocations: 111.4 kB / 0.5818 GB, free: 10.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.3911, allocations: 0.7167 MB / 0.5825 GB, free: 10.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001604/0.3913, allocations: 37.2 kB / 0.5825 GB, free: 10.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.3916, allocations: 379.2 kB / 0.5829 GB, free: 10.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/0.3919, allocations: 259.2 kB / 0.5831 GB, free: 9.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.392, allocations: 61.16 kB / 0.5832 GB, free: 9.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3921, allocations: 332.5 kB / 0.5835 GB, free: 9.504 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.3932, allocations: 464.9 kB / 0.5839 GB, free: 9.285 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.3945, allocations: 0.5856 MB / 0.5845 GB, free: 8.914 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/0.3968, allocations: 1.032 MB / 0.5855 GB, free: 8.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3968, allocations: 1.125 kB / 0.5855 GB, free: 8.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.01026/0.4071, allocations: 3.015 MB / 0.5885 GB, free: 6.859 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.4073, allocations: 183 kB / 0.5886 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.4073, allocations: 2.875 kB / 0.5886 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004842/0.4121, allocations: 1.404 MB / 0.59 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.4127, allocations: 99.83 kB / 0.5901 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/0.4313, allocations: 7.734 MB / 0.5977 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.4326, allocations: 127.5 kB / 0.5978 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.4328, allocations: 27.98 kB / 0.5978 GB, free: 13.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.4328, allocations: 5.875 kB / 0.5978 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009308/0.4421, allocations: 2.774 MB / 0.6005 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.4422, allocations: 0 / 0.6005 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004381/0.4466, allocations: 1.336 MB / 0.6018 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/0.4471, allocations: 99.83 kB / 0.6019 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/0.4641, allocations: 7.206 MB / 0.609 GB, free: 2.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.4654, allocations: 123.4 kB / 0.6091 GB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.4656, allocations: 31.92 kB / 0.6091 GB, free: 2.051 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 1 (wT4G1.K.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(18,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005881/0.4661, allocations: 277 kB / 0.6094 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003579/0.4665, allocations: 90.88 kB / 0.6095 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009638/0.4762, allocations: 3.05 MB / 0.6124 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.4762, allocations: 8 kB / 0.6124 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4762, allocations: 0 / 0.6124 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.4762, allocations: 7.922 kB / 0.6125 GB, free: 14.6 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 postOpt removeSimpleEquations (simulation): time 0.01149/0.4877, allocations: 4.243 MB / 0.6166 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.4877, allocations: 0 / 0.6166 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004051/0.4882, allocations: 79.89 kB / 0.6167 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004205/0.4924, allocations: 1.335 MB / 0.618 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.392e-05/0.4925, allocations: 23.92 kB / 0.618 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01732/0.5098, allocations: 7.647 MB / 0.6255 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5098, allocations: 0 / 0.6255 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/0.5208, allocations: 3.803 MB / 0.6292 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.5212, allocations: 175.9 kB / 0.6294 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.5215, allocations: 19.98 kB / 0.6294 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.5225, allocations: 83.91 kB / 0.6295 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004852/0.523, allocations: 156.3 kB / 0.6296 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-05/0.5231, allocations: 23.92 kB / 0.6296 GB, free: 12.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008449/0.5239, allocations: 0.5069 MB / 0.6301 GB, free: 12.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.524, allocations: 0 / 0.6301 GB, free: 12.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001941/0.5259, allocations: 0.4992 MB / 0.6306 GB, free: 11.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS2_1.delta,gENCLS2_1.eq,wT4G1.K1.state,wT4G1.K.y,wT4G1.K2.state,gENCLS2_1.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(18,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01164/0.5376, allocations: 4.355 MB / 0.6349 GB, free: 7.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008241/0.5458, allocations: 2.905 MB / 0.6377 GB, free: 4.391 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5458, allocations: 0 / 0.6377 GB, free: 4.391 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003423/0.5493, allocations: 1.211 MB / 0.6389 GB, free: 3.164 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.5504, allocations: 103.2 kB / 0.639 GB, free: 3.066 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0291/0.5795, allocations: 12.33 MB / 0.651 GB, free: 6.465 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/0.5803, allocations: 1.003 MB / 0.652 GB, free: 5.426 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004481/0.5807, allocations: 73.22 kB / 0.6521 GB, free: 5.352 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/0.5812, allocations: 323.2 kB / 0.6524 GB, free: 5.035 MB / 458.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5812, allocations: 0 / 0.6524 GB, free: 5.035 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0536/0.6348, allocations: 30.48 MB / 0.6821 GB, free: 6.707 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.6351, allocations: 215.1 kB / 0.6823 GB, free: 6.449 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/3.482, allocations: 0 / 0.6823 GB, free: 6.449 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1.fmu > OpenIPSL_release_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe 2>&1)