Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_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.001878/0.001878, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.00102, allocations: 83.86 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5035/0.5035, allocations: 78.07 MB / 409.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.369e-05, allocations: 7.938 kB / 485 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1464, allocations: 69.36 MB / 0.5414 GB, free: 6.758 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4308/0.5773, allocations: 100.3 MB / 0.6393 GB, free: 15.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.5776, allocations: 80.48 kB / 0.6394 GB, free: 15.01 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2535/0.8311, allocations: 97.27 MB / 0.7344 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8312, allocations: 0 / 0.7344 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003271/0.8315, allocations: 87.94 kB / 0.7345 GB, free: 13.26 MB / 0.5417 GB 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.02123/0.8528, allocations: 5.723 MB / 0.7401 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.8528, allocations: 8.031 kB / 0.7401 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01839/0.8712, allocations: 2.776 MB / 0.7428 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006256/0.8775, allocations: 2.263 MB / 0.745 GB, free: 2.324 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001055/0.8786, allocations: 0.8385 MB / 0.7458 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/0.88, allocations: 200 kB / 0.746 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008234/0.8882, allocations: 3.435 MB / 0.7494 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007511/0.8958, allocations: 3.583 MB / 0.7529 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-05/0.8959, allocations: 0 / 0.7529 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/0.8962, allocations: 0 / 0.7529 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.095e-05/0.8963, allocations: 84 kB / 0.753 GB, free: 10.03 MB / 0.5573 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 preOpt removeSimpleEquations (simulation): time 0.3698/1.266, allocations: 18.08 MB / 0.7706 GB, free: 87 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/1.277, allocations: 4.641 MB / 0.7751 GB, free: 86.57 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0042/1.281, allocations: 2.114 MB / 0.7772 GB, free: 86.54 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008774/1.282, allocations: 64.64 kB / 0.7773 GB, free: 86.54 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.892e-05/1.282, allocations: 81.2 kB / 0.7773 GB, free: 86.49 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=379): time 9.347e-06/1.282, allocations: 0.6562 kB / 0.7773 GB, free: 86.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=379): time 0.05608/1.339, allocations: 17.14 MB / 0.7941 GB, free: 85.99 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.577e-05/1.339, allocations: 169.8 kB / 0.7943 GB, free: 85.83 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006196/1.345, allocations: 2.44 MB / 0.7966 GB, free: 85.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001031/1.346, allocations: 25.7 kB / 0.7967 GB, free: 85.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00174/1.348, allocations: 2.001 MB / 0.7986 GB, free: 85.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002159/1.35, allocations: 1.238 MB / 0.7998 GB, free: 84.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008602/1.351, allocations: 0 / 0.7998 GB, free: 84.43 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003107/1.351, allocations: 439.8 kB / 0.8002 GB, free: 84.12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003467/1.355, allocations: 1.747 MB / 0.8019 GB, free: 84.12 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003767/1.358, allocations: 2.309 MB / 0.8042 GB, free: 83.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003779/1.362, allocations: 1.936 MB / 0.8061 GB, free: 83.49 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-05/1.362, allocations: 5 kB / 0.8061 GB, free: 83.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05351/1.416, allocations: 17.25 MB / 0.8229 GB, free: 82.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001336/1.417, allocations: 6.678 MB / 0.8295 GB, free: 75.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.477e-05/1.417, allocations: 15.84 kB / 0.8295 GB, free: 75.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02252/1.44, allocations: 6.844 MB / 0.8362 GB, free: 74.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/1.443, allocations: 0.5392 MB / 0.8367 GB, free: 74.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05338/1.496, allocations: 25.05 MB / 0.8612 GB, free: 66.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006068/1.502, allocations: 0.6091 MB / 0.8618 GB, free: 66.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009905/1.503, allocations: 132.9 kB / 0.8619 GB, free: 66.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.503, allocations: 3.875 kB / 0.8619 GB, free: 66.7 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04773/1.551, allocations: 16.76 MB / 0.8783 GB, free: 63.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.701e-05/1.551, allocations: 16.19 kB / 0.8783 GB, free: 63.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02197/1.573, allocations: 6.853 MB / 0.885 GB, free: 58.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/1.576, allocations: 0.5302 MB / 0.8855 GB, free: 58.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05181/1.628, allocations: 25.04 MB / 0.9099 GB, free: 36.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006292/1.634, allocations: 0.5914 MB / 0.9105 GB, free: 35.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00097/1.635, allocations: 131.1 kB / 0.9106 GB, free: 35.44 MB / 0.5573 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.001123/1.636, allocations: 206.3 kB / 0.9108 GB, free: 35.24 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04831/1.685, allocations: 17.15 MB / 0.9276 GB, free: 21.77 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00229/1.687, allocations: 454.4 kB / 0.928 GB, free: 21.32 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04936/1.736, allocations: 17.6 MB / 0.9452 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.276e-05/1.736, allocations: 40 kB / 0.9452 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.281e-05/1.737, allocations: 30.06 kB / 0.9453 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000114/1.737, allocations: 22.42 kB / 0.9453 GB, free: 7.68 MB / 0.5573 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.05955/1.796, allocations: 22.51 MB / 0.9673 GB, free: 5.754 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/1.796, allocations: 0 / 0.9673 GB, free: 5.754 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002594/1.799, allocations: 415.4 kB / 0.9677 GB, free: 5.348 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02239/1.821, allocations: 6.899 MB / 0.9744 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008726/1.822, allocations: 23.97 kB / 0.9744 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3567/2.179, allocations: 22.27 MB / 0.9962 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/2.179, allocations: 6.188 kB / 0.9962 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05504/2.234, allocations: 20.44 MB / 1.016 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/2.236, allocations: 0.5495 MB / 1.017 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009026/2.237, allocations: 9.547 kB / 1.017 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004259/2.241, allocations: 429.7 kB / 1.017 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002574/2.243, allocations: 0.7606 MB / 1.018 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003186/2.244, allocations: 92.92 kB / 1.018 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002661/2.246, allocations: 1.805 MB / 1.02 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/2.246, allocations: 0 / 1.02 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.008418/2.255, allocations: 2.601 MB / 1.022 GB, free: 111 MB / 0.5886 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.05842/2.313, allocations: 21.12 MB / 1.043 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03935/2.353, allocations: 13.96 MB / 1.056 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/2.353, allocations: 4.125 kB / 1.056 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0176/2.37, allocations: 5.841 MB / 1.062 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003415/2.374, allocations: 243.8 kB / 1.062 GB, free: 107.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/2.389, allocations: 6.353 MB / 1.069 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/2.391, allocations: 2.589 MB / 1.071 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002941/2.393, allocations: 0.6015 MB / 1.072 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/2.395, allocations: 1.94 MB / 1.074 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/2.395, allocations: 0 / 1.074 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4896/2.885, allocations: 138.7 MB / 1.209 GB, free: 97.64 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001352/2.885, allocations: 134 kB / 1.209 GB, free: 97.45 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/10.96, allocations: 1.484 kB / 1.209 GB, free: 97.45 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)