Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_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.001234/0.001234, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.362/1.362, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009216/0.0009215, allocations: 86.91 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5385/0.5385, allocations: 78.08 MB / 414.6 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.05e-05, allocations: 4 kB / 491.9 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4064, allocations: 69.34 MB / 0.5481 GB, free: 20.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.5677, allocations: 102.1 MB / 0.6478 GB, free: 14.38 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.568, allocations: 75.95 kB / 0.6479 GB, free: 14.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6002/1.168, allocations: 99.59 MB / 0.7452 GB, free: 62.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.168, allocations: 0 / 0.7452 GB, free: 62.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003669/1.169, allocations: 99.81 kB / 0.7453 GB, free: 62.69 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: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01849/1.187, allocations: 5.766 MB / 0.7509 GB, free: 56.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.187, allocations: 11.97 kB / 0.7509 GB, free: 56.83 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001761/1.189, allocations: 484.8 kB / 0.7514 GB, free: 56.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01768/1.207, allocations: 2.787 MB / 0.7541 GB, free: 53.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007679/1.214, allocations: 2.271 MB / 0.7563 GB, free: 51.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001013/1.216, allocations: 0.9556 MB / 0.7572 GB, free: 50.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001811/1.217, allocations: 348 kB / 0.7576 GB, free: 49.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/1.23, allocations: 4.092 MB / 0.7616 GB, free: 45.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001595/1.231, allocations: 0 / 0.7616 GB, free: 45.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001463/1.232, allocations: 144 kB / 0.7617 GB, free: 45.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.689e-05/1.232, allocations: 84 kB / 0.7618 GB, free: 45.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008784/1.241, allocations: 3.62 MB / 0.7653 GB, free: 41.8 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0407/1.282, allocations: 18.71 MB / 0.7836 GB, free: 21.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.011/1.293, allocations: 4.768 MB / 0.7882 GB, free: 17.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004521/1.297, allocations: 2.227 MB / 0.7904 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007827/1.298, allocations: 74.89 kB / 0.7905 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.659e-05/1.298, allocations: 77.55 kB / 0.7906 GB, free: 14.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=381): time 5.821e-06/1.298, allocations: 0 / 0.7906 GB, free: 14.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=381): time 0.05422/1.352, allocations: 17.47 MB / 0.8076 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/1.353, allocations: 167.5 kB / 0.8078 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005624/1.358, allocations: 2.67 MB / 0.8104 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001163/1.36, allocations: 89.7 kB / 0.8105 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001546/1.361, allocations: 2.002 MB / 0.8124 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001875/1.363, allocations: 1.297 MB / 0.8137 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/1.363, allocations: 72 kB / 0.8138 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002212/1.363, allocations: 441.6 kB / 0.8142 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003446/1.367, allocations: 1.831 MB / 0.816 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00372/1.371, allocations: 2.406 MB / 0.8183 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003699/1.374, allocations: 2.086 MB / 0.8204 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-05/1.374, allocations: 4 kB / 0.8204 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.05414/1.429, allocations: 17.67 MB / 0.8376 GB, free: 14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002082/1.431, allocations: 6.683 MB / 0.8442 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/1.431, allocations: 16 kB / 0.8442 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02442/1.455, allocations: 6.89 MB / 0.8509 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/1.458, allocations: 0.5578 MB / 0.8514 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05981/1.518, allocations: 25.43 MB / 0.8763 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006344/1.525, allocations: 0.6918 MB / 0.8769 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008086/1.526, allocations: 128 kB / 0.8771 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.526, allocations: 4 kB / 0.8771 GB, free: 4.906 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05297/1.579, allocations: 17.25 MB / 0.8939 GB, free: 3.602 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.28e-05/1.579, allocations: 16 kB / 0.8939 GB, free: 3.586 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4205/1.999, allocations: 6.887 MB / 0.9007 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00331/2.003, allocations: 0.5556 MB / 0.9012 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05773/2.06, allocations: 25.4 MB / 0.926 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006085/2.066, allocations: 0.6645 MB / 0.9267 GB, free: 125.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007743/2.067, allocations: 126.3 kB / 0.9268 GB, free: 125.1 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 323 * 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 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.0009486/2.068, allocations: 341.5 kB / 0.9271 GB, free: 125 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/2.07, allocations: 459.3 kB / 0.9275 GB, free: 124.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05149/2.121, allocations: 18.01 MB / 0.9451 GB, free: 121.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-05/2.121, allocations: 39.88 kB / 0.9452 GB, free: 121.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.919e-05/2.121, allocations: 25.78 kB / 0.9452 GB, free: 121.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001129/2.121, allocations: 21.08 kB / 0.9452 GB, free: 121.6 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or 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.06159/2.183, allocations: 23.28 MB / 0.9679 GB, free: 116 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/2.183, allocations: 0 / 0.9679 GB, free: 116 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002614/2.186, allocations: 413.8 kB / 0.9683 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02166/2.207, allocations: 6.962 MB / 0.9751 GB, free: 110.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009887/2.208, allocations: 69.58 kB / 0.9752 GB, free: 110.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04911/2.257, allocations: 22.54 MB / 0.9972 GB, free: 90.91 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/2.258, allocations: 0 / 0.9972 GB, free: 90.91 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05588/2.313, allocations: 20.84 MB / 1.018 GB, free: 73.82 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/2.316, allocations: 0.5614 MB / 1.018 GB, free: 73.33 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001618/2.317, allocations: 71.81 kB / 1.018 GB, free: 73.26 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005469/2.323, allocations: 492.9 kB / 1.019 GB, free: 72.88 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003284/2.326, allocations: 0.7616 MB / 1.019 GB, free: 72.47 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005954/2.327, allocations: 94.94 kB / 1.019 GB, free: 72.38 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003184/2.33, allocations: 2.031 MB / 1.021 GB, free: 70.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.91e-07/2.33, allocations: 0 / 1.021 GB, free: 70.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01082/2.341, allocations: 2.876 MB / 1.024 GB, free: 67.75 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 249 * 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 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0544/2.395, allocations: 21.59 MB / 1.045 GB, free: 49.84 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04024/2.435, allocations: 14.43 MB / 1.059 GB, free: 36.77 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/2.435, allocations: 0 / 1.059 GB, free: 36.77 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0187/2.454, allocations: 6 MB / 1.065 GB, free: 31.47 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/2.458, allocations: 304.2 kB / 1.066 GB, free: 31.18 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/2.475, allocations: 6.795 MB / 1.072 GB, free: 25.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/2.477, allocations: 2.594 MB / 1.075 GB, free: 23.17 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003655/2.481, allocations: 0.6152 MB / 1.075 GB, free: 22.76 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002171/2.483, allocations: 1.943 MB / 1.077 GB, free: 20.98 MB / 0.573 GB Notification: Performance of SimCode: time 1.172e-06/2.483, allocations: 0 / 1.077 GB, free: 20.98 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5588/3.042, allocations: 148.1 MB / 1.222 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/3.042, allocations: 197.6 kB / 1.222 GB, free: 116 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.279/11.32, allocations: 4.062 kB / 1.222 GB, free: 116 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)