Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII",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.001174/0.001174, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0009039/0.0009039, allocations: 89.45 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0955/0.0955, allocations: 12.2 MB / 321.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3335/0.3335, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.095e-05/2.084e-05, allocations: 0 / 0.5142 GB, free: 29.94 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1673, allocations: 69.24 MB / 0.5819 GB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.6154, allocations: 98.71 MB / 0.6782 GB, free: 9.285 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.6157, allocations: 78.23 kB / 0.6783 GB, free: 9.273 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1528/0.7685, allocations: 58.15 MB / 0.7351 GB, free: 10.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.7685, allocations: 4 kB / 0.7351 GB, free: 10.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001943/0.7687, allocations: 51.94 kB / 0.7352 GB, free: 10.11 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01228/0.781, allocations: 3.739 MB / 0.7388 GB, free: 6.629 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.7811, allocations: 12.03 kB / 0.7388 GB, free: 6.617 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.7911, allocations: 1.567 MB / 0.7404 GB, free: 5.191 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004079/0.7952, allocations: 1.464 MB / 0.7418 GB, free: 3.734 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008407/0.7961, allocations: 0.6084 MB / 0.7424 GB, free: 3.027 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009346/0.7971, allocations: 116 kB / 0.7425 GB, free: 2.914 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004557/0.8017, allocations: 2.081 MB / 0.7445 GB, free: 0.832 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004679/0.8064, allocations: 2.134 MB / 0.7466 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.8064, allocations: 0 / 0.7466 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002611/0.8067, allocations: 0 / 0.7466 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.8068, allocations: 48 kB / 0.7467 GB, free: 14.63 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.0199/0.8267, allocations: 9.297 MB / 0.7557 GB, free: 4.926 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.8369, allocations: 3.951 MB / 0.7596 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00274/0.8396, allocations: 1.358 MB / 0.7609 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005073/0.8402, allocations: 45.95 kB / 0.761 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/0.8403, allocations: 60.55 kB / 0.761 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=227): time 4.789e-06/0.8403, allocations: 0 / 0.761 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=227): time 0.03886/0.8792, allocations: 11.9 MB / 0.7726 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.8793, allocations: 128.8 kB / 0.7728 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/0.8823, allocations: 1.499 MB / 0.7742 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006858/0.8831, allocations: 25.7 kB / 0.7742 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.8843, allocations: 1.124 MB / 0.7753 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001631/0.8859, allocations: 0.7504 MB / 0.7761 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.8863, allocations: 0 / 0.7761 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002977/0.8866, allocations: 386.2 kB / 0.7764 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/0.8888, allocations: 1.11 MB / 0.7775 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/0.8911, allocations: 1.404 MB / 0.7789 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.8933, allocations: 1.213 MB / 0.7801 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.8934, allocations: 0 / 0.7801 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03733/0.9307, allocations: 12.01 MB / 0.7918 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009973/0.9317, allocations: 2.728 MB / 0.7945 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.9318, allocations: 4 kB / 0.7945 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01608/0.9479, allocations: 4.96 MB / 0.7993 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.9496, allocations: 323.5 kB / 0.7996 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03976/0.9894, allocations: 17.59 MB / 0.8168 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003906/0.9934, allocations: 449.8 kB / 0.8172 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006321/0.994, allocations: 71.98 kB / 0.8173 GB, free: 5.125 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.994, allocations: 4 kB / 0.8173 GB, free: 5.121 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03596/1.03, allocations: 11.7 MB / 0.8287 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.152e-05/1.03, allocations: 11.94 kB / 0.8288 GB, free: 9.398 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01841/1.049, allocations: 4.961 MB / 0.8336 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/1.051, allocations: 299.6 kB / 0.8339 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04463/1.095, allocations: 17.61 MB / 0.8511 GB, free: 2.387 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004726/1.1, allocations: 414.1 kB / 0.8515 GB, free: 1.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009144/1.101, allocations: 79.97 kB / 0.8516 GB, free: 1.902 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * 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.00105/1.102, allocations: 145.7 kB / 0.8517 GB, free: 1.754 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4749/1.577, allocations: 11.9 MB / 0.8633 GB, free: 152.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002082/1.579, allocations: 270.5 kB / 0.8636 GB, free: 152.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04104/1.62, allocations: 12.17 MB / 0.8755 GB, free: 152.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.261e-05/1.62, allocations: 23.41 kB / 0.8755 GB, free: 152.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.976e-05/1.62, allocations: 15.56 kB / 0.8755 GB, free: 152.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001043/1.621, allocations: 10.97 kB / 0.8755 GB, free: 152.6 MB / 0.573 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.04388/1.664, allocations: 15.47 MB / 0.8906 GB, free: 151.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.378e-05/1.665, allocations: 1.312 kB / 0.8906 GB, free: 151.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.666, allocations: 246.9 kB / 0.8909 GB, free: 151.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01443/1.681, allocations: 4.826 MB / 0.8956 GB, free: 151.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008412/1.682, allocations: 13.3 kB / 0.8956 GB, free: 151.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03534/1.717, allocations: 15.18 MB / 0.9104 GB, free: 149.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.717, allocations: 0 / 0.9104 GB, free: 149.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03966/1.757, allocations: 14.06 MB / 0.9241 GB, free: 141 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.758, allocations: 374.7 kB / 0.9245 GB, free: 140.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/1.759, allocations: 4 kB / 0.9245 GB, free: 140.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003715/1.763, allocations: 325.6 kB / 0.9248 GB, free: 140.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00219/1.765, allocations: 0.5505 MB / 0.9253 GB, free: 140.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003004/1.766, allocations: 55.14 kB / 0.9254 GB, free: 140 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001939/1.768, allocations: 1.118 MB / 0.9265 GB, free: 139 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.768, allocations: 4 kB / 0.9265 GB, free: 139 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00709/1.775, allocations: 1.533 MB / 0.928 GB, free: 137.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03936/1.814, allocations: 14.92 MB / 0.9425 GB, free: 125.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02645/1.841, allocations: 9.06 MB / 0.9514 GB, free: 117.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/1.841, allocations: 0 / 0.9514 GB, free: 117.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01309/1.854, allocations: 3.806 MB / 0.9551 GB, free: 113.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/1.857, allocations: 151.5 kB / 0.9553 GB, free: 113.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/1.868, allocations: 4.142 MB / 0.9593 GB, free: 110.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/1.87, allocations: 1.792 MB / 0.9611 GB, free: 108.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001809/1.872, allocations: 354.2 kB / 0.9614 GB, free: 108.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.873, allocations: 1.075 MB / 0.9624 GB, free: 107.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.042e-06/1.873, allocations: 0 / 0.9624 GB, free: 107.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/2.031, allocations: 89.96 MB / 1.05 GB, free: 19.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/2.032, allocations: 157.6 kB / 1.05 GB, free: 19.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.07/8.102, allocations: 0 / 1.05 GB, free: 19.1 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRIII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)