Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.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.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",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.00159/0.00159, allocations: 180.9 kB / 7.65 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.368/1.368, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.001184/0.001184, allocations: 94.8 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4738/0.4738, allocations: 78.12 MB / 409.4 MB, free: 6.477 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.281e-05, allocations: 7.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1488, allocations: 69.36 MB / 0.5414 GB, free: 6.852 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4274/0.5762, allocations: 100.3 MB / 0.6394 GB, free: 15.35 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.5766, allocations: 80.84 kB / 0.6395 GB, free: 15.27 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2523/0.8289, allocations: 97.26 MB / 0.7344 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.634e-06/0.8289, allocations: 4 kB / 0.7345 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002369/0.8292, allocations: 91.94 kB / 0.7345 GB, free: 13.52 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.01777/0.8469, allocations: 5.723 MB / 0.7401 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.847, allocations: 8.031 kB / 0.7401 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01771/0.8647, allocations: 2.772 MB / 0.7428 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005454/0.8702, allocations: 2.263 MB / 0.7451 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009434/0.8712, allocations: 0.8384 MB / 0.7459 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/0.8722, allocations: 202.5 kB / 0.7461 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006799/0.879, allocations: 3.436 MB / 0.7494 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007183/0.8862, allocations: 3.583 MB / 0.7529 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.465e-05/0.8863, allocations: 0 / 0.7529 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003296/0.8867, allocations: 0 / 0.7529 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.84e-05/0.8867, allocations: 84 kB / 0.753 GB, free: 10.3 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 preOpt removeSimpleEquations (simulation): time 0.3684/1.255, allocations: 18.07 MB / 0.7707 GB, free: 87.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/1.266, allocations: 4.645 MB / 0.7752 GB, free: 87.21 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00378/1.269, allocations: 2.108 MB / 0.7772 GB, free: 87.19 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000521/1.27, allocations: 76.3 kB / 0.7773 GB, free: 87.18 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.81e-05/1.27, allocations: 68.19 kB / 0.7774 GB, free: 87.14 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=379): time 5.931e-06/1.27, allocations: 0.9375 kB / 0.7774 GB, free: 87.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=379): time 0.05473/1.325, allocations: 17.15 MB / 0.7941 GB, free: 86.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.325, allocations: 171.2 kB / 0.7943 GB, free: 86.48 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00552/1.33, allocations: 2.433 MB / 0.7967 GB, free: 86.21 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001212/1.332, allocations: 25.7 kB / 0.7967 GB, free: 86.18 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001872/1.334, allocations: 2.006 MB / 0.7987 GB, free: 85.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002391/1.336, allocations: 1.239 MB / 0.7999 GB, free: 85.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/1.336, allocations: 4 kB / 0.7999 GB, free: 85.09 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003007/1.337, allocations: 439.5 kB / 0.8003 GB, free: 84.78 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003198/1.34, allocations: 1.746 MB / 0.802 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003562/1.343, allocations: 2.305 MB / 0.8042 GB, free: 84.21 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003777/1.347, allocations: 1.944 MB / 0.8061 GB, free: 84.14 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.26e-05/1.347, allocations: 4.312 kB / 0.8061 GB, free: 84.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05673/1.404, allocations: 17.25 MB / 0.823 GB, free: 83.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002314/1.406, allocations: 6.673 MB / 0.8295 GB, free: 76.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.947e-05/1.406, allocations: 13.88 kB / 0.8295 GB, free: 76.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02366/1.43, allocations: 6.845 MB / 0.8362 GB, free: 75.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/1.433, allocations: 0.5333 MB / 0.8367 GB, free: 75.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05658/1.49, allocations: 25.05 MB / 0.8612 GB, free: 67.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006379/1.496, allocations: 0.6243 MB / 0.8618 GB, free: 67.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/1.497, allocations: 130.9 kB / 0.8619 GB, free: 67.11 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.497, allocations: 3.812 kB / 0.8619 GB, free: 67.11 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04849/1.546, allocations: 16.76 MB / 0.8783 GB, free: 64.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-05/1.546, allocations: 15.62 kB / 0.8783 GB, free: 64.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0217/1.568, allocations: 6.847 MB / 0.885 GB, free: 59.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/1.571, allocations: 0.5286 MB / 0.8855 GB, free: 58.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05395/1.625, allocations: 25.05 MB / 0.91 GB, free: 36.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006812/1.632, allocations: 0.5885 MB / 0.9105 GB, free: 36.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00134/1.633, allocations: 130.9 kB / 0.9107 GB, free: 35.98 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 317 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001515/1.635, allocations: 212.3 kB / 0.9109 GB, free: 35.77 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04962/1.684, allocations: 17.15 MB / 0.9276 GB, free: 22.29 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003007/1.688, allocations: 454.4 kB / 0.928 GB, free: 21.84 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04942/1.737, allocations: 17.59 MB / 0.9452 GB, free: 8.281 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.486e-05/1.737, allocations: 36 kB / 0.9453 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.24e-05/1.737, allocations: 33.5 kB / 0.9453 GB, free: 8.215 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001305/1.737, allocations: 18.98 kB / 0.9453 GB, free: 8.215 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.06667/1.804, allocations: 22.76 MB / 0.9675 GB, free: 6.441 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/1.804, allocations: 0 / 0.9675 GB, free: 6.441 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002761/1.807, allocations: 407.4 kB / 0.9679 GB, free: 6.043 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02386/1.831, allocations: 6.903 MB / 0.9747 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001315/1.832, allocations: 15.98 kB / 0.9747 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4058/2.238, allocations: 22.28 MB / 0.9964 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/2.238, allocations: 4.609 kB / 0.9964 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05854/2.297, allocations: 20.44 MB / 1.016 GB, free: 112 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/2.298, allocations: 0.5506 MB / 1.017 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/2.3, allocations: 6.969 kB / 1.017 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00478/2.304, allocations: 432.3 kB / 1.017 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003138/2.308, allocations: 0.759 MB / 1.018 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004398/2.308, allocations: 91.77 kB / 1.018 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00328/2.311, allocations: 1.805 MB / 1.02 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.11e-07/2.311, allocations: 0 / 1.02 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009733/2.321, allocations: 2.606 MB / 1.022 GB, free: 111.3 MB / 0.5886 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 247 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06419/2.385, allocations: 21.12 MB / 1.043 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0391/2.425, allocations: 13.96 MB / 1.057 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/2.425, allocations: 5.562 kB / 1.057 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01715/2.442, allocations: 5.831 MB / 1.062 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/2.445, allocations: 253.3 kB / 1.063 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/2.459, allocations: 6.341 MB / 1.069 GB, free: 106.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001923/2.461, allocations: 2.594 MB / 1.071 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00255/2.463, allocations: 0.6078 MB / 1.072 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/2.465, allocations: 1.935 MB / 1.074 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.182e-06/2.465, allocations: 0 / 1.074 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.556/3.021, allocations: 138.7 MB / 1.209 GB, free: 97.88 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/3.021, allocations: 144.7 kB / 1.209 GB, free: 97.69 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/10.77, allocations: 0 / 1.209 GB, free: 97.69 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)