Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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.001493/0.001493, allocations: 174.7 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.432/1.432, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0009041/0.000904, allocations: 83.28 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4554/0.4554, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.925e-05/3.929e-05, allocations: 4 kB / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.338, allocations: 69.34 MB / 0.5481 GB, free: 20.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.4676, allocations: 101 MB / 0.6467 GB, free: 15.52 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.4679, allocations: 79.95 kB / 0.6468 GB, free: 15.44 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6111/1.079, allocations: 98.56 MB / 0.743 GB, free: 64.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.079, allocations: 0 / 0.743 GB, free: 64.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004328/1.079, allocations: 84 kB / 0.7431 GB, free: 64.7 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.01932/1.099, allocations: 5.727 MB / 0.7487 GB, free: 58.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.099, allocations: 15.97 kB / 0.7487 GB, free: 58.88 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001953/1.101, allocations: 492.7 kB / 0.7492 GB, free: 58.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01894/1.12, allocations: 2.779 MB / 0.7519 GB, free: 55.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006116/1.126, allocations: 2.255 MB / 0.7541 GB, free: 53.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009299/1.127, allocations: 0.9595 MB / 0.7551 GB, free: 52.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/1.128, allocations: 344 kB / 0.7554 GB, free: 51.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/1.139, allocations: 4.077 MB / 0.7594 GB, free: 47.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/1.139, allocations: 0 / 0.7594 GB, free: 47.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008497/1.14, allocations: 140 kB / 0.7595 GB, free: 47.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.174e-05/1.14, allocations: 84 kB / 0.7596 GB, free: 47.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008163/1.148, allocations: 3.609 MB / 0.7631 GB, free: 43.9 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.04028/1.188, allocations: 18.63 MB / 0.7813 GB, free: 24.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/1.2, allocations: 4.747 MB / 0.7859 GB, free: 19.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004501/1.204, allocations: 2.219 MB / 0.7881 GB, free: 17.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007821/1.205, allocations: 74.83 kB / 0.7882 GB, free: 16.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/1.205, allocations: 69.53 kB / 0.7882 GB, free: 16.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=379): time 7.093e-06/1.205, allocations: 0 / 0.7882 GB, free: 16.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=379): time 0.05622/1.261, allocations: 17.44 MB / 0.8053 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/1.261, allocations: 171.5 kB / 0.8054 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00738/1.269, allocations: 2.642 MB / 0.808 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001336/1.27, allocations: 85.7 kB / 0.8081 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002331/1.273, allocations: 1.99 MB / 0.81 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002923/1.275, allocations: 1.29 MB / 0.8113 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009867/1.276, allocations: 72 kB / 0.8114 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003844/1.277, allocations: 433.5 kB / 0.8118 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004349/1.281, allocations: 1.819 MB / 0.8136 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004531/1.286, allocations: 2.398 MB / 0.8159 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004434/1.29, allocations: 2.067 MB / 0.8179 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-05/1.29, allocations: 4 kB / 0.8179 GB, free: 2.086 MB / 0.4948 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05882/1.349, allocations: 17.64 MB / 0.8352 GB, free: 388 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002426/1.352, allocations: 6.676 MB / 0.8417 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/1.352, allocations: 15.94 kB / 0.8417 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02613/1.378, allocations: 6.915 MB / 0.8484 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003268/1.381, allocations: 0.5383 MB / 0.849 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06504/1.446, allocations: 25.58 MB / 0.8739 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00618/1.452, allocations: 0.6918 MB / 0.8746 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000583/1.453, allocations: 132 kB / 0.8747 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/1.453, allocations: 4 kB / 0.8747 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05419/1.507, allocations: 17.24 MB / 0.8916 GB, free: 5.824 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-05/1.507, allocations: 12 kB / 0.8916 GB, free: 5.812 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4138/1.921, allocations: 6.915 MB / 0.8984 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003291/1.925, allocations: 0.5325 MB / 0.8989 GB, free: 128.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06327/1.988, allocations: 25.54 MB / 0.9238 GB, free: 127 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007161/1.995, allocations: 0.6614 MB / 0.9245 GB, free: 126.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/1.996, allocations: 128.6 kB / 0.9246 GB, free: 126.9 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" 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 (320): * Single equations (assignments): 317 * 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 45} Notification: Performance of prepare postOptimizeDAE: time 0.001057/1.997, allocations: 335 kB / 0.9249 GB, free: 126.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001728/1.999, allocations: 455.6 kB / 0.9253 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05339/2.052, allocations: 17.97 MB / 0.9429 GB, free: 123.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-05/2.052, allocations: 40.14 kB / 0.9429 GB, free: 123.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.061e-05/2.053, allocations: 31.22 kB / 0.943 GB, free: 123.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001244/2.053, allocations: 17.67 kB / 0.943 GB, free: 123.4 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.06369/2.116, allocations: 23.23 MB / 0.9657 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-05/2.116, allocations: 0 / 0.9657 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002605/2.119, allocations: 403.9 kB / 0.966 GB, free: 117.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02251/2.142, allocations: 6.969 MB / 0.9728 GB, free: 113.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00112/2.143, allocations: 71.7 kB / 0.9729 GB, free: 113.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05097/2.194, allocations: 22.56 MB / 0.9949 GB, free: 93.98 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/2.194, allocations: 7.953 kB / 0.995 GB, free: 93.97 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05595/2.25, allocations: 20.78 MB / 1.015 GB, free: 76.97 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/2.252, allocations: 0.5518 MB / 1.016 GB, free: 76.48 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001507/2.253, allocations: 68 kB / 1.016 GB, free: 76.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005315/2.259, allocations: 489.3 kB / 1.016 GB, free: 76.04 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003923/2.262, allocations: 0.7636 MB / 1.017 GB, free: 75.62 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009785/2.263, allocations: 91.75 kB / 1.017 GB, free: 75.54 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003678/2.267, allocations: 2.004 MB / 1.019 GB, free: 73.68 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.01e-07/2.267, allocations: 4 kB / 1.019 GB, free: 73.68 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01001/2.277, allocations: 2.871 MB / 1.022 GB, free: 70.93 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (249): * Single equations (assignments): 247 * 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.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05592/2.333, allocations: 21.51 MB / 1.043 GB, free: 53.09 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04297/2.376, allocations: 14.42 MB / 1.057 GB, free: 40.05 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/2.376, allocations: 4 kB / 1.057 GB, free: 40.05 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01878/2.395, allocations: 5.976 MB / 1.063 GB, free: 34.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00489/2.4, allocations: 317.1 kB / 1.063 GB, free: 34.47 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/2.421, allocations: 6.622 MB / 1.07 GB, free: 28.52 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002811/2.424, allocations: 2.586 MB / 1.072 GB, free: 26.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0042/2.429, allocations: 0.61 MB / 1.073 GB, free: 26.19 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00246/2.431, allocations: 1.935 MB / 1.075 GB, free: 24.41 MB / 0.573 GB Notification: Performance of SimCode: time 8.32e-07/2.431, allocations: 0 / 1.075 GB, free: 24.41 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6333/3.064, allocations: 147.6 MB / 1.219 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/3.065, allocations: 191.3 kB / 1.219 GB, free: 125.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/11.34, allocations: 0 / 1.219 GB, free: 125.4 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)