Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_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.001287/0.001287, allocations: 173.9 kB / 7.646 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.432/1.432, 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.0009329/0.000933, allocations: 94.11 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.528/0.528, allocations: 78.94 MB / 410.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.337e-05/2.347e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1551, allocations: 69.52 MB / 0.5425 GB, free: 5.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3799/0.535, allocations: 99.42 MB / 0.6396 GB, free: 14.56 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.5352, allocations: 82.22 kB / 0.6397 GB, free: 14.48 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1811/0.7163, allocations: 69.19 MB / 0.7073 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7164, allocations: 0 / 0.7073 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003121/0.7167, allocations: 55.94 kB / 0.7073 GB, free: 9.129 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01447/0.7312, allocations: 4.022 MB / 0.7112 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.7312, allocations: 11.97 kB / 0.7113 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.7422, allocations: 1.6 MB / 0.7128 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/0.7477, allocations: 1.619 MB / 0.7144 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009401/0.7487, allocations: 0.6705 MB / 0.7151 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001105/0.7498, allocations: 127.9 kB / 0.7152 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005657/0.7555, allocations: 2.218 MB / 0.7173 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006838/0.7623, allocations: 2.274 MB / 0.7196 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.305e-05/0.7625, allocations: 0 / 0.7196 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005446/0.763, allocations: 3.984 kB / 0.7196 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.744e-05/0.7631, allocations: 52 kB / 0.7196 GB, free: 12.19 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.02381/0.7869, allocations: 9.568 MB / 0.729 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.7978, allocations: 4.091 MB / 0.733 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003125/0.801, allocations: 1.465 MB / 0.7344 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005505/0.8016, allocations: 41.95 kB / 0.7344 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004925/0.8065, allocations: 1.71 MB / 0.7361 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=247): time 7.905e-06/0.8065, allocations: 0 / 0.7361 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=247): time 0.0433/0.8499, allocations: 12.32 MB / 0.7481 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.85, allocations: 180.2 kB / 0.7483 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003836/0.8539, allocations: 1.693 MB / 0.75 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007552/0.8546, allocations: 29.7 kB / 0.75 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.8559, allocations: 1.211 MB / 0.7512 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001604/0.8575, allocations: 0.8119 MB / 0.752 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005773/0.8581, allocations: 0 / 0.752 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002724/0.8584, allocations: 406.9 kB / 0.7523 GB, free: 10 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002742/0.8612, allocations: 1.201 MB / 0.7535 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002812/0.864, allocations: 1.506 MB / 0.755 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002733/0.8667, allocations: 1.318 MB / 0.7563 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/0.8668, allocations: 4 kB / 0.7563 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.3549/1.222, allocations: 12.27 MB / 0.7683 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.167e-05/1.222, allocations: 115 kB / 0.7684 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/1.222, allocations: 13.86 kB / 0.7684 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01742/1.239, allocations: 4.958 MB / 0.7732 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/1.242, allocations: 418.2 kB / 0.7736 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04637/1.288, allocations: 17.6 MB / 0.7908 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00564/1.294, allocations: 497.1 kB / 0.7913 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000765/1.295, allocations: 85.53 kB / 0.7914 GB, free: 111.2 MB / 0.5573 GB 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_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 (224): * Single equations (assignments): 219 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001534/1.296, allocations: 213.4 kB / 0.7916 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04118/1.337, allocations: 12.32 MB / 0.8036 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/1.339, allocations: 304.1 kB / 0.8039 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0393/1.378, allocations: 12.6 MB / 0.8162 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/1.378, allocations: 26.47 kB / 0.8162 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.674e-05/1.378, allocations: 15.69 kB / 0.8162 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.507e-05/1.378, allocations: 19.02 kB / 0.8163 GB, free: 109.5 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.04141/1.42, allocations: 15.92 MB / 0.8318 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.94e-05/1.42, allocations: 3.938 kB / 0.8318 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/1.422, allocations: 244.6 kB / 0.832 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01514/1.437, allocations: 4.971 MB / 0.8369 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007531/1.437, allocations: 14.95 kB / 0.8369 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0376/1.475, allocations: 19.02 MB / 0.8555 GB, free: 96.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.475, allocations: 0 / 0.8555 GB, free: 96.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03871/1.514, allocations: 14.57 MB / 0.8697 GB, free: 86.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.515, allocations: 414.8 kB / 0.8701 GB, free: 85.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/1.516, allocations: 5.688 kB / 0.8701 GB, free: 85.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003783/1.52, allocations: 369.3 kB / 0.8705 GB, free: 85.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002135/1.522, allocations: 0.5749 MB / 0.871 GB, free: 85.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004559/1.523, allocations: 67.42 kB / 0.8711 GB, free: 85.07 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002077/1.525, allocations: 1.269 MB / 0.8723 GB, free: 83.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.71e-07/1.525, allocations: 0 / 0.8723 GB, free: 83.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004104/1.529, allocations: 1.002 MB / 0.8733 GB, free: 82.94 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.039/1.568, allocations: 15.31 MB / 0.8883 GB, free: 70.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01449/1.583, allocations: 5.554 MB / 0.8937 GB, free: 65.17 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.583, allocations: 5.125 kB / 0.8937 GB, free: 65.17 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01205/1.595, allocations: 4.256 MB / 0.8978 GB, free: 61.35 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/1.597, allocations: 183.1 kB / 0.898 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/1.609, allocations: 4.299 MB / 0.9022 GB, free: 57.37 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.61, allocations: 1.856 MB / 0.904 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001147/1.611, allocations: 218.4 kB / 0.9042 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/1.613, allocations: 1.197 MB / 0.9054 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of SimCode: time 9.42e-07/1.613, allocations: 0 / 0.9054 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1194/1.732, allocations: 73.83 MB / 0.9775 GB, free: 1.602 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/1.732, allocations: 148.6 kB / 0.9776 GB, free: 1.41 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.594/6.326, allocations: 0 / 0.9776 GB, free: 1.41 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)