Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.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.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",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.0009902/0.0009903, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.21/1.21, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008285/0.0008286, allocations: 86.11 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06508/0.06508, allocations: 12.19 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2972/0.2972, allocations: 78.03 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.391e-05, allocations: 4 kB / 0.5213 GB, free: 24.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 69.24 MB / 0.5889 GB, free: 2.961 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4016/0.5133, allocations: 101.8 MB / 0.6883 GB, free: 14.58 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.5135, allocations: 86.19 kB / 0.6884 GB, free: 14.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1737/0.6872, allocations: 65.64 MB / 0.7525 GB, free: 7.086 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6873, allocations: 0 / 0.7525 GB, free: 7.086 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003008/0.6876, allocations: 59.88 kB / 0.7526 GB, free: 7.027 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01324/0.7009, allocations: 4.031 MB / 0.7565 GB, free: 3.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.7009, allocations: 15.97 kB / 0.7565 GB, free: 3.215 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001055/0.702, allocations: 300.9 kB / 0.7568 GB, free: 3.004 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.7121, allocations: 1.6 MB / 0.7584 GB, free: 1.398 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004929/0.7171, allocations: 1.658 MB / 0.76 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007849/0.7179, allocations: 0.6945 MB / 0.7607 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/0.719, allocations: 207.9 kB / 0.7609 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007661/0.7266, allocations: 2.569 MB / 0.7634 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.532e-05/0.7267, allocations: 3.938 kB / 0.7634 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006606/0.7274, allocations: 83.98 kB / 0.7635 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-05/0.7275, allocations: 48 kB / 0.7635 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00569/0.7332, allocations: 2.328 MB / 0.7658 GB, free: 9.543 MB / 0.4948 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.02289/0.7561, allocations: 10.08 MB / 0.7756 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.7662, allocations: 4.037 MB / 0.7796 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003076/0.7693, allocations: 1.542 MB / 0.7811 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004589/0.7698, allocations: 42.05 kB / 0.7811 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.7699, allocations: 56.56 kB / 0.7812 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=243): time 5.6e-06/0.7699, allocations: 0 / 0.7812 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of matching and sorting (n=243): time 0.039/0.8089, allocations: 12.3 MB / 0.7932 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/0.8091, allocations: 239.6 kB / 0.7934 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004227/0.8133, allocations: 1.874 MB / 0.7952 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007743/0.8141, allocations: 69.7 kB / 0.7953 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.8154, allocations: 1.22 MB / 0.7965 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001706/0.8171, allocations: 0.8392 MB / 0.7973 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005489/0.8177, allocations: 48 kB / 0.7974 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002457/0.818, allocations: 390.6 kB / 0.7977 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002782/0.8207, allocations: 1.235 MB / 0.7989 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002929/0.8237, allocations: 1.543 MB / 0.8004 GB, free: 5.199 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/0.8266, allocations: 1.458 MB / 0.8019 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/0.8266, allocations: 11.95 kB / 0.8019 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03524/0.8619, allocations: 11.65 MB / 0.8133 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009126/0.8628, allocations: 2.876 MB / 0.8161 GB, free: 4.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.8629, allocations: 8 kB / 0.8161 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01574/0.8786, allocations: 4.788 MB / 0.8207 GB, free: 20 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003874/0.8826, allocations: 0.6866 MB / 0.8214 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0398/0.9224, allocations: 16.64 MB / 0.8377 GB, free: 14.53 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004223/0.9267, allocations: 0.5251 MB / 0.8382 GB, free: 14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006907/0.9274, allocations: 87.98 kB / 0.8383 GB, free: 13.92 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.9274, allocations: 4 kB / 0.8383 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03541/0.9628, allocations: 11.37 MB / 0.8494 GB, free: 2.465 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.885e-05/0.9629, allocations: 11.95 kB / 0.8494 GB, free: 2.453 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01535/0.9783, allocations: 4.792 MB / 0.8541 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003666/0.982, allocations: 0.6749 MB / 0.8547 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3563/1.338, allocations: 16.64 MB / 0.871 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004688/1.343, allocations: 0.4986 MB / 0.8715 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000491/1.344, allocations: 89.34 kB / 0.8715 GB, free: 153.5 MB / 0.5886 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" 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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007572/1.344, allocations: 292.8 kB / 0.8718 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007944/1.345, allocations: 297.8 kB / 0.8721 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03811/1.383, allocations: 12.65 MB / 0.8845 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.454e-05/1.383, allocations: 28.52 kB / 0.8845 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.95e-05/1.383, allocations: 18.94 kB / 0.8845 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.666e-05/1.384, allocations: 13.58 kB / 0.8845 GB, free: 153.1 MB / 0.5886 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.04137/1.425, allocations: 16.42 MB / 0.9006 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.922e-05/1.425, allocations: 0 / 0.9006 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/1.427, allocations: 278 kB / 0.9008 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01344/1.44, allocations: 4.798 MB / 0.9055 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005832/1.441, allocations: 46.81 kB / 0.9056 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04375/1.485, allocations: 15.39 MB / 0.9206 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.485, allocations: 3.312 kB / 0.9206 GB, free: 148.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05332/1.538, allocations: 14.59 MB / 0.9348 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/1.539, allocations: 414.4 kB / 0.9352 GB, free: 144.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/1.541, allocations: 51.19 kB / 0.9353 GB, free: 144.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00405/1.545, allocations: 393.6 kB / 0.9356 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002288/1.547, allocations: 0.5563 MB / 0.9362 GB, free: 144.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005228/1.548, allocations: 59.5 kB / 0.9362 GB, free: 144.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002993/1.551, allocations: 1.44 MB / 0.9377 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.551, allocations: 0 / 0.9377 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006328/1.557, allocations: 1.736 MB / 0.9394 GB, free: 143.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 161 * 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: 1 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03824/1.595, allocations: 15.37 MB / 0.9544 GB, free: 130.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02746/1.623, allocations: 9.995 MB / 0.9641 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.623, allocations: 0 / 0.9641 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01178/1.635, allocations: 4.051 MB / 0.9681 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/1.637, allocations: 240.7 kB / 0.9683 GB, free: 118 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/1.65, allocations: 4.749 MB / 0.9729 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/1.651, allocations: 1.9 MB / 0.9748 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002532/1.654, allocations: 457.9 kB / 0.9752 GB, free: 112 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/1.655, allocations: 1.183 MB / 0.9764 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of SimCode: time 8.52e-07/1.655, allocations: 0 / 0.9764 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1375/1.793, allocations: 98.03 MB / 1.072 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001334/1.793, allocations: 199.1 kB / 1.072 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.584/7.377, allocations: 0 / 1.072 GB, free: 20.32 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)