Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005232/0.005232, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.4 MB / 221.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000912/0.0009121, allocations: 98.78 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06178/0.06178, allocations: 12.19 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4052/0.4052, allocations: 78.52 MB / 459.6 MB, free: 4.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.0005325, allocations: 26.41 kB / 0.528 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 69.23 MB / 0.5956 GB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.4468, allocations: 103 MB / 0.6963 GB, free: 99.39 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.4471, allocations: 82.39 kB / 0.6963 GB, free: 99.39 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2143/0.6615, allocations: 97.15 MB / 0.7912 GB, free: 17.86 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6615, allocations: 0 / 0.7912 GB, free: 17.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004181/0.6619, allocations: 87.94 kB / 0.7913 GB, free: 17.77 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02007/0.682, allocations: 6.562 MB / 0.7977 GB, free: 11.12 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.6821, allocations: 11.98 kB / 0.7977 GB, free: 11.11 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002033/0.6841, allocations: 492.8 kB / 0.7982 GB, free: 10.62 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01712/0.7013, allocations: 2.803 MB / 0.8009 GB, free: 7.805 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006774/0.7081, allocations: 2.264 MB / 0.8031 GB, free: 5.465 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001/0.7091, allocations: 0.9924 MB / 0.8041 GB, free: 4.336 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001671/0.7108, allocations: 340 kB / 0.8044 GB, free: 4.004 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/0.7236, allocations: 4.934 MB / 0.8092 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/0.7237, allocations: 7.953 kB / 0.8092 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/0.7248, allocations: 144 kB / 0.8094 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.068e-05/0.7249, allocations: 87.94 kB / 0.8095 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.7356, allocations: 4.482 MB / 0.8138 GB, free: 10.31 MB / 490.7 MB 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.03922/0.7748, allocations: 18.57 MB / 0.832 GB, free: 6.559 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01443/0.7893, allocations: 5.662 MB / 0.8375 GB, free: 0.8086 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000765/0.7901, allocations: 66.91 kB / 0.8376 GB, free: 0.7422 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008707/0.7989, allocations: 3.422 MB / 0.8409 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=382): time 1.014e-05/0.7989, allocations: 3.938 kB / 0.8409 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=382): time 0.5812/1.38, allocations: 78.39 MB / 0.9175 GB, free: 128.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/1.38, allocations: 148 kB / 0.9176 GB, free: 128.1 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005253/1.386, allocations: 2.716 MB / 0.9203 GB, free: 127.9 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001313/1.387, allocations: 88.27 kB / 0.9204 GB, free: 127.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001729/1.389, allocations: 2.006 MB / 0.9223 GB, free: 127.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002097/1.391, allocations: 1.289 MB / 0.9236 GB, free: 127 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/1.391, allocations: 75.38 kB / 0.9236 GB, free: 127 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.391, allocations: 445.2 kB / 0.9241 GB, free: 126.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005217/1.396, allocations: 2.657 MB / 0.9267 GB, free: 126.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005534/1.402, allocations: 3.228 MB / 0.9298 GB, free: 126.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005945/1.408, allocations: 2.908 MB / 0.9327 GB, free: 126 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/1.408, allocations: 7.625 kB / 0.9327 GB, free: 126 MB / 0.573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.0537/1.462, allocations: 20.17 MB / 0.9524 GB, free: 125.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-05/1.462, allocations: 63.16 kB / 0.9524 GB, free: 125.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.62e-05/1.462, allocations: 15.44 kB / 0.9524 GB, free: 125.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02484/1.487, allocations: 8.559 MB / 0.9608 GB, free: 125 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/1.49, allocations: 0.555 MB / 0.9613 GB, free: 125 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07929/1.569, allocations: 37.09 MB / 0.9976 GB, free: 110.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005907/1.575, allocations: 0.7078 MB / 0.9983 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000593/1.576, allocations: 131.8 kB / 0.9984 GB, free: 110.1 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (329): * Single equations (assignments): 326 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.001959/1.578, allocations: 0.6443 MB / 0.999 GB, free: 109.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.579, allocations: 463.6 kB / 0.9995 GB, free: 109.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05155/1.63, allocations: 20.55 MB / 1.02 GB, free: 93.29 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/1.63, allocations: 37.78 kB / 1.02 GB, free: 93.25 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.16e-05/1.63, allocations: 28 kB / 1.02 GB, free: 93.23 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.495e-05/1.63, allocations: 20.64 kB / 1.02 GB, free: 93.23 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.05901/1.689, allocations: 25.5 MB / 1.045 GB, free: 73.89 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.432e-05/1.69, allocations: 0 / 1.045 GB, free: 73.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/1.692, allocations: 387.9 kB / 1.045 GB, free: 73.57 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02446/1.716, allocations: 8.614 MB / 1.053 GB, free: 66.95 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001108/1.718, allocations: 75.84 kB / 1.053 GB, free: 66.88 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07552/1.793, allocations: 34.32 MB / 1.087 GB, free: 33.62 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.793, allocations: 7.984 kB / 1.087 GB, free: 33.62 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06184/1.855, allocations: 24.19 MB / 1.111 GB, free: 9.344 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/1.857, allocations: 0.561 MB / 1.111 GB, free: 8.758 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001921/1.859, allocations: 68 kB / 1.111 GB, free: 8.691 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005402/1.864, allocations: 495.6 kB / 1.112 GB, free: 8.207 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003596/1.868, allocations: 0.7802 MB / 1.112 GB, free: 7.422 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008612/1.869, allocations: 95.98 kB / 1.112 GB, free: 7.328 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004198/1.873, allocations: 2.074 MB / 1.114 GB, free: 5.25 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.2e-07/1.873, allocations: 0 / 1.114 GB, free: 5.25 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007417/1.88, allocations: 1.754 MB / 1.116 GB, free: 3.496 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 243 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.06805/1.948, allocations: 24.92 MB / 1.141 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.2681/2.217, allocations: 9.94 MB / 1.15 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/2.217, allocations: 4.219 kB / 1.15 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01946/2.236, allocations: 7.021 MB / 1.157 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/2.239, allocations: 308.6 kB / 1.157 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02141/2.261, allocations: 20.91 MB / 1.178 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002053/2.263, allocations: 2.537 MB / 1.18 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001835/2.265, allocations: 297.2 kB / 1.181 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002462/2.267, allocations: 1.969 MB / 1.182 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.282e-06/2.267, allocations: 0 / 1.182 GB, free: 142.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1538/2.421, allocations: 112 MB / 1.292 GB, free: 82.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/2.421, allocations: 213 kB / 1.292 GB, free: 82.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.175/8.596, allocations: 3.938 kB / 1.292 GB, free: 82.09 MB / 0.6042 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)