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.001496/0.001496, 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.344/1.344, allocations: 221.5 MB / 229.6 MB, free: 7.598 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.0009421/0.0009421, allocations: 94.97 kB / 280.5 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4549/0.4549, allocations: 78.12 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.824e-05, allocations: 3.938 kB / 485.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1241, allocations: 69.36 MB / 0.5414 GB, free: 6.871 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3894/0.5135, allocations: 99.57 MB / 0.6387 GB, free: 52 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.5138, allocations: 83.19 kB / 0.6387 GB, free: 15.97 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1778/0.6916, allocations: 68.46 MB / 0.7056 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6916, allocations: 0 / 0.7056 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001699/0.6918, allocations: 59.94 kB / 0.7056 GB, free: 11.34 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.01204/0.7039, allocations: 4.03 MB / 0.7096 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.7039, allocations: 8.031 kB / 0.7096 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.7141, allocations: 1.6 MB / 0.7112 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004168/0.7183, allocations: 1.647 MB / 0.7128 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007541/0.7191, allocations: 0.6666 MB / 0.7134 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005018/0.7196, allocations: 127.9 kB / 0.7135 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004213/0.7238, allocations: 2.215 MB / 0.7157 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004142/0.728, allocations: 2.279 MB / 0.7179 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.728, allocations: 0 / 0.7179 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/0.7283, allocations: 7.953 kB / 0.7179 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/0.7283, allocations: 48 kB / 0.718 GB, free: 14.36 MB / 0.5261 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.0185/0.7468, allocations: 9.577 MB / 0.7273 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009608/0.7564, allocations: 4.103 MB / 0.7313 GB, free: 156 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/0.7591, allocations: 1.466 MB / 0.7328 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.7594, allocations: 45.88 kB / 0.7328 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002836/0.7623, allocations: 1.714 MB / 0.7345 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=248): time 3.927e-06/0.7623, allocations: 0 / 0.7345 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=248): time 0.03795/0.8002, allocations: 12.32 MB / 0.7465 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.8004, allocations: 184.2 kB / 0.7467 GB, free: 344 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.803, allocations: 1.693 MB / 0.7483 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004932/0.8035, allocations: 29.7 kB / 0.7484 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008579/0.8044, allocations: 1.2 MB / 0.7495 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008928/0.8053, allocations: 0.8276 MB / 0.7503 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.8054, allocations: 0 / 0.7503 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.8056, allocations: 395 kB / 0.7507 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.8076, allocations: 1.209 MB / 0.7519 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.8099, allocations: 1.502 MB / 0.7534 GB, free: 9.352 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.812, allocations: 1.332 MB / 0.7547 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.812, allocations: 4 kB / 0.7547 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.3254/1.137, allocations: 12.27 MB / 0.7667 GB, free: 113 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/1.138, allocations: 116.5 kB / 0.7668 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/1.138, allocations: 6.125 kB / 0.7668 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01602/1.154, allocations: 4.971 MB / 0.7716 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/1.156, allocations: 412.5 kB / 0.772 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03848/1.195, allocations: 17.55 MB / 0.7892 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004278/1.199, allocations: 493.5 kB / 0.7896 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/1.199, allocations: 96.88 kB / 0.7897 GB, free: 111.4 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.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 (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.0006467/1.2, allocations: 214.7 kB / 0.7899 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04034/1.24, allocations: 12.32 MB / 0.802 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/1.242, allocations: 294.5 kB / 0.8022 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03719/1.279, allocations: 12.61 MB / 0.8146 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.317e-05/1.279, allocations: 26.72 kB / 0.8146 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.82e-05/1.279, allocations: 17.41 kB / 0.8146 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.074e-05/1.28, allocations: 20.36 kB / 0.8146 GB, free: 109.9 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.0392/1.319, allocations: 15.92 MB / 0.8302 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/1.319, allocations: 3.969 kB / 0.8302 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/1.32, allocations: 247.5 kB / 0.8304 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01486/1.335, allocations: 4.935 MB / 0.8352 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000696/1.336, allocations: 25.91 kB / 0.8353 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0351/1.371, allocations: 18.99 MB / 0.8538 GB, free: 96.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.371, allocations: 0.5625 kB / 0.8538 GB, free: 96.77 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03885/1.41, allocations: 14.58 MB / 0.868 GB, free: 88.09 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.412, allocations: 409.6 kB / 0.8684 GB, free: 87.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006055/1.412, allocations: 7.844 kB / 0.8684 GB, free: 87.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003071/1.415, allocations: 365.3 kB / 0.8688 GB, free: 87.45 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001855/1.417, allocations: 0.5867 MB / 0.8694 GB, free: 87.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/1.417, allocations: 64.5 kB / 0.8694 GB, free: 87.07 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001696/1.419, allocations: 1.265 MB / 0.8707 GB, free: 85.91 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.1e-07/1.419, allocations: 0 / 0.8707 GB, free: 85.91 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003619/1.423, allocations: 1.008 MB / 0.8716 GB, free: 84.95 MB / 0.5573 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 () * 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.03844/1.461, allocations: 15.32 MB / 0.8866 GB, free: 72.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01387/1.475, allocations: 5.569 MB / 0.892 GB, free: 67.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.475, allocations: 0 / 0.892 GB, free: 67.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01123/1.486, allocations: 4.256 MB / 0.8962 GB, free: 63.35 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/1.488, allocations: 186.1 kB / 0.8964 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007769/1.496, allocations: 4.361 MB / 0.9006 GB, free: 59.31 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/1.497, allocations: 1.863 MB / 0.9025 GB, free: 57.85 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001017/1.498, allocations: 214 kB / 0.9027 GB, free: 57.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/1.5, allocations: 1.184 MB / 0.9038 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of SimCode: time 7.62e-07/1.5, allocations: 4 kB / 0.9038 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1147/1.614, allocations: 73.82 MB / 0.9759 GB, free: 4.523 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003038/1.615, allocations: 154.9 kB / 0.9761 GB, free: 4.332 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.654/6.268, allocations: 1.688 kB / 0.9761 GB, free: 4.332 MB / 0.573 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)