Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.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.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",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.002132/0.002132, allocations: 183.2 kB / 7.459 MB, free: 2.512 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.066/1.066, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.0008303/0.0008303, allocations: 107.2 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3565/0.3565, allocations: 78.11 MB / 409 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1161/0.4726, allocations: 75.49 MB / 484.5 MB, free: 4.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.708, allocations: 69.34 MB / 0.5408 GB, free: 21.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0999/0.8079, allocations: 97.37 MB / 0.6359 GB, free: 7.562 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001795/0.8081, allocations: 79.97 kB / 0.636 GB, free: 7.484 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.0806/0.8888, allocations: 31.03 MB / 0.6663 GB, free: 8.184 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.8888, allocations: 8 kB / 0.6663 GB, free: 8.176 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/0.892, allocations: 0.5797 MB / 0.6669 GB, free: 7.594 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.8931, allocations: 0.7762 MB / 0.6676 GB, free: 6.762 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.8933, allocations: 214.4 kB / 0.6678 GB, free: 6.523 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.8935, allocations: 44 kB / 0.6679 GB, free: 6.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001327/0.8948, allocations: 0.8045 MB / 0.6687 GB, free: 5.676 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.8961, allocations: 0.8181 MB / 0.6695 GB, free: 4.844 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.8961, allocations: 8 kB / 0.6695 GB, free: 4.836 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.364e-05/0.8962, allocations: 0 / 0.6695 GB, free: 4.836 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.8963, allocations: 16 kB / 0.6695 GB, free: 4.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005931/0.9022, allocations: 3.79 MB / 0.6732 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009702/0.9032, allocations: 0.5879 MB / 0.6738 GB, free: 268 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1346/1.038, allocations: 0.5173 MB / 0.6743 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/1.038, allocations: 17.27 kB / 0.6743 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/1.038, allocations: 44.03 kB / 0.6743 GB, free: 142.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.895e-06/1.038, allocations: 0 / 0.6743 GB, free: 142.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01101/1.049, allocations: 4.045 MB / 0.6783 GB, free: 142 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/1.049, allocations: 140.1 kB / 0.6784 GB, free: 141.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009545/1.05, allocations: 0.8123 MB / 0.6792 GB, free: 141.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.485e-05/1.05, allocations: 25.7 kB / 0.6792 GB, free: 141.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/1.05, allocations: 317.5 kB / 0.6795 GB, free: 141.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/1.051, allocations: 323.6 kB / 0.6798 GB, free: 141.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.617e-05/1.051, allocations: 0 / 0.6798 GB, free: 141.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.512e-05/1.051, allocations: 342 kB / 0.6802 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005965/1.051, allocations: 427.8 kB / 0.6806 GB, free: 141.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/1.052, allocations: 0.5434 MB / 0.6811 GB, free: 141 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007101/1.053, allocations: 484.6 kB / 0.6816 GB, free: 141 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.053, allocations: 0.875 kB / 0.6816 GB, free: 141 MB / 490.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01109/1.064, allocations: 4.173 MB / 0.6856 GB, free: 140.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001778/1.064, allocations: 1.148 MB / 0.6868 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.064, allocations: 3.75 kB / 0.6868 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004714/1.069, allocations: 1.52 MB / 0.6883 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007512/1.069, allocations: 169.8 kB / 0.6884 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/1.081, allocations: 5.809 MB / 0.6941 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.082, allocations: 180.9 kB / 0.6943 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.082, allocations: 36.89 kB / 0.6943 GB, free: 137.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.052e-06/1.082, allocations: 3.969 kB / 0.6943 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01149/1.094, allocations: 4.023 MB / 0.6982 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.094, allocations: 3.031 kB / 0.6982 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004906/1.099, allocations: 1.514 MB / 0.6997 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007891/1.099, allocations: 165.6 kB / 0.6999 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/1.112, allocations: 5.804 MB / 0.7055 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.113, allocations: 168.3 kB / 0.7057 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/1.113, allocations: 35.84 kB / 0.7057 GB, free: 135.9 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 2 * 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 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003062/1.113, allocations: 155.7 kB / 0.7059 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/1.114, allocations: 125.5 kB / 0.706 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/1.125, allocations: 4.126 MB / 0.71 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.125, allocations: 11.62 kB / 0.71 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/1.125, allocations: 5.844 kB / 0.71 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.125, allocations: 7.188 kB / 0.7101 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/1.137, allocations: 5.606 MB / 0.7155 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.137, allocations: 0 / 0.7155 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/1.137, allocations: 117.7 kB / 0.7156 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004245/1.142, allocations: 1.465 MB / 0.7171 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.273e-05/1.142, allocations: 9.531 kB / 0.7171 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009785/1.152, allocations: 5.207 MB / 0.7222 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/1.152, allocations: 12.09 kB / 0.7222 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01201/1.164, allocations: 4.852 MB / 0.7269 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01362/1.177, allocations: 5.96 MB / 0.7327 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/1.178, allocations: 218.3 kB / 0.7329 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/1.178, allocations: 4 kB / 0.7329 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/1.179, allocations: 138 kB / 0.7331 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/1.179, allocations: 107.3 kB / 0.7332 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-05/1.18, allocations: 20 kB / 0.7332 GB, free: 127.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007799/1.18, allocations: 0.6198 MB / 0.7338 GB, free: 126.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002771/1.183, allocations: 0.6141 MB / 0.7344 GB, free: 125.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002652/1.183, allocations: 144.5 kB / 0.7345 GB, free: 125.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007783/1.191, allocations: 3.395 MB / 0.7379 GB, free: 122.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.191, allocations: 128 / 0.7379 GB, free: 122.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003219/1.194, allocations: 1.371 MB / 0.7392 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/1.195, allocations: 90.25 kB / 0.7393 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/1.199, allocations: 1.743 MB / 0.741 GB, free: 119.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007072/1.2, allocations: 1.217 MB / 0.7422 GB, free: 118.7 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/1.2, allocations: 0 / 0.7422 GB, free: 118.7 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)