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.001318/0.001318, allocations: 173.9 kB / 7.648 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.331/1.331, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0009066/0.0009066, allocations: 97.84 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5578/0.5578, allocations: 78.12 MB / 409.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.554e-05/1.556e-05, allocations: 3.938 kB / 485.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 69.36 MB / 0.5414 GB, free: 6.871 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4514/0.586, allocations: 98.87 MB / 0.638 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/0.5864, allocations: 84.59 kB / 0.6381 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05861/0.6451, allocations: 20.36 MB / 0.6579 GB, free: 12.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6451, allocations: 0 / 0.6579 GB, free: 12.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.138e-05/0.6452, allocations: 20.12 kB / 0.658 GB, free: 12.37 MB / 474.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.003459/0.6486, allocations: 1.298 MB / 0.6592 GB, free: 11.03 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.6487, allocations: 8.031 kB / 0.6592 GB, free: 11.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.6505, allocations: 326.5 kB / 0.6595 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.6516, allocations: 0.598 MB / 0.6601 GB, free: 10.06 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003772/0.652, allocations: 320.6 kB / 0.6604 GB, free: 9.691 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.6521, allocations: 36 kB / 0.6605 GB, free: 9.656 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001116/0.6533, allocations: 0.5806 MB / 0.661 GB, free: 9.078 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.6544, allocations: 0.6643 MB / 0.6617 GB, free: 8.391 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.6545, allocations: 0 / 0.6617 GB, free: 8.391 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.6545, allocations: 0 / 0.6617 GB, free: 8.391 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.6546, allocations: 19.94 kB / 0.6617 GB, free: 8.371 MB / 474.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.005429/0.66, allocations: 2.983 MB / 0.6646 GB, free: 5.262 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006908/0.6669, allocations: 2.38 MB / 0.6669 GB, free: 2.793 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/0.6676, allocations: 407.4 kB / 0.6673 GB, free: 2.391 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.881e-05/0.6677, allocations: 12.55 kB / 0.6673 GB, free: 2.379 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.6677, allocations: 47.05 kB / 0.6674 GB, free: 2.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=71): time 3.256e-06/0.6677, allocations: 0 / 0.6674 GB, free: 2.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=71): time 0.009824/0.6776, allocations: 2.992 MB / 0.6703 GB, free: 15.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/0.6777, allocations: 111.4 kB / 0.6704 GB, free: 15.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009534/0.6787, allocations: 0.5586 MB / 0.671 GB, free: 14.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.6788, allocations: 25.7 kB / 0.671 GB, free: 14.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.6791, allocations: 380.5 kB / 0.6713 GB, free: 14.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.6794, allocations: 241 kB / 0.6716 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.6795, allocations: 3.938 kB / 0.6716 GB, free: 13.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.6797, allocations: 338 kB / 0.6719 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/0.6802, allocations: 305.5 kB / 0.6722 GB, free: 13.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006314/0.6808, allocations: 419 kB / 0.6726 GB, free: 12.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/0.6814, allocations: 328.5 kB / 0.6729 GB, free: 12.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.6814, allocations: 4 kB / 0.6729 GB, free: 12.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00964/0.6911, allocations: 3.057 MB / 0.6759 GB, free: 9.496 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004238/0.6915, allocations: 1.137 MB / 0.677 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.6915, allocations: 3.953 kB / 0.677 GB, free: 8.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004032/0.6956, allocations: 1.212 MB / 0.6782 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.6961, allocations: 95.89 kB / 0.6783 GB, free: 6.957 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002797/0.6989, allocations: 1.613 MB / 0.6799 GB, free: 5.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.7, allocations: 139.5 kB / 0.68 GB, free: 5.184 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.7001, allocations: 29.98 kB / 0.68 GB, free: 5.156 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.7001, allocations: 4 kB / 0.68 GB, free: 5.152 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009014/0.7092, allocations: 2.829 MB / 0.6828 GB, free: 2.316 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.7092, allocations: 4 kB / 0.6828 GB, free: 2.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/0.7131, allocations: 1.177 MB / 0.6839 GB, free: 1.133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/0.7136, allocations: 103.9 kB / 0.684 GB, free: 1.031 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.7253, allocations: 5.927 MB / 0.6898 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.7265, allocations: 127.6 kB / 0.69 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/0.7266, allocations: 30.61 kB / 0.69 GB, free: 10.83 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: wT4G1.Is.im:VARIABLE() "Imaginary part of complex number" type: Real wT4G1.Is.re:VARIABLE() "Real part of complex number" type: Real 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002767/0.7268, allocations: 126.2 kB / 0.6901 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009329/0.7362, allocations: 2.992 MB / 0.693 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/0.7366, allocations: 86.97 kB / 0.6931 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009546/0.7461, allocations: 3.077 MB / 0.6961 GB, free: 4.508 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.7462, allocations: 13.11 kB / 0.6961 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.7462, allocations: 7.953 kB / 0.6961 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.7462, allocations: 3.938 kB / 0.6961 GB, free: 4.484 MB / 0.4948 GB 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 postOpt removeSimpleEquations (simulation): time 0.01128/0.7575, allocations: 4.194 MB / 0.7002 GB, free: 212 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.7575, allocations: 0 / 0.7002 GB, free: 212 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.758, allocations: 75.89 kB / 0.7003 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003862/0.7619, allocations: 1.181 MB / 0.7015 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-05/0.762, allocations: 7.984 kB / 0.7015 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01238/0.7744, allocations: 6.249 MB / 0.7076 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.7745, allocations: 0 / 0.7076 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/0.7848, allocations: 3.72 MB / 0.7112 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.7853, allocations: 183.9 kB / 0.7114 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.7854, allocations: 8.875 kB / 0.7114 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009384/0.7864, allocations: 107.9 kB / 0.7115 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004851/0.7869, allocations: 156.5 kB / 0.7116 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.7869, allocations: 23.98 kB / 0.7117 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00059/0.7875, allocations: 443.2 kB / 0.7121 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7875, allocations: 0 / 0.7121 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001495/0.789, allocations: 435.1 kB / 0.7125 GB, free: 3.477 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01065/0.7997, allocations: 4.35 MB / 0.7167 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006924/0.8067, allocations: 2.427 MB / 0.7191 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8067, allocations: 0 / 0.7191 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003189/0.8099, allocations: 1.14 MB / 0.7202 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008648/0.8108, allocations: 64.88 kB / 0.7203 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.8139, allocations: 1.394 MB / 0.7216 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.8144, allocations: 1.012 MB / 0.7226 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004888/0.8149, allocations: 119.6 kB / 0.7228 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/0.8153, allocations: 303.3 kB / 0.723 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of SimCode: time 7.11e-07/0.8153, allocations: 0 / 0.723 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06314/0.8785, allocations: 26.01 MB / 0.7484 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003191/0.8788, allocations: 122.9 kB / 0.7486 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/3.807, allocations: 0 / 0.7486 GB, free: 14.56 MB / 0.5573 GB (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)