Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.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.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.0009298/0.0009297, allocations: 180.2 kB / 7.65 MB, free: 1.418 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.32/1.32, allocations: 221.5 MB / 229.6 MB, free: 3.176 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.0009174/0.0009174, allocations: 95.33 kB / 280.5 MB, free: 1.156 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4481/0.4481, allocations: 78.07 MB / 409.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.606e-05, allocations: 4 kB / 485 MB, free: 3.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3214, allocations: 69.36 MB / 0.5414 GB, free: 21.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.4491, allocations: 100.2 MB / 0.6392 GB, free: 4.367 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4493, allocations: 79.95 kB / 0.6393 GB, free: 4.289 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4811/0.9305, allocations: 69.69 MB / 0.7074 GB, free: 96.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.9305, allocations: 0 / 0.7074 GB, free: 96.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001761/0.9307, allocations: 64.34 kB / 0.7074 GB, free: 96.62 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.0129/0.9436, allocations: 4.081 MB / 0.7114 GB, free: 94.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.9437, allocations: 7.812 kB / 0.7114 GB, free: 94.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.954, allocations: 1.604 MB / 0.713 GB, free: 93.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004599/0.9587, allocations: 1.66 MB / 0.7146 GB, free: 92.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006526/0.9594, allocations: 0.6733 MB / 0.7153 GB, free: 91.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006256/0.96, allocations: 131.4 kB / 0.7154 GB, free: 91.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003978/0.964, allocations: 2.229 MB / 0.7176 GB, free: 90.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003889/0.9679, allocations: 2.3 MB / 0.7198 GB, free: 88.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-05/0.968, allocations: 0 / 0.7198 GB, free: 88.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/0.9682, allocations: 0 / 0.7198 GB, free: 88.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/0.9683, allocations: 55.94 kB / 0.7199 GB, free: 88.41 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.01841/0.9867, allocations: 9.653 MB / 0.7293 GB, free: 78.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008882/0.9956, allocations: 4.137 MB / 0.7333 GB, free: 74.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002305/0.9979, allocations: 1.476 MB / 0.7348 GB, free: 72.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/0.9983, allocations: 45.16 kB / 0.7348 GB, free: 72.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002668/1.001, allocations: 1.737 MB / 0.7365 GB, free: 70.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 6.031e-06/1.001, allocations: 0 / 0.7365 GB, free: 70.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.03588/1.037, allocations: 12.36 MB / 0.7486 GB, free: 58.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/1.037, allocations: 180.2 kB / 0.7488 GB, free: 58.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003671/1.041, allocations: 1.745 MB / 0.7505 GB, free: 56.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007212/1.041, allocations: 25.7 kB / 0.7505 GB, free: 56.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000903/1.042, allocations: 1.204 MB / 0.7517 GB, free: 55.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00139/1.044, allocations: 0.8352 MB / 0.7525 GB, free: 54.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/1.044, allocations: 0 / 0.7525 GB, free: 54.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/1.044, allocations: 399 kB / 0.7529 GB, free: 54.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/1.046, allocations: 1.227 MB / 0.7541 GB, free: 52.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/1.048, allocations: 1.523 MB / 0.7555 GB, free: 51.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/1.05, allocations: 1.346 MB / 0.7569 GB, free: 49.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/1.05, allocations: 7.953 kB / 0.7569 GB, free: 49.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03548/1.085, allocations: 12.38 MB / 0.769 GB, free: 37.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.38e-05/1.086, allocations: 118.8 kB / 0.7691 GB, free: 37.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/1.086, allocations: 8 kB / 0.7691 GB, free: 37.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01603/1.102, allocations: 5.07 MB / 0.774 GB, free: 32.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/1.104, allocations: 411.4 kB / 0.7744 GB, free: 31.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03671/1.141, allocations: 18.88 MB / 0.7929 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004161/1.145, allocations: 489.7 kB / 0.7933 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004024/1.145, allocations: 87.98 kB / 0.7934 GB, free: 12.09 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 223 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006258/1.146, allocations: 213.3 kB / 0.7936 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03532/1.181, allocations: 12.36 MB / 0.8057 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/1.183, allocations: 300.3 kB / 0.806 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03788/1.221, allocations: 12.65 MB / 0.8183 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-05/1.221, allocations: 24 kB / 0.8184 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-05/1.221, allocations: 20 kB / 0.8184 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.257e-05/1.221, allocations: 11.95 kB / 0.8184 GB, free: 2.398 MB / 0.4948 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.04251/1.263, allocations: 16.03 MB / 0.834 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/1.263, allocations: 3.953 kB / 0.834 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/1.265, allocations: 251.6 kB / 0.8343 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01538/1.281, allocations: 4.948 MB / 0.8391 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006371/1.281, allocations: 19.98 kB / 0.8391 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03845/1.32, allocations: 19 MB / 0.8577 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.32, allocations: 0 / 0.8577 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04268/1.362, allocations: 14.64 MB / 0.872 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.364, allocations: 420.7 kB / 0.8724 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006439/1.364, allocations: 11.98 kB / 0.8724 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003301/1.367, allocations: 371.6 kB / 0.8728 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001946/1.369, allocations: 0.5859 MB / 0.8733 GB, free: 9.504 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/1.37, allocations: 63.98 kB / 0.8734 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001825/1.371, allocations: 1.3 MB / 0.8747 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.51e-07/1.372, allocations: 0 / 0.8747 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003378/1.375, allocations: 1.018 MB / 0.8757 GB, free: 7.117 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * 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 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04216/1.417, allocations: 15.39 MB / 0.8907 GB, free: 7.598 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01605/1.433, allocations: 5.738 MB / 0.8963 GB, free: 1.762 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.433, allocations: 1.75 kB / 0.8963 GB, free: 1.762 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.2913/1.725, allocations: 4.278 MB / 0.9005 GB, free: 178.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/1.728, allocations: 189.7 kB / 0.9006 GB, free: 178.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.741, allocations: 4.556 MB / 0.9051 GB, free: 177.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/1.744, allocations: 1.879 MB / 0.9069 GB, free: 176.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001244/1.745, allocations: 214.9 kB / 0.9071 GB, free: 176.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/1.746, allocations: 1.213 MB / 0.9083 GB, free: 176.9 MB / 0.573 GB Notification: Performance of SimCode: time 7.61e-07/1.746, allocations: 2.797 kB / 0.9083 GB, free: 176.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/1.854, allocations: 74.88 MB / 0.9814 GB, free: 131 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001307/1.855, allocations: 141.7 kB / 0.9816 GB, free: 130.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.62/6.475, allocations: 0 / 0.9816 GB, free: 130.8 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)