Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_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.005843/0.005843, allocations: 172 kB / 15.11 MB, free: 5.969 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.333/1.333, allocations: 223.2 MB / 239 MB, free: 1.809 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.000968/0.000968, allocations: 100.8 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4638/0.4638, allocations: 79.44 MB / 420.7 MB, free: 43.72 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003924, allocations: 16 kB / 0.4891 GB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3934, allocations: 69.5 MB / 0.557 GB, free: 38.7 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.5267, allocations: 100.9 MB / 0.6555 GB, free: 4.668 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.527, allocations: 83.89 kB / 0.6556 GB, free: 4.586 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1828/0.7098, allocations: 68.51 MB / 0.7225 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.043e-06/0.7099, allocations: 0 / 0.7225 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002884/0.7102, allocations: 63.94 kB / 0.7226 GB, free: 15.64 MB / 0.5261 GB 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.01544/0.7256, allocations: 4.649 MB / 0.7271 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.7257, allocations: 8.031 kB / 0.7271 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001204/0.7269, allocations: 299.1 kB / 0.7274 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.7376, allocations: 1.615 MB / 0.729 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004992/0.7426, allocations: 1.717 MB / 0.7307 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007551/0.7434, allocations: 0.6906 MB / 0.7313 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009848/0.7444, allocations: 215.8 kB / 0.7315 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008212/0.7526, allocations: 3.224 MB / 0.7347 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-05/0.7527, allocations: 0 / 0.7347 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.753, allocations: 87.94 kB / 0.7348 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.753, allocations: 48 kB / 0.7348 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00639/0.7594, allocations: 3.03 MB / 0.7378 GB, free: 15.7 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 preOpt removeSimpleEquations (simulation): time 0.01874/0.7782, allocations: 10.06 MB / 0.7476 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.7891, allocations: 4.766 MB / 0.7523 GB, free: 288 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003457/0.7895, allocations: 41.98 kB / 0.7523 GB, free: 248 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/0.7896, allocations: 60.56 kB / 0.7524 GB, free: 180 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=243): time 4.949e-06/0.7896, allocations: 0 / 0.7524 GB, free: 180 kB / 0.5417 GB Notification: Performance of matching and sorting (n=243): time 0.3941/1.184, allocations: 30.53 MB / 0.7822 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/1.184, allocations: 234.5 kB / 0.7824 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/1.187, allocations: 1.94 MB / 0.7843 GB, free: 117 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006576/1.188, allocations: 66.11 kB / 0.7844 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009306/1.189, allocations: 1.22 MB / 0.7855 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001032/1.19, allocations: 0.8375 MB / 0.7864 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/1.19, allocations: 42.69 kB / 0.7864 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.19, allocations: 391.4 kB / 0.7868 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003617/1.194, allocations: 1.879 MB / 0.7886 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003792/1.197, allocations: 2.195 MB / 0.7908 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003817/1.201, allocations: 2.107 MB / 0.7928 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/1.201, allocations: 2 kB / 0.7928 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.04013/1.241, allocations: 13.53 MB / 0.806 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005796/1.242, allocations: 2.874 MB / 0.8088 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/1.242, allocations: 6.516 kB / 0.8088 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01879/1.261, allocations: 5.952 MB / 0.8147 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/1.265, allocations: 0.6885 MB / 0.8153 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05218/1.317, allocations: 24.56 MB / 0.8393 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004263/1.322, allocations: 0.5298 MB / 0.8398 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004592/1.322, allocations: 82.95 kB / 0.8399 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.322, allocations: 4.719 kB / 0.8399 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03446/1.357, allocations: 13.2 MB / 0.8528 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.305e-05/1.357, allocations: 7.688 kB / 0.8528 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01666/1.373, allocations: 5.95 MB / 0.8586 GB, free: 98.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/1.377, allocations: 0.6768 MB / 0.8593 GB, free: 97.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05303/1.43, allocations: 24.56 MB / 0.8833 GB, free: 77.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004416/1.434, allocations: 0.501 MB / 0.8838 GB, free: 76.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005255/1.435, allocations: 91.25 kB / 0.8839 GB, free: 76.57 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 213 * 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.001648/1.437, allocations: 0.5857 MB / 0.8844 GB, free: 76 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008238/1.437, allocations: 304.2 kB / 0.8847 GB, free: 75.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03805/1.475, allocations: 14.53 MB / 0.8989 GB, free: 64.47 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.971e-05/1.476, allocations: 24 kB / 0.8989 GB, free: 64.45 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.382e-05/1.476, allocations: 23.94 kB / 0.899 GB, free: 64.43 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.88e-05/1.476, allocations: 13.45 kB / 0.899 GB, free: 64.43 MB / 0.5573 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.04368/1.519, allocations: 18.28 MB / 0.9168 GB, free: 48.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/1.519, allocations: 4 kB / 0.9168 GB, free: 48.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/1.521, allocations: 275.6 kB / 0.9171 GB, free: 48.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01644/1.538, allocations: 6.005 MB / 0.923 GB, free: 42.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006632/1.538, allocations: 47.98 kB / 0.923 GB, free: 42.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0473/1.586, allocations: 22.7 MB / 0.9452 GB, free: 19.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.586, allocations: 0 / 0.9452 GB, free: 19.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04324/1.629, allocations: 17.12 MB / 0.9619 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/1.63, allocations: 420.8 kB / 0.9623 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000853/1.631, allocations: 48 kB / 0.9623 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003333/1.635, allocations: 399.6 kB / 0.9627 GB, free: 1.145 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002093/1.637, allocations: 0.5526 MB / 0.9633 GB, free: 0.5938 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002854/1.637, allocations: 67.94 kB / 0.9633 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003036/1.64, allocations: 1.501 MB / 0.9648 GB, free: 15.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.91e-07/1.64, allocations: 0 / 0.9648 GB, free: 15.02 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0066/1.647, allocations: 1.745 MB / 0.9665 GB, free: 13.28 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 () * Number of clocked 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 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0481/1.695, allocations: 17.9 MB / 0.984 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.3063/2.001, allocations: 11.93 MB / 0.9956 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/2.001, allocations: 1.031 kB / 0.9956 GB, free: 142.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01549/2.017, allocations: 4.751 MB / 1 GB, free: 142 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/2.019, allocations: 236.8 kB / 1 GB, free: 142 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/2.034, allocations: 12.07 MB / 1.012 GB, free: 134 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/2.035, allocations: 1.892 MB / 1.014 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001468/2.037, allocations: 280.7 kB / 1.014 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/2.038, allocations: 1.202 MB / 1.016 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.092e-06/2.038, allocations: 0 / 1.016 GB, free: 133.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1484/2.187, allocations: 92.75 MB / 1.106 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/2.187, allocations: 209.6 kB / 1.106 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.462/7.649, allocations: 0 / 1.106 GB, free: 108.3 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)