Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008838/0.008838, allocations: 171.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.2 MB / 239 MB, free: 1.793 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.001019/0.001019, allocations: 105.2 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6079/0.6079, allocations: 79.45 MB / 420.7 MB, free: 43.77 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.000426, allocations: 8 kB / 0.4891 GB, free: 1.973 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.414, allocations: 69.51 MB / 0.557 GB, free: 39.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.5415, allocations: 99.43 MB / 0.6541 GB, free: 6.168 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.5418, allocations: 83.95 kB / 0.6542 GB, free: 6.086 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08531/0.6271, allocations: 31.17 MB / 0.6846 GB, free: 6.762 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.6271, allocations: 0 / 0.6846 GB, free: 6.762 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001011/0.6273, allocations: 20 kB / 0.6846 GB, free: 6.742 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.0063/0.6336, allocations: 2.045 MB / 0.6866 GB, free: 4.633 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.6336, allocations: 8.031 kB / 0.6866 GB, free: 4.625 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004983/0.6341, allocations: 122.6 kB / 0.6868 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00378/0.6379, allocations: 0.5642 MB / 0.6873 GB, free: 3.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.64, allocations: 0.827 MB / 0.6881 GB, free: 3.047 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000291/0.6403, allocations: 242.4 kB / 0.6883 GB, free: 2.781 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002957/0.6406, allocations: 72 kB / 0.6884 GB, free: 2.711 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.6432, allocations: 1.158 MB / 0.6895 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.6433, allocations: 0 / 0.6895 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.6434, allocations: 32 kB / 0.6896 GB, free: 1.504 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.6434, allocations: 20 kB / 0.6896 GB, free: 1.484 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.6456, allocations: 1.078 MB / 0.6906 GB, free: 416 kB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007849/0.6535, allocations: 3.916 MB / 0.6945 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008171/0.6617, allocations: 2.884 MB / 0.6973 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.6619, allocations: 16.98 kB / 0.6973 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.662, allocations: 51.5 kB / 0.6973 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=94): time 3.236e-06/0.662, allocations: 0 / 0.6973 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94): time 0.02959/0.6916, allocations: 8.338 MB / 0.7055 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.6917, allocations: 137.5 kB / 0.7056 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.6934, allocations: 0.949 MB / 0.7065 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002784/0.6937, allocations: 41.7 kB / 0.7066 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.6941, allocations: 0.5131 MB / 0.7071 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003922/0.6945, allocations: 335.1 kB / 0.7074 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.6946, allocations: 24 kB / 0.7074 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6948, allocations: 338 kB / 0.7078 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.6962, allocations: 0.6461 MB / 0.7084 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.6976, allocations: 0.7936 MB / 0.7092 GB, free: 13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.699, allocations: 0.7511 MB / 0.7099 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.6991, allocations: 0 / 0.7099 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01351/0.7126, allocations: 4.63 MB / 0.7144 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004472/0.7131, allocations: 1.208 MB / 0.7156 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.7131, allocations: 4 kB / 0.7156 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005955/0.719, allocations: 1.816 MB / 0.7174 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.7203, allocations: 187.8 kB / 0.7176 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01974/0.74, allocations: 9.108 MB / 0.7264 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.7419, allocations: 195.2 kB / 0.7266 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.742, allocations: 39.98 kB / 0.7267 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.742, allocations: 1.406 kB / 0.7267 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01297/0.755, allocations: 4.465 MB / 0.731 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.7551, allocations: 7.984 kB / 0.731 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005917/0.761, allocations: 1.82 MB / 0.7328 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.7623, allocations: 187.8 kB / 0.733 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/0.7823, allocations: 9.091 MB / 0.7419 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.7841, allocations: 179.3 kB / 0.742 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.7842, allocations: 39.97 kB / 0.7421 GB, free: 10.86 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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 {18 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007445/0.785, allocations: 361.2 kB / 0.7424 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.7853, allocations: 126.4 kB / 0.7425 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.7984, allocations: 4.646 MB / 0.7471 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.7984, allocations: 8 kB / 0.7471 GB, free: 5.684 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.7984, allocations: 12 kB / 0.7471 GB, free: 5.672 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/0.7985, allocations: 3.984 kB / 0.7471 GB, free: 5.668 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.8141, allocations: 6.296 MB / 0.7533 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.8141, allocations: 4.031 kB / 0.7533 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009433/0.8151, allocations: 119.8 kB / 0.7534 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005585/0.8207, allocations: 1.789 MB / 0.7551 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002714/0.821, allocations: 20 kB / 0.7551 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01728/0.8383, allocations: 7.996 MB / 0.7629 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.8383, allocations: 4 kB / 0.763 GB, free: 5.191 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3024/1.141, allocations: 5.572 MB / 0.7684 GB, free: 144.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006216/1.141, allocations: 228.9 kB / 0.7686 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/1.142, allocations: 21.19 kB / 0.7686 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.143, allocations: 140.4 kB / 0.7688 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006759/1.144, allocations: 179.1 kB / 0.7689 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.439e-05/1.144, allocations: 27 kB / 0.769 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001394/1.145, allocations: 0.7451 MB / 0.7697 GB, free: 144 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.145, allocations: 0 / 0.7697 GB, free: 144 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002178/1.147, allocations: 0.6776 MB / 0.7704 GB, free: 144 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * 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.01561/1.163, allocations: 6.25 MB / 0.7765 GB, free: 143.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009686/1.173, allocations: 4.207 MB / 0.7806 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.173, allocations: 0 / 0.7806 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003952/1.177, allocations: 1.684 MB / 0.7822 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/1.178, allocations: 117.6 kB / 0.7823 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/1.183, allocations: 5.266 MB / 0.7875 GB, free: 138.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/1.183, allocations: 1.157 MB / 0.7886 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005441/1.184, allocations: 127.6 kB / 0.7887 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005576/1.184, allocations: 469.1 kB / 0.7892 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/1.184, allocations: 0 / 0.7892 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07142/1.256, allocations: 36.19 MB / 0.8245 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/1.256, allocations: 220.5 kB / 0.8247 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.258/4.514, allocations: 3.938 kB / 0.8247 GB, free: 136.1 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)