Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004292/0.004292, allocations: 183.2 kB / 7.459 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008749/0.000875, allocations: 85.3 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08181/0.08181, allocations: 12.2 MB / 321.2 MB, free: 1.301 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3896/0.3896, allocations: 78.05 MB / 449.9 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3345/0.7242, allocations: 76.09 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.8647, allocations: 69.23 MB / 0.5813 GB, free: 9.184 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4388/1.304, allocations: 100.3 MB / 0.6792 GB, free: 8.664 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/1.304, allocations: 87.12 kB / 0.6793 GB, free: 8.617 MB / 426.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.06006/1.364, allocations: 20.87 MB / 0.6997 GB, free: 7.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.364, allocations: 15.94 kB / 0.6997 GB, free: 7.254 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/1.366, allocations: 338.3 kB / 0.7 GB, free: 6.945 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/1.368, allocations: 0.6145 MB / 0.7006 GB, free: 6.414 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004957/1.368, allocations: 319.2 kB / 0.701 GB, free: 6.051 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/1.369, allocations: 40 kB / 0.701 GB, free: 6.012 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001503/1.37, allocations: 0.5772 MB / 0.7016 GB, free: 5.664 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/1.371, allocations: 0.6569 MB / 0.7022 GB, free: 5.191 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/1.371, allocations: 3.938 kB / 0.7022 GB, free: 5.188 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/1.371, allocations: 0 / 0.7022 GB, free: 5.188 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/1.371, allocations: 16 kB / 0.7022 GB, free: 5.172 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006723/1.378, allocations: 3.053 MB / 0.7052 GB, free: 2.691 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008374/1.379, allocations: 0.5594 MB / 0.7057 GB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005825/1.38, allocations: 400.7 kB / 0.7061 GB, free: 2.125 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.63e-05/1.38, allocations: 16.64 kB / 0.7061 GB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/1.38, allocations: 45.33 kB / 0.7062 GB, free: 2.062 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 2.866e-06/1.38, allocations: 0 / 0.7062 GB, free: 2.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.01035/1.39, allocations: 3.187 MB / 0.7093 GB, free: 15.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/1.39, allocations: 119.4 kB / 0.7094 GB, free: 15.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/1.392, allocations: 0.567 MB / 0.71 GB, free: 14.69 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002331/1.392, allocations: 25.7 kB / 0.71 GB, free: 14.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/1.392, allocations: 254.6 kB / 0.7102 GB, free: 14.44 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004838/1.393, allocations: 243.3 kB / 0.7105 GB, free: 14.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/1.393, allocations: 4 kB / 0.7105 GB, free: 14.22 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002211/1.393, allocations: 328 kB / 0.7108 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007/1.394, allocations: 309.6 kB / 0.7111 GB, free: 13.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006665/1.394, allocations: 425.9 kB / 0.7115 GB, free: 13.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006554/1.395, allocations: 337.6 kB / 0.7118 GB, free: 13.26 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/1.395, allocations: 11.84 kB / 0.7118 GB, free: 13.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.01071/1.406, allocations: 3.232 MB / 0.715 GB, free: 10.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007396/1.406, allocations: 1.138 MB / 0.7161 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.738e-05/1.406, allocations: 0 / 0.7161 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004733/1.411, allocations: 1.248 MB / 0.7173 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/1.412, allocations: 94.83 kB / 0.7174 GB, free: 8.027 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/1.416, allocations: 1.676 MB / 0.719 GB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.417, allocations: 155.3 kB / 0.7192 GB, free: 6.605 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/1.417, allocations: 30.92 kB / 0.7192 GB, free: 6.582 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/1.417, allocations: 7.938 kB / 0.7192 GB, free: 6.574 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01003/1.427, allocations: 3.015 MB / 0.7222 GB, free: 3.934 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/1.427, allocations: 4 kB / 0.7222 GB, free: 3.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004322/1.432, allocations: 1.219 MB / 0.7234 GB, free: 2.875 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/1.432, allocations: 99.52 kB / 0.7234 GB, free: 2.781 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/1.446, allocations: 5.386 MB / 0.7287 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/1.447, allocations: 139.4 kB / 0.7288 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/1.447, allocations: 27.55 kB / 0.7289 GB, free: 14.48 MB / 474.7 MB 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.0003949/1.448, allocations: 116.1 kB / 0.729 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/1.448, allocations: 82.97 kB / 0.7291 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/1.459, allocations: 3.275 MB / 0.7323 GB, free: 11.44 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/1.459, allocations: 11.98 kB / 0.7323 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.459, allocations: 4 kB / 0.7323 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/1.459, allocations: 7.969 kB / 0.7323 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/1.473, allocations: 4.511 MB / 0.7367 GB, free: 7.633 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.473, allocations: 0 / 0.7367 GB, free: 7.633 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/1.474, allocations: 83.58 kB / 0.7368 GB, free: 7.555 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004184/1.478, allocations: 1.216 MB / 0.7379 GB, free: 6.512 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/1.478, allocations: 3.984 kB / 0.738 GB, free: 6.508 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/1.492, allocations: 5.689 MB / 0.7435 GB, free: 1.328 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/1.492, allocations: 3.984 kB / 0.7435 GB, free: 1.324 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01255/1.505, allocations: 3.922 MB / 0.7473 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01342/1.518, allocations: 4.821 MB / 0.752 GB, free: 8.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004994/1.519, allocations: 183.8 kB / 0.7522 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/1.519, allocations: 3.984 kB / 0.7522 GB, free: 8.316 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/1.52, allocations: 119.9 kB / 0.7523 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/1.52, allocations: 96.39 kB / 0.7524 GB, free: 8.105 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.048e-05/1.521, allocations: 16 kB / 0.7524 GB, free: 8.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007556/1.521, allocations: 451.2 kB / 0.7529 GB, free: 7.652 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002916/1.524, allocations: 447 kB / 0.7533 GB, free: 7.215 MB / 490.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 () * 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.0003207/1.525, allocations: 119.2 kB / 0.7534 GB, free: 7.086 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00769/1.532, allocations: 2.475 MB / 0.7558 GB, free: 4.598 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/1.532, allocations: 8 kB / 0.7558 GB, free: 4.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003521/1.536, allocations: 1.116 MB / 0.7569 GB, free: 3.461 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009603/1.537, allocations: 62.97 kB / 0.757 GB, free: 3.402 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/1.541, allocations: 1.353 MB / 0.7583 GB, free: 2.016 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007835/1.542, allocations: 1.045 MB / 0.7593 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/1.542, allocations: 3.938 kB / 0.7593 GB, free: 0.9336 MB / 490.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe 2>&1)