Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1,fileNamePrefix="OpenIPSL_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.00508/0.00508, allocations: 182.9 kB / 7.461 MB, free: 2.5 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.303/1.303, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.0009913/0.0009913, allocations: 94.78 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6427/0.6427, allocations: 78.05 MB / 408.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1926/0.8354, allocations: 75.5 MB / 484.4 MB, free: 4.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/1.258, allocations: 69.34 MB / 0.5408 GB, free: 21.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/1.396, allocations: 98.8 MB / 0.6373 GB, free: 6.008 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/1.396, allocations: 87.94 kB / 0.6374 GB, free: 5.922 MB / 458.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.06592/1.462, allocations: 21.42 MB / 0.6583 GB, free: 340 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.462, allocations: 8 kB / 0.6583 GB, free: 332 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/1.464, allocations: 346.4 kB / 0.6586 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/1.466, allocations: 0.6136 MB / 0.6592 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004994/1.466, allocations: 316.6 kB / 0.6595 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/1.467, allocations: 36 kB / 0.6596 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00145/1.468, allocations: 0.5806 MB / 0.6601 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/1.47, allocations: 0.6665 MB / 0.6608 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/1.47, allocations: 0 / 0.6608 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/1.47, allocations: 0 / 0.6608 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/1.47, allocations: 16 kB / 0.6608 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006927/1.477, allocations: 3.037 MB / 0.6638 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009951/1.478, allocations: 0.5576 MB / 0.6643 GB, free: 9.918 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/1.478, allocations: 403.7 kB / 0.6647 GB, free: 9.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/1.478, allocations: 16.62 kB / 0.6647 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/1.478, allocations: 43.12 kB / 0.6647 GB, free: 9.449 MB / 490.7 MB Notification: Performance of pre-optimization done (n=71): time 3.236e-06/1.479, allocations: 7.938 kB / 0.6648 GB, free: 9.441 MB / 490.7 MB Notification: Performance of matching and sorting (n=71): time 0.01084/1.489, allocations: 3.18 MB / 0.6679 GB, free: 6.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/1.489, allocations: 115.5 kB / 0.668 GB, free: 6.113 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/1.491, allocations: 0.5586 MB / 0.6685 GB, free: 5.551 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002083/1.491, allocations: 25.7 kB / 0.6685 GB, free: 5.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/1.491, allocations: 260.5 kB / 0.6688 GB, free: 5.262 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/1.492, allocations: 248.3 kB / 0.669 GB, free: 5.016 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/1.492, allocations: 0 / 0.669 GB, free: 5.016 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/1.492, allocations: 329.9 kB / 0.6693 GB, free: 4.688 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000645/1.493, allocations: 309.6 kB / 0.6696 GB, free: 4.383 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007138/1.493, allocations: 430.8 kB / 0.67 GB, free: 3.918 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/1.494, allocations: 343.1 kB / 0.6704 GB, free: 3.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.494, allocations: 3.938 kB / 0.6704 GB, free: 3.586 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.01104/1.505, allocations: 3.227 MB / 0.6735 GB, free: 352 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2571/1.762, allocations: 1.141 MB / 0.6746 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/1.762, allocations: 3.969 kB / 0.6746 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00441/1.767, allocations: 1.25 MB / 0.6759 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/1.768, allocations: 100.7 kB / 0.676 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/1.771, allocations: 1.668 MB / 0.6776 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/1.772, allocations: 157.4 kB / 0.6777 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/1.772, allocations: 30.84 kB / 0.6778 GB, free: 144.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/1.772, allocations: 2.656 kB / 0.6778 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008912/1.781, allocations: 3.009 MB / 0.6807 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.781, allocations: 3.875 kB / 0.6807 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003749/1.785, allocations: 1.213 MB / 0.6819 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/1.785, allocations: 110.2 kB / 0.682 GB, free: 144.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/1.797, allocations: 5.386 MB / 0.6873 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/1.798, allocations: 135.5 kB / 0.6874 GB, free: 142.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/1.799, allocations: 25.77 kB / 0.6874 GB, free: 142.8 MB / 490.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.000367/1.799, allocations: 117.6 kB / 0.6875 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003726/1.799, allocations: 88.66 kB / 0.6876 GB, free: 142.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009758/1.809, allocations: 3.263 MB / 0.6908 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/1.809, allocations: 7.812 kB / 0.6908 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.809, allocations: 4 kB / 0.6908 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/1.809, allocations: 10.75 kB / 0.6908 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/1.822, allocations: 4.501 MB / 0.6952 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/1.822, allocations: 7.688 kB / 0.6952 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/1.823, allocations: 81.61 kB / 0.6953 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00433/1.827, allocations: 1.219 MB / 0.6965 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/1.827, allocations: 2.906 kB / 0.6965 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/1.842, allocations: 5.706 MB / 0.7021 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-06/1.842, allocations: 0 / 0.7021 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01198/1.854, allocations: 3.918 MB / 0.7059 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01159/1.866, allocations: 4.83 MB / 0.7106 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006463/1.867, allocations: 179.6 kB / 0.7108 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004951/1.867, allocations: 3.125 kB / 0.7108 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.869, allocations: 125.2 kB / 0.7109 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000434/1.87, allocations: 91.81 kB / 0.711 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/1.87, allocations: 21.86 kB / 0.711 GB, free: 138.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001264/1.871, allocations: 440.3 kB / 0.7114 GB, free: 138 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005272/1.877, allocations: 448.2 kB / 0.7119 GB, free: 137.9 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.0003884/1.877, allocations: 128 kB / 0.712 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01357/1.891, allocations: 2.47 MB / 0.7144 GB, free: 137.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.891, allocations: 7.391 kB / 0.7144 GB, free: 137.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006154/1.897, allocations: 1.12 MB / 0.7155 GB, free: 136.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/1.898, allocations: 59.58 kB / 0.7156 GB, free: 136.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/1.905, allocations: 1.347 MB / 0.7169 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.907, allocations: 1.047 MB / 0.7179 GB, free: 135.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.653e-06/1.907, allocations: 3 kB / 0.7179 GB, free: 135.3 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Wind_PSSE_WT4G_WT4G1.fmu > OpenIPSL_OpenIPSL.Tests.Wind.PSSE.WT4G.WT4G1.pipe 2>&1)