Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",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.002084/0.002084, 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.064/1.064, allocations: 221.4 MB / 229.3 MB, free: 3.082 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.0008574/0.0008574, allocations: 91.11 kB / 280.1 MB, free: 1.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3609/0.3609, allocations: 78.1 MB / 409 MB, free: 15.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1157/0.4766, allocations: 75.48 MB / 484.5 MB, free: 4.551 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.7194, allocations: 69.35 MB / 0.5408 GB, free: 21.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.8203, allocations: 98.67 MB / 0.6372 GB, free: 6.18 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.8206, allocations: 83.95 kB / 0.6373 GB, free: 6.098 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.08711/0.9077, allocations: 33.71 MB / 0.6702 GB, free: 4.105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.9077, allocations: 8 kB / 0.6702 GB, free: 4.098 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003251/0.911, allocations: 0.5835 MB / 0.6708 GB, free: 3.512 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.9121, allocations: 0.8097 MB / 0.6716 GB, free: 2.648 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.9124, allocations: 232.2 kB / 0.6718 GB, free: 2.387 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.9125, allocations: 51.91 kB / 0.6718 GB, free: 2.336 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00146/0.914, allocations: 0.8123 MB / 0.6726 GB, free: 1.523 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.9154, allocations: 0.8524 MB / 0.6735 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.9154, allocations: 0 / 0.6735 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/0.9155, allocations: 7.938 kB / 0.6735 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.9155, allocations: 19.98 kB / 0.6735 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1475/1.063, allocations: 3.835 MB / 0.6772 GB, free: 140.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/1.064, allocations: 0.6255 MB / 0.6778 GB, free: 140.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/1.065, allocations: 0.5205 MB / 0.6784 GB, free: 140.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/1.065, allocations: 26.52 kB / 0.6784 GB, free: 140.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000825/1.066, allocations: 0.6577 MB / 0.679 GB, free: 140.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 2.354e-06/1.066, allocations: 0 / 0.679 GB, free: 140.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01148/1.077, allocations: 4.215 MB / 0.6831 GB, free: 140 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/1.077, allocations: 110.9 kB / 0.6832 GB, free: 139.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009026/1.078, allocations: 0.8533 MB / 0.6841 GB, free: 139.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.944e-05/1.078, allocations: 25.7 kB / 0.6841 GB, free: 139.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/1.078, allocations: 335.4 kB / 0.6844 GB, free: 139.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/1.079, allocations: 333.2 kB / 0.6847 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/1.079, allocations: 4.844 kB / 0.6847 GB, free: 139.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/1.079, allocations: 344.4 kB / 0.6851 GB, free: 139.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000683/1.08, allocations: 465.1 kB / 0.6855 GB, free: 139.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007529/1.08, allocations: 0.5881 MB / 0.6861 GB, free: 139 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007479/1.081, allocations: 0.4982 MB / 0.6866 GB, free: 139 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.081, allocations: 0 / 0.6866 GB, free: 139 MB / 490.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01184/1.093, allocations: 4.306 MB / 0.6908 GB, free: 138.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.093, allocations: 7.453 kB / 0.6908 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.093, allocations: 3.938 kB / 0.6908 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005804/1.099, allocations: 1.653 MB / 0.6924 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009525/1.1, allocations: 185 kB / 0.6926 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/1.113, allocations: 7.325 MB / 0.6997 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/1.115, allocations: 190.8 kB / 0.6999 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.115, allocations: 51.86 kB / 0.7 GB, free: 135.7 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002697/1.115, allocations: 153.1 kB / 0.7001 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/1.116, allocations: 127 kB / 0.7002 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.128, allocations: 4.316 MB / 0.7045 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/1.128, allocations: 10.97 kB / 0.7045 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/1.128, allocations: 12.53 kB / 0.7045 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/1.128, allocations: 4.828 kB / 0.7045 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/1.142, allocations: 5.749 MB / 0.7101 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.142, allocations: 0 / 0.7101 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006705/1.142, allocations: 109.8 kB / 0.7102 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004535/1.147, allocations: 1.531 MB / 0.7117 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/1.147, allocations: 13.17 kB / 0.7117 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/1.159, allocations: 7.123 MB / 0.7187 GB, free: 130.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.159, allocations: 2.938 kB / 0.7187 GB, free: 130.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01245/1.171, allocations: 5.088 MB / 0.7236 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01384/1.185, allocations: 6.218 MB / 0.7297 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/1.186, allocations: 230.7 kB / 0.7299 GB, free: 126.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/1.186, allocations: 8.438 kB / 0.7299 GB, free: 126.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.187, allocations: 144.7 kB / 0.7301 GB, free: 126.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/1.187, allocations: 113.8 kB / 0.7302 GB, free: 126.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.126e-05/1.187, allocations: 28.03 kB / 0.7302 GB, free: 126.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008369/1.188, allocations: 0.6528 MB / 0.7308 GB, free: 126.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001755/1.19, allocations: 413.2 kB / 0.7312 GB, free: 126.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002439/1.19, allocations: 139.3 kB / 0.7314 GB, free: 126.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00492/1.195, allocations: 2.104 MB / 0.7334 GB, free: 125.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.195, allocations: 0 / 0.7334 GB, free: 125.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003535/1.199, allocations: 1.528 MB / 0.7349 GB, free: 124.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/1.199, allocations: 90.25 kB / 0.735 GB, free: 124.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/1.203, allocations: 1.923 MB / 0.7369 GB, free: 122.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008068/1.204, allocations: 1.244 MB / 0.7381 GB, free: 121.6 MB / 490.7 MB Notification: Performance of SimCode: time 3.1e-07/1.204, allocations: 3.828 kB / 0.7381 GB, free: 121.6 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)