Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",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.004849/0.004849, allocations: 171.3 kB / 15.11 MB, free: 5.973 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.3/1.3, allocations: 223.2 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009712/0.0009713, allocations: 96.02 kB / 290.2 MB, free: 4.527 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4701/0.4701, allocations: 78.59 MB / 419.9 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004296, allocations: 12 kB / 499.9 MB, free: 7.156 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1241, allocations: 69.35 MB / 0.5559 GB, free: 1.738 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3582/0.4823, allocations: 100.3 MB / 0.6538 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.4826, allocations: 82.95 kB / 0.6539 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1965/0.6791, allocations: 69.53 MB / 0.7218 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6791, allocations: 0 / 0.7218 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001578/0.6793, allocations: 55.94 kB / 0.7218 GB, free: 12.61 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01382/0.6931, allocations: 4.638 MB / 0.7264 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.6932, allocations: 12.03 kB / 0.7264 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009785/0.6942, allocations: 304 kB / 0.7267 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.7044, allocations: 1.623 MB / 0.7283 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00425/0.7087, allocations: 1.693 MB / 0.7299 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007259/0.7094, allocations: 0.7448 MB / 0.7306 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/0.7099, allocations: 204 kB / 0.7308 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006456/0.7164, allocations: 3.207 MB / 0.734 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.7164, allocations: 7.953 kB / 0.734 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/0.7167, allocations: 80 kB / 0.7341 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.7167, allocations: 53.97 kB / 0.7341 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005918/0.7227, allocations: 2.979 MB / 0.737 GB, free: 12.7 MB / 0.5261 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.01805/0.7407, allocations: 9.919 MB / 0.7467 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/0.7524, allocations: 4.861 MB / 0.7515 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/0.7528, allocations: 41.91 kB / 0.7515 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004877/0.7577, allocations: 2.404 MB / 0.7538 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=248): time 4.87e-06/0.7577, allocations: 0 / 0.7538 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=248): time 0.1165/0.8742, allocations: 30.91 MB / 0.784 GB, free: 11.87 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.8744, allocations: 184.2 kB / 0.7842 GB, free: 11.65 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004524/0.8789, allocations: 1.924 MB / 0.7861 GB, free: 9.715 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000775/0.8798, allocations: 65.7 kB / 0.7861 GB, free: 9.645 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.881, allocations: 1.192 MB / 0.7873 GB, free: 8.441 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001706/0.8827, allocations: 0.8431 MB / 0.7881 GB, free: 7.586 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000567/0.8833, allocations: 52 kB / 0.7882 GB, free: 7.535 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002927/0.8836, allocations: 399 kB / 0.7886 GB, free: 7.141 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004502/0.8881, allocations: 1.883 MB / 0.7904 GB, free: 5.254 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004914/0.893, allocations: 2.191 MB / 0.7925 GB, free: 2.965 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005196/0.8983, allocations: 2.112 MB / 0.7946 GB, free: 0.7969 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-05/0.8983, allocations: 0 / 0.7946 GB, free: 0.7969 MB / 0.573 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.3205/1.219, allocations: 14.46 MB / 0.8087 GB, free: 123.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/1.219, allocations: 124 kB / 0.8088 GB, free: 123.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/1.219, allocations: 8.219 kB / 0.8088 GB, free: 123.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0206/1.24, allocations: 6.429 MB / 0.8151 GB, free: 123.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002454/1.242, allocations: 419.6 kB / 0.8155 GB, free: 123.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06903/1.311, allocations: 26.45 MB / 0.8413 GB, free: 120.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00452/1.316, allocations: 0.5418 MB / 0.8419 GB, free: 120.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007247/1.317, allocations: 88.58 kB / 0.842 GB, free: 120.7 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" 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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 4 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.00212/1.319, allocations: 0.5061 MB / 0.8425 GB, free: 120.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/1.32, allocations: 304.5 kB / 0.8427 GB, free: 120.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04423/1.364, allocations: 14.74 MB / 0.8571 GB, free: 119.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.751e-05/1.364, allocations: 22.62 kB / 0.8572 GB, free: 119.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-05/1.364, allocations: 21 kB / 0.8572 GB, free: 119.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.648e-05/1.364, allocations: 14.61 kB / 0.8572 GB, free: 119.5 MB / 0.573 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.04721/1.412, allocations: 18.27 MB / 0.875 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.842e-05/1.412, allocations: 7.609 kB / 0.8751 GB, free: 115.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/1.413, allocations: 244.3 kB / 0.8753 GB, free: 115 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01745/1.431, allocations: 6.2 MB / 0.8813 GB, free: 114 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007904/1.432, allocations: 58.09 kB / 0.8814 GB, free: 114 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0605/1.492, allocations: 26.9 MB / 0.9077 GB, free: 93.02 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.492, allocations: 0 / 0.9077 GB, free: 93.02 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04732/1.54, allocations: 17.33 MB / 0.9246 GB, free: 79.02 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/1.541, allocations: 413.7 kB / 0.925 GB, free: 78.65 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001358/1.542, allocations: 44 kB / 0.925 GB, free: 78.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003945/1.546, allocations: 411 kB / 0.9254 GB, free: 78.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002521/1.549, allocations: 0.5764 MB / 0.926 GB, free: 77.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005116/1.55, allocations: 63.61 kB / 0.926 GB, free: 77.93 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002876/1.552, allocations: 1.485 MB / 0.9275 GB, free: 76.68 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.31e-07/1.552, allocations: 0 / 0.9275 GB, free: 76.68 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005292/1.558, allocations: 1.111 MB / 0.9286 GB, free: 75.61 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04558/1.603, allocations: 18.11 MB / 0.9463 GB, free: 60.79 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01857/1.622, allocations: 7.039 MB / 0.9531 GB, free: 54.67 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.622, allocations: 1.75 kB / 0.9531 GB, free: 54.67 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01371/1.636, allocations: 5.056 MB / 0.9581 GB, free: 49.88 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/1.638, allocations: 231.9 kB / 0.9583 GB, free: 49.65 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/1.654, allocations: 11.9 MB / 0.9699 GB, free: 37.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/1.655, allocations: 1.868 MB / 0.9717 GB, free: 35.61 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001458/1.657, allocations: 217.4 kB / 0.9719 GB, free: 35.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/1.659, allocations: 1.19 MB / 0.9731 GB, free: 34.22 MB / 0.573 GB Notification: Performance of SimCode: time 1.312e-06/1.659, allocations: 0 / 0.9731 GB, free: 34.22 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3876/2.046, allocations: 77.81 MB / 1.049 GB, free: 136 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/2.046, allocations: 216 kB / 1.049 GB, free: 135.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.152/7.198, allocations: 3.125 kB / 1.049 GB, free: 135.8 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)