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"}) [: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 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 186.5 kB / 7.461 MB, free: 1.551 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.071/1.071, allocations: 221.4 MB / 229.3 MB, free: 8.598 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008418/0.0008418, allocations: 93.41 kB / 280.1 MB, free: 7.891 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3702/0.3702, allocations: 78.1 MB / 409 MB, free: 5.547 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.132/0.5022, allocations: 75.49 MB / 484.5 MB, free: 10.38 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.7604, allocations: 69.35 MB / 0.5408 GB, free: 15.84 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.8685, allocations: 98.8 MB / 0.6373 GB, free: 12.98 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.8687, allocations: 83.95 kB / 0.6374 GB, free: 12.89 MB / 466.8 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.05645/0.9252, allocations: 21.41 MB / 0.6583 GB, free: 7.316 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.9253, allocations: 8.188 kB / 0.6583 GB, free: 7.309 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.9269, allocations: 346.4 kB / 0.6587 GB, free: 6.969 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009175/0.9279, allocations: 0.6136 MB / 0.6593 GB, free: 6.312 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/0.9282, allocations: 320.6 kB / 0.6596 GB, free: 5.941 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.612e-05/0.9283, allocations: 35.94 kB / 0.6596 GB, free: 5.906 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001002/0.9294, allocations: 0.5844 MB / 0.6602 GB, free: 5.324 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.9304, allocations: 0.6627 MB / 0.6608 GB, free: 4.641 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.9305, allocations: 0 / 0.6608 GB, free: 4.641 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-05/0.9305, allocations: 0 / 0.6608 GB, free: 4.641 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.9306, allocations: 16 kB / 0.6608 GB, free: 4.625 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005259/0.9358, allocations: 3.035 MB / 0.6638 GB, free: 1.473 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008108/0.9366, allocations: 0.5654 MB / 0.6643 GB, free: 0.8906 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005465/0.9372, allocations: 403.3 kB / 0.6647 GB, free: 0.4922 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-05/0.9373, allocations: 16.58 kB / 0.6647 GB, free: 488 kB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.9373, allocations: 55.11 kB / 0.6648 GB, free: 420 kB / 482.8 MB Notification: Performance of pre-optimization done (n=71): time 1.994e-06/0.9373, allocations: 0 / 0.6648 GB, free: 420 kB / 482.8 MB Notification: Performance of matching and sorting (n=71): time 0.164/1.101, allocations: 3.172 MB / 0.6679 GB, free: 140.3 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/1.101, allocations: 116.1 kB / 0.668 GB, free: 140.2 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006908/1.102, allocations: 0.56 MB / 0.6685 GB, free: 140.1 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 9.456e-05/1.102, allocations: 25.7 kB / 0.6686 GB, free: 140.1 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/1.102, allocations: 265.9 kB / 0.6688 GB, free: 140 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/1.103, allocations: 246.9 kB / 0.6691 GB, free: 139.8 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/1.103, allocations: 0 / 0.6691 GB, free: 139.8 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 5.154e-05/1.103, allocations: 334.2 kB / 0.6694 GB, free: 139.5 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/1.103, allocations: 304.1 kB / 0.6697 GB, free: 139.5 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/1.104, allocations: 434.5 kB / 0.6701 GB, free: 139.4 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/1.104, allocations: 334.9 kB / 0.6704 GB, free: 139.4 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.104, allocations: 0 / 0.6704 GB, free: 139.4 MB / 482.8 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.008674/1.113, allocations: 3.23 MB / 0.6736 GB, free: 139.1 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/1.113, allocations: 1.14 MB / 0.6747 GB, free: 137.9 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.113, allocations: 3.375 kB / 0.6747 GB, free: 137.9 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003649/1.117, allocations: 1.255 MB / 0.6759 GB, free: 137.8 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/1.117, allocations: 93.22 kB / 0.676 GB, free: 137.8 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/1.12, allocations: 1.668 MB / 0.6776 GB, free: 137.3 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/1.121, allocations: 154.1 kB / 0.6778 GB, free: 137.2 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.636e-05/1.121, allocations: 30.91 kB / 0.6778 GB, free: 137.2 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/1.121, allocations: 3.875 kB / 0.6778 GB, free: 137.2 MB / 482.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008432/1.129, allocations: 3.013 MB / 0.6807 GB, free: 137 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.13, allocations: 3.875 kB / 0.6807 GB, free: 137 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003823/1.133, allocations: 1.217 MB / 0.6819 GB, free: 136.9 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/1.134, allocations: 103.4 kB / 0.682 GB, free: 136.9 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/1.145, allocations: 5.387 MB / 0.6873 GB, free: 135.4 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/1.146, allocations: 137 kB / 0.6874 GB, free: 135.4 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/1.146, allocations: 23.81 kB / 0.6874 GB, free: 135.4 MB / 482.8 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.0002277/1.146, allocations: 130.2 kB / 0.6876 GB, free: 135.3 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/1.147, allocations: 88.5 kB / 0.6877 GB, free: 135.2 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009376/1.156, allocations: 3.268 MB / 0.6908 GB, free: 135 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/1.156, allocations: 8.25 kB / 0.6909 GB, free: 135 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/1.156, allocations: 0 / 0.6909 GB, free: 135 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/1.156, allocations: 9.078 kB / 0.6909 GB, free: 134.9 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/1.168, allocations: 4.504 MB / 0.6953 GB, free: 134.3 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/1.168, allocations: 0 / 0.6953 GB, free: 134.3 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/1.168, allocations: 83.86 kB / 0.6953 GB, free: 134.3 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003466/1.172, allocations: 1.217 MB / 0.6965 GB, free: 134.2 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-05/1.172, allocations: 3.969 kB / 0.6965 GB, free: 134.2 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/1.183, allocations: 5.701 MB / 0.7021 GB, free: 132.5 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.183, allocations: 4.734 kB / 0.7021 GB, free: 132.5 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01021/1.193, allocations: 3.913 MB / 0.7059 GB, free: 131.3 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0115/1.204, allocations: 4.833 MB / 0.7106 GB, free: 129.4 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/1.205, allocations: 173.8 kB / 0.7108 GB, free: 129.3 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/1.205, allocations: 9.438 kB / 0.7108 GB, free: 129.3 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009698/1.206, allocations: 119.5 kB / 0.7109 GB, free: 129.3 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/1.206, allocations: 92.25 kB / 0.711 GB, free: 129.3 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-05/1.206, allocations: 21.61 kB / 0.711 GB, free: 129.3 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.0005913/1.207, allocations: 446 kB / 0.7115 GB, free: 129 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.002415/1.209, allocations: 441.2 kB / 0.7119 GB, free: 129 MB / 482.8 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.0002335/1.21, allocations: 132.7 kB / 0.712 GB, free: 128.9 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.006628/1.216, allocations: 2.465 MB / 0.7144 GB, free: 128.1 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.216, allocations: 3 kB / 0.7144 GB, free: 128.1 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002837/1.219, allocations: 1.125 MB / 0.7155 GB, free: 127.7 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006431/1.22, allocations: 66.09 kB / 0.7156 GB, free: 127.7 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/1.223, allocations: 1.335 MB / 0.7169 GB, free: 127.1 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/1.223, allocations: 1.049 MB / 0.7179 GB, free: 126.3 MB / 482.8 MB Notification: Performance of SimCode: time 8.82e-07/1.223, allocations: 2.375 kB / 0.7179 GB, free: 126.3 MB / 482.8 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)