Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.001335/0.001335, 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.207/1.207, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008726/0.0008726, allocations: 84.12 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4365/0.4365, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.079e-05, allocations: 0 / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3342, allocations: 69.35 MB / 0.548 GB, free: 20.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1223/0.4566, allocations: 101.7 MB / 0.6474 GB, free: 14.69 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.4569, allocations: 75.95 kB / 0.6475 GB, free: 14.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5176/0.9745, allocations: 98.69 MB / 0.7438 GB, free: 63.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.9745, allocations: 0 / 0.7438 GB, free: 63.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002375/0.9747, allocations: 91.88 kB / 0.7439 GB, free: 63.8 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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.01661/0.9914, allocations: 5.743 MB / 0.7495 GB, free: 57.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.9914, allocations: 11.97 kB / 0.7495 GB, free: 57.96 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001544/0.993, allocations: 488.8 kB / 0.75 GB, free: 57.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01675/1.01, allocations: 2.783 MB / 0.7527 GB, free: 54.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005347/1.015, allocations: 2.267 MB / 0.7549 GB, free: 52.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007185/1.016, allocations: 0.9595 MB / 0.7559 GB, free: 51.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/1.017, allocations: 340 kB / 0.7562 GB, free: 50.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007071/1.024, allocations: 4.077 MB / 0.7602 GB, free: 46.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.996e-05/1.024, allocations: 0 / 0.7602 GB, free: 46.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003643/1.025, allocations: 144 kB / 0.7603 GB, free: 46.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-05/1.025, allocations: 84 kB / 0.7604 GB, free: 46.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006408/1.031, allocations: 3.613 MB / 0.7639 GB, free: 42.97 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.03255/1.064, allocations: 18.63 MB / 0.7821 GB, free: 23.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009832/1.073, allocations: 4.764 MB / 0.7868 GB, free: 18.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003751/1.077, allocations: 2.21 MB / 0.7889 GB, free: 16.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005177/1.078, allocations: 74.89 kB / 0.789 GB, free: 16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/1.078, allocations: 77.55 kB / 0.7891 GB, free: 15.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=380): time 5.681e-06/1.078, allocations: 3.984 kB / 0.7891 GB, free: 15.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=380): time 0.04849/1.126, allocations: 17.44 MB / 0.8061 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/1.127, allocations: 175.4 kB / 0.8063 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004309/1.131, allocations: 2.633 MB / 0.8089 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009158/1.132, allocations: 93.7 kB / 0.8089 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001444/1.133, allocations: 1.975 MB / 0.8109 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002006/1.135, allocations: 1.297 MB / 0.8121 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/1.136, allocations: 68 kB / 0.8122 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002505/1.136, allocations: 445.6 kB / 0.8126 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003255/1.139, allocations: 1.816 MB / 0.8144 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003633/1.143, allocations: 2.398 MB / 0.8167 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00354/1.146, allocations: 2.082 MB / 0.8188 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/1.146, allocations: 4 kB / 0.8188 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05305/1.199, allocations: 17.66 MB / 0.836 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002084/1.202, allocations: 6.669 MB / 0.8425 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/1.202, allocations: 12 kB / 0.8426 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0232/1.225, allocations: 6.911 MB / 0.8493 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/1.228, allocations: 0.5421 MB / 0.8498 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05788/1.286, allocations: 25.53 MB / 0.8748 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006336/1.292, allocations: 0.6996 MB / 0.8754 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005838/1.293, allocations: 132 kB / 0.8756 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.293, allocations: 4 kB / 0.8756 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05006/1.343, allocations: 17.23 MB / 0.8924 GB, free: 4.906 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.724e-05/1.343, allocations: 16 kB / 0.8924 GB, free: 4.891 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3652/1.708, allocations: 6.906 MB / 0.8992 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/1.711, allocations: 0.5343 MB / 0.8997 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05821/1.769, allocations: 25.54 MB / 0.9246 GB, free: 126.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005576/1.775, allocations: 0.6671 MB / 0.9253 GB, free: 126.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006621/1.776, allocations: 131.5 kB / 0.9254 GB, free: 126.5 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.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 (322): * Single equations (assignments): 319 * 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.0009251/1.776, allocations: 320.7 kB / 0.9257 GB, free: 126.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.778, allocations: 458.2 kB / 0.9262 GB, free: 126.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05017/1.828, allocations: 17.98 MB / 0.9437 GB, free: 123 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/1.828, allocations: 37.95 kB / 0.9437 GB, free: 123 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.362e-05/1.828, allocations: 36.53 kB / 0.9438 GB, free: 123 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001233/1.828, allocations: 19.73 kB / 0.9438 GB, free: 123 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.06071/1.889, allocations: 23.22 MB / 0.9665 GB, free: 117.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.572e-05/1.889, allocations: 3.969 kB / 0.9665 GB, free: 117.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002528/1.891, allocations: 399.2 kB / 0.9669 GB, free: 117.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02174/1.913, allocations: 6.968 MB / 0.9737 GB, free: 112.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/1.914, allocations: 66.86 kB / 0.9737 GB, free: 112.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04912/1.963, allocations: 22.54 MB / 0.9957 GB, free: 93.06 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.963, allocations: 0 / 0.9957 GB, free: 93.06 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05432/2.018, allocations: 20.81 MB / 1.016 GB, free: 76.03 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/2.02, allocations: 0.5523 MB / 1.017 GB, free: 75.54 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001598/2.021, allocations: 60.77 kB / 1.017 GB, free: 75.48 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00537/2.027, allocations: 499.6 kB / 1.017 GB, free: 75.09 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003147/2.03, allocations: 0.7642 MB / 1.018 GB, free: 74.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003764/2.03, allocations: 91.23 kB / 1.018 GB, free: 74.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002992/2.033, allocations: 2.001 MB / 1.02 GB, free: 72.75 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.61e-07/2.033, allocations: 0 / 1.02 GB, free: 72.75 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01033/2.044, allocations: 2.864 MB / 1.023 GB, free: 70.01 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (250): * Single equations (assignments): 248 * 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.05357/2.097, allocations: 21.55 MB / 1.044 GB, free: 52.14 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03976/2.137, allocations: 14.42 MB / 1.058 GB, free: 39.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/2.137, allocations: 4.938 kB / 1.058 GB, free: 39.09 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01804/2.155, allocations: 5.998 MB / 1.064 GB, free: 33.79 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/2.159, allocations: 316.7 kB / 1.064 GB, free: 33.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/2.177, allocations: 6.684 MB / 1.071 GB, free: 27.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/2.178, allocations: 2.595 MB / 1.073 GB, free: 25.57 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00316/2.182, allocations: 0.6068 MB / 1.074 GB, free: 25.17 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001991/2.184, allocations: 1.908 MB / 1.076 GB, free: 23.41 MB / 0.573 GB Notification: Performance of SimCode: time 1.553e-06/2.184, allocations: 3.938 kB / 1.076 GB, free: 23.41 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4909/2.675, allocations: 147.6 MB / 1.22 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/2.675, allocations: 186.5 kB / 1.22 GB, free: 124.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/10.25, allocations: 3.5 kB / 1.22 GB, free: 124.4 MB / 0.6042 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)