Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_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 3.2.3+maint.om/package.mo): time 0.002464/0.002464, allocations: 177.5 kB / 7.454 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.16/1.16, allocations: 205.2 MB / 213.1 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008686/0.0008686, allocations: 95.66 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06073/0.06073, allocations: 12.2 MB / 321.2 MB, free: 1.285 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2786/0.2786, allocations: 78.06 MB / 449.9 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2402/0.5189, allocations: 76.08 MB / 0.5137 GB, free: 30.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.6459, allocations: 69.24 MB / 0.5813 GB, free: 9.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3488/0.9948, allocations: 100.6 MB / 0.6796 GB, free: 8.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.9951, allocations: 80.72 kB / 0.6796 GB, free: 8.137 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.1869/1.182, allocations: 67.9 MB / 0.7459 GB, free: 15.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.182, allocations: 11.94 kB / 0.746 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/1.194, allocations: 1.662 MB / 0.7476 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005072/1.199, allocations: 1.666 MB / 0.7492 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008965/1.2, allocations: 0.628 MB / 0.7498 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001102/1.201, allocations: 127.9 kB / 0.7499 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006089/1.207, allocations: 2.222 MB / 0.7521 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006339/1.213, allocations: 2.272 MB / 0.7543 GB, free: 6.305 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.289e-05/1.213, allocations: 0 / 0.7543 GB, free: 6.305 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004429/1.214, allocations: 3.938 kB / 0.7543 GB, free: 6.301 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.458e-05/1.214, allocations: 48 kB / 0.7544 GB, free: 6.254 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0225/1.236, allocations: 9.903 MB / 0.764 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003227/1.24, allocations: 1.571 MB / 0.7656 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002527/1.242, allocations: 1.454 MB / 0.767 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000339/1.243, allocations: 42.03 kB / 0.767 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/1.243, allocations: 64.56 kB / 0.7671 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 5.851e-06/1.243, allocations: 0 / 0.7671 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.04239/1.285, allocations: 12.87 MB / 0.7797 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/1.285, allocations: 235.5 kB / 0.7799 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004329/1.29, allocations: 1.693 MB / 0.7816 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007878/1.29, allocations: 25.7 kB / 0.7816 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007502/1.291, allocations: 0.7036 MB / 0.7823 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001983/1.293, allocations: 0.812 MB / 0.7831 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/1.293, allocations: 0 / 0.7831 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.294, allocations: 390.6 kB / 0.7834 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/1.296, allocations: 1.184 MB / 0.7846 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/1.298, allocations: 1.499 MB / 0.786 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/1.301, allocations: 1.314 MB / 0.7873 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.301, allocations: 4 kB / 0.7873 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.04104/1.342, allocations: 12.94 MB / 0.8 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00117/1.343, allocations: 2.763 MB / 0.8027 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/1.343, allocations: 4 kB / 0.8027 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01745/1.36, allocations: 5.051 MB / 0.8076 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/1.363, allocations: 383.4 kB / 0.808 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04073/1.403, allocations: 15.17 MB / 0.8228 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004566/1.408, allocations: 0.4977 MB / 0.8233 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004719/1.409, allocations: 91.97 kB / 0.8234 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.409, allocations: 4 kB / 0.8234 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04331/1.452, allocations: 12.6 MB / 0.8357 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.937e-05/1.452, allocations: 4 kB / 0.8357 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0176/1.47, allocations: 5.047 MB / 0.8406 GB, free: 12.79 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/1.472, allocations: 367.5 kB / 0.841 GB, free: 12.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2878/1.76, allocations: 15.15 MB / 0.8558 GB, free: 105.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004339/1.764, allocations: 481.8 kB / 0.8562 GB, free: 105.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/1.765, allocations: 87.88 kB / 0.8563 GB, free: 105.9 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 4 * 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 {62 27} Notification: Performance of prepare postOptimizeDAE: time 0.0007403/1.765, allocations: 216.8 kB / 0.8565 GB, free: 105.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009665/1.766, allocations: 292.2 kB / 0.8568 GB, free: 105.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03824/1.805, allocations: 13.13 MB / 0.8696 GB, free: 105.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.829e-05/1.805, allocations: 24.47 kB / 0.8696 GB, free: 105.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.248e-05/1.805, allocations: 19.78 kB / 0.8696 GB, free: 105.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.361e-05/1.805, allocations: 11.48 kB / 0.8697 GB, free: 105.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04366/1.848, allocations: 16.62 MB / 0.8859 GB, free: 104.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/1.849, allocations: 2.625 kB / 0.8859 GB, free: 104.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/1.851, allocations: 279.7 kB / 0.8862 GB, free: 104.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01499/1.866, allocations: 4.993 MB / 0.891 GB, free: 104.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006251/1.866, allocations: 14.3 kB / 0.891 GB, free: 104.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03194/1.898, allocations: 13.7 MB / 0.9044 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.898, allocations: 0 / 0.9044 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04013/1.938, allocations: 15.14 MB / 0.9192 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04744/1.986, allocations: 17.57 MB / 0.9364 GB, free: 95.46 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/1.987, allocations: 404 kB / 0.9368 GB, free: 95.18 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/1.988, allocations: 4.688 kB / 0.9368 GB, free: 95.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004111/1.993, allocations: 390.2 kB / 0.9371 GB, free: 95.14 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001206/1.994, allocations: 315.8 kB / 0.9374 GB, free: 95.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005053/1.994, allocations: 62.7 kB / 0.9375 GB, free: 95.07 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002565/1.997, allocations: 1.265 MB / 0.9387 GB, free: 94.53 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007494/2.004, allocations: 1.599 MB / 0.9403 GB, free: 94.43 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 160 * 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: 1 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005048/2.005, allocations: 157.6 kB / 0.9404 GB, free: 94.34 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02675/2.032, allocations: 9.531 MB / 0.9497 GB, free: 89.12 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/2.032, allocations: 1.75 kB / 0.9498 GB, free: 89.12 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01123/2.043, allocations: 3.941 MB / 0.9536 GB, free: 85.64 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/2.045, allocations: 193.6 kB / 0.9538 GB, free: 85.47 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/2.058, allocations: 4.264 MB / 0.9579 GB, free: 81.61 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00252/2.06, allocations: 1.988 MB / 0.9599 GB, free: 80.02 MB / 0.573 GB Notification: Performance of SimCode: time 8.41e-07/2.061, allocations: 0 / 0.9599 GB, free: 80.02 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)