Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.003098/0.003098, allocations: 179.8 kB / 7.458 MB, free: 2.5 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.148/1.148, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.000849/0.0008488, allocations: 97.73 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06353/0.06353, allocations: 12.19 MB / 321.2 MB, free: 1.359 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.289/0.289, allocations: 78.04 MB / 449.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2463/0.5353, allocations: 76.1 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.6609, allocations: 69.22 MB / 0.5813 GB, free: 9.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3089/0.9699, allocations: 101 MB / 0.6799 GB, free: 7.949 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/0.9701, allocations: 79.45 kB / 0.68 GB, free: 7.91 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.1843/1.154, allocations: 68.75 MB / 0.7472 GB, free: 14.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.154, allocations: 11.94 kB / 0.7472 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/1.166, allocations: 1.674 MB / 0.7488 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004697/1.171, allocations: 1.666 MB / 0.7504 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008139/1.172, allocations: 0.6281 MB / 0.751 GB, free: 9.953 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009533/1.173, allocations: 124 kB / 0.7512 GB, free: 9.832 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005464/1.178, allocations: 2.23 MB / 0.7533 GB, free: 7.594 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004452/1.182, allocations: 2.291 MB / 0.7556 GB, free: 5.227 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.802e-05/1.183, allocations: 0 / 0.7556 GB, free: 5.227 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/1.183, allocations: 0 / 0.7556 GB, free: 5.227 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/1.183, allocations: 48 kB / 0.7556 GB, free: 5.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02136/1.204, allocations: 9.994 MB / 0.7654 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002961/1.207, allocations: 1.575 MB / 0.7669 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00231/1.21, allocations: 1.47 MB / 0.7684 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002797/1.21, allocations: 46.03 kB / 0.7684 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/1.21, allocations: 60.55 kB / 0.7685 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=243): time 4.949e-06/1.21, allocations: 3.938 kB / 0.7685 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of matching and sorting (n=243): time 0.0412/1.251, allocations: 12.89 MB / 0.7811 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/1.251, allocations: 235.6 kB / 0.7813 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/1.255, allocations: 1.733 MB / 0.783 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006513/1.255, allocations: 25.7 kB / 0.783 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005132/1.256, allocations: 0.7036 MB / 0.7837 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001462/1.257, allocations: 0.8082 MB / 0.7845 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/1.257, allocations: 0 / 0.7845 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002039/1.258, allocations: 402.6 kB / 0.7849 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/1.26, allocations: 1.192 MB / 0.786 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/1.262, allocations: 1.5 MB / 0.7875 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/1.265, allocations: 1.322 MB / 0.7888 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/1.265, allocations: 4 kB / 0.7888 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03748/1.302, allocations: 12.1 MB / 0.8006 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009892/1.303, allocations: 2.759 MB / 0.8033 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/1.303, allocations: 4 kB / 0.8033 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01638/1.32, allocations: 4.83 MB / 0.808 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004196/1.324, allocations: 0.718 MB / 0.8087 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03757/1.361, allocations: 14.3 MB / 0.8227 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004453/1.366, allocations: 0.5172 MB / 0.8232 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003905/1.366, allocations: 79.97 kB / 0.8233 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/1.366, allocations: 4 kB / 0.8233 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03605/1.402, allocations: 11.75 MB / 0.8347 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.374e-05/1.403, allocations: 8 kB / 0.8347 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01603/1.419, allocations: 4.827 MB / 0.8395 GB, free: 14.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003982/1.423, allocations: 0.7023 MB / 0.8401 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2228/1.645, allocations: 14.3 MB / 0.8541 GB, free: 210.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006795/1.652, allocations: 489.5 kB / 0.8546 GB, free: 210.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.653, allocations: 85.58 kB / 0.8547 GB, free: 210.8 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 (221): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.001984/1.655, allocations: 212.8 kB / 0.8549 GB, free: 210.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002219/1.658, allocations: 294.6 kB / 0.8551 GB, free: 210.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06047/1.718, allocations: 13.15 MB / 0.868 GB, free: 210.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.525e-05/1.718, allocations: 31.23 kB / 0.868 GB, free: 210.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.12e-05/1.718, allocations: 18.97 kB / 0.868 GB, free: 210.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.048e-05/1.718, allocations: 11.44 kB / 0.868 GB, free: 210.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06822/1.787, allocations: 16.68 MB / 0.8843 GB, free: 209.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/1.787, allocations: 6.5 kB / 0.8843 GB, free: 209.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002929/1.79, allocations: 277 kB / 0.8846 GB, free: 209.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02499/1.815, allocations: 5.014 MB / 0.8895 GB, free: 209.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008191/1.815, allocations: 16.86 kB / 0.8895 GB, free: 209.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05463/1.87, allocations: 13.68 MB / 0.9029 GB, free: 207.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.87, allocations: 0 / 0.9029 GB, free: 207.6 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05055/1.921, allocations: 15.16 MB / 0.9177 GB, free: 199.4 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04256/1.963, allocations: 17.63 MB / 0.9349 GB, free: 184.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000925/1.964, allocations: 414.9 kB / 0.9353 GB, free: 184 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005916/1.965, allocations: 15.75 kB / 0.9353 GB, free: 184 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003005/1.968, allocations: 383.2 kB / 0.9357 GB, free: 183.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007959/1.969, allocations: 317.8 kB / 0.936 GB, free: 183.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002244/1.969, allocations: 63.89 kB / 0.936 GB, free: 183.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.00176/1.971, allocations: 1.294 MB / 0.9373 GB, free: 182.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005497/1.976, allocations: 1.585 MB / 0.9388 GB, free: 180.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (164): * Single equations (assignments): 161 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004353/1.977, allocations: 151.7 kB / 0.939 GB, free: 180.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02435/2.001, allocations: 9.582 MB / 0.9483 GB, free: 172 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/2.001, allocations: 0 / 0.9483 GB, free: 172 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01119/2.012, allocations: 3.967 MB / 0.9522 GB, free: 168.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/2.014, allocations: 193.8 kB / 0.9524 GB, free: 168.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/2.026, allocations: 4.381 MB / 0.9567 GB, free: 164.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/2.028, allocations: 2.003 MB / 0.9586 GB, free: 162.8 MB / 0.573 GB Notification: Performance of SimCode: time 2.194e-06/2.028, allocations: 0 / 0.9586 GB, free: 162.8 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)