Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") [: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.001831/0.001831, allocations: 180.3 kB / 7.456 MB, free: 2.199 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.048/1.048, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.000811/0.0008109, allocations: 103.5 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3629/0.3629, allocations: 78.1 MB / 409 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.396e-06/8.506e-06, allocations: 4 kB / 484.4 MB, free: 4.574 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.22, allocations: 69.34 MB / 0.5407 GB, free: 21.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09785/0.3179, allocations: 98.88 MB / 0.6373 GB, free: 6.07 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001654/0.3181, allocations: 75.95 kB / 0.6374 GB, free: 5.996 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06199/0.3801, allocations: 25.15 MB / 0.6619 GB, free: 12.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.966e-05/0.3801, allocations: 20 kB / 0.662 GB, free: 12.65 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004187/0.3843, allocations: 1.77 MB / 0.6637 GB, free: 10.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.3844, allocations: 8.031 kB / 0.6637 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/0.3875, allocations: 0.5798 MB / 0.6643 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.3889, allocations: 0.7749 MB / 0.665 GB, free: 9.414 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.3892, allocations: 240.2 kB / 0.6652 GB, free: 9.141 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.3893, allocations: 51.92 kB / 0.6653 GB, free: 9.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001415/0.3908, allocations: 0.8163 MB / 0.6661 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.3922, allocations: 0.8407 MB / 0.6669 GB, free: 7.422 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.3922, allocations: 3.938 kB / 0.6669 GB, free: 7.418 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.3923, allocations: 7.844 kB / 0.6669 GB, free: 7.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.3923, allocations: 16 kB / 0.6669 GB, free: 7.395 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005487/0.3978, allocations: 3.409 MB / 0.6703 GB, free: 3.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/0.3987, allocations: 0.597 MB / 0.6709 GB, free: 3.234 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007509/0.3995, allocations: 0.5383 MB / 0.6714 GB, free: 2.691 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-05/0.3996, allocations: 16.77 kB / 0.6714 GB, free: 2.676 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3996, allocations: 43.34 kB / 0.6714 GB, free: 2.625 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 1.733e-06/0.3996, allocations: 0 / 0.6714 GB, free: 2.625 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.1376/0.5372, allocations: 4.242 MB / 0.6756 GB, free: 142.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.5373, allocations: 85.27 kB / 0.6757 GB, free: 142.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008743/0.5382, allocations: 0.6964 MB / 0.6763 GB, free: 142.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.5383, allocations: 29.03 kB / 0.6764 GB, free: 142.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.5385, allocations: 316.3 kB / 0.6767 GB, free: 142.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.5388, allocations: 305.8 kB / 0.677 GB, free: 142 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.5388, allocations: 0 / 0.677 GB, free: 142 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.5389, allocations: 343.7 kB / 0.6773 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000646/0.5396, allocations: 429.5 kB / 0.6777 GB, free: 141.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006575/0.5402, allocations: 0.5213 MB / 0.6782 GB, free: 141.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.5409, allocations: 477.7 kB / 0.6787 GB, free: 141.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5409, allocations: 0 / 0.6787 GB, free: 141.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0112/0.5521, allocations: 4.382 MB / 0.6829 GB, free: 141.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.5522, allocations: 0.7865 MB / 0.6837 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.5523, allocations: 3.906 kB / 0.6837 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004926/0.5572, allocations: 1.743 MB / 0.6854 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005707/0.5578, allocations: 139.3 kB / 0.6855 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.5698, allocations: 6.361 MB / 0.6918 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.571, allocations: 194.5 kB / 0.6919 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.5711, allocations: 30.55 kB / 0.692 GB, free: 138.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.5712, allocations: 5.656 kB / 0.692 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01108/0.5822, allocations: 4.233 MB / 0.6961 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5823, allocations: 5.062 kB / 0.6961 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005233/0.5875, allocations: 1.74 MB / 0.6978 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.5881, allocations: 136 kB / 0.6979 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/0.6007, allocations: 6.358 MB / 0.7042 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.602, allocations: 180.5 kB / 0.7043 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.6021, allocations: 30.72 kB / 0.7044 GB, free: 137 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.000257/0.6024, allocations: 127.8 kB / 0.7045 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.6026, allocations: 113.6 kB / 0.7046 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.6139, allocations: 4.343 MB / 0.7088 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.6139, allocations: 8.969 kB / 0.7088 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.6139, allocations: 0 / 0.7088 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.6139, allocations: 6.375 kB / 0.7088 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.6261, allocations: 5.693 MB / 0.7144 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6261, allocations: 0 / 0.7144 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/0.6267, allocations: 120.3 kB / 0.7145 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004695/0.6314, allocations: 1.732 MB / 0.7162 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.685e-05/0.6315, allocations: 5.406 kB / 0.7162 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.642, allocations: 5.652 MB / 0.7217 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.642, allocations: 12.5 kB / 0.7217 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01218/0.6542, allocations: 5.091 MB / 0.7267 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.6544, allocations: 205.6 kB / 0.7269 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.6546, allocations: 0.6094 kB / 0.7269 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6557, allocations: 144.2 kB / 0.7271 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/0.656, allocations: 126.1 kB / 0.7272 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.197e-05/0.6561, allocations: 26.62 kB / 0.7272 GB, free: 130.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005888/0.6567, allocations: 0.534 MB / 0.7277 GB, free: 130.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001499/0.6582, allocations: 0.6082 MB / 0.7283 GB, free: 130.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002274/0.6585, allocations: 136.5 kB / 0.7284 GB, free: 130.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008627/0.6671, allocations: 3.425 MB / 0.7318 GB, free: 128.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6671, allocations: 0.5 kB / 0.7318 GB, free: 128.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003666/0.6708, allocations: 1.435 MB / 0.7332 GB, free: 127.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.6714, allocations: 69.56 kB / 0.7333 GB, free: 127.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.6754, allocations: 1.675 MB / 0.7349 GB, free: 125.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006612/0.6761, allocations: 1.152 MB / 0.736 GB, free: 124.7 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6761, allocations: 0 / 0.736 GB, free: 124.7 MB / 490.7 MB Notification: Performance of Templates: time 0.03319/0.7093, allocations: 28.78 MB / 0.7641 GB, free: 103.3 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)