Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",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.00633/0.00633, allocations: 171.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.2 MB / 239 MB, free: 1.781 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.00091/0.00091, allocations: 92.45 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5272/0.5272, allocations: 78.59 MB / 419.9 MB, free: 44.3 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003782, allocations: 8 kB / 499.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4494, allocations: 69.35 MB / 0.5559 GB, free: 38.54 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.5725, allocations: 99.3 MB / 0.6528 GB, free: 7.074 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.5728, allocations: 87.95 kB / 0.6529 GB, free: 6.988 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1626/0.7354, allocations: 62.27 MB / 0.7137 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7354, allocations: 0 / 0.7137 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000229/0.7356, allocations: 55.94 kB / 0.7138 GB, free: 8.312 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01401/0.7497, allocations: 4.322 MB / 0.718 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.7497, allocations: 8.031 kB / 0.718 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009157/0.7506, allocations: 282.3 kB / 0.7183 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.7609, allocations: 1.596 MB / 0.7198 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003567/0.7645, allocations: 1.499 MB / 0.7213 GB, free: 476 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006999/0.7652, allocations: 0.6826 MB / 0.722 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006836/0.7659, allocations: 192 kB / 0.7221 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007174/0.7731, allocations: 3.094 MB / 0.7252 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/0.7731, allocations: 0 / 0.7252 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003155/0.7735, allocations: 83.95 kB / 0.7252 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/0.7735, allocations: 44 kB / 0.7253 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006109/0.7796, allocations: 2.881 MB / 0.7281 GB, free: 9.375 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.01856/0.7982, allocations: 9.718 MB / 0.7376 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.8101, allocations: 4.807 MB / 0.7423 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000321/0.8105, allocations: 33.97 kB / 0.7423 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.8105, allocations: 60.56 kB / 0.7424 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=230): time 5.26e-06/0.8105, allocations: 0 / 0.7424 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=230): time 0.3956/1.206, allocations: 31.78 MB / 0.7734 GB, free: 121 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/1.206, allocations: 127.2 kB / 0.7735 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003332/1.21, allocations: 1.697 MB / 0.7752 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006365/1.21, allocations: 66.83 kB / 0.7752 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008121/1.211, allocations: 1.121 MB / 0.7763 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00115/1.212, allocations: 0.7935 MB / 0.7771 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003694/1.213, allocations: 42.69 kB / 0.7772 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.213, allocations: 391.2 kB / 0.7775 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003918/1.217, allocations: 1.811 MB / 0.7793 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004296/1.221, allocations: 2.128 MB / 0.7814 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004172/1.225, allocations: 1.931 MB / 0.7833 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/1.225, allocations: 0 / 0.7833 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.04169/1.267, allocations: 14.22 MB / 0.7971 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005309/1.268, allocations: 2.732 MB / 0.7998 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/1.268, allocations: 10.41 kB / 0.7998 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02145/1.289, allocations: 6.512 MB / 0.8062 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/1.291, allocations: 319.8 kB / 0.8065 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06491/1.356, allocations: 27.83 MB / 0.8337 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003801/1.36, allocations: 495.4 kB / 0.8341 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004825/1.36, allocations: 73.42 kB / 0.8342 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.36, allocations: 5.031 kB / 0.8342 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03928/1.399, allocations: 13.89 MB / 0.8478 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.985e-05/1.4, allocations: 10.69 kB / 0.8478 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01926/1.419, allocations: 6.525 MB / 0.8542 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/1.421, allocations: 300.7 kB / 0.8545 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06042/1.481, allocations: 27.83 MB / 0.8816 GB, free: 80.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004459/1.485, allocations: 473.3 kB / 0.8821 GB, free: 80.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008273/1.486, allocations: 79.31 kB / 0.8822 GB, free: 80.02 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 187 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.002385/1.489, allocations: 492.2 kB / 0.8826 GB, free: 79.55 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.49, allocations: 275.2 kB / 0.8829 GB, free: 79.28 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03917/1.529, allocations: 14.32 MB / 0.8969 GB, free: 68.21 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/1.529, allocations: 27.47 kB / 0.8969 GB, free: 68.19 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.243e-05/1.529, allocations: 16 kB / 0.8969 GB, free: 68.18 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-05/1.529, allocations: 22.2 kB / 0.8969 GB, free: 68.17 MB / 0.5573 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.0455/1.575, allocations: 17.85 MB / 0.9144 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/1.575, allocations: 3.953 kB / 0.9144 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.577, allocations: 251.6 kB / 0.9146 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01704/1.594, allocations: 6.088 MB / 0.9206 GB, free: 46.81 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007566/1.594, allocations: 47.98 kB / 0.9206 GB, free: 46.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05113/1.646, allocations: 22.64 MB / 0.9427 GB, free: 23.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.646, allocations: 0 / 0.9427 GB, free: 23.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04575/1.691, allocations: 16.89 MB / 0.9592 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009795/1.692, allocations: 384.7 kB / 0.9596 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005857/1.693, allocations: 44 kB / 0.9596 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/1.696, allocations: 359.7 kB / 0.96 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001746/1.698, allocations: 0.5527 MB / 0.9605 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/1.698, allocations: 56 kB / 0.9606 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001489/1.699, allocations: 1.311 MB / 0.9618 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.699, allocations: 0 / 0.9618 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004222/1.703, allocations: 1.722 MB / 0.9635 GB, free: 2.605 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 148 * 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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04734/1.751, allocations: 17.76 MB / 0.9809 GB, free: 0.7969 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03238/1.783, allocations: 11.63 MB / 0.9922 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.783, allocations: 1.75 kB / 0.9922 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01368/1.797, allocations: 4.65 MB / 0.9968 GB, free: 488 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/1.798, allocations: 192.4 kB / 0.9969 GB, free: 292 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.235/2.034, allocations: 11.74 MB / 1.008 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/2.035, allocations: 1.799 MB / 1.01 GB, free: 137.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001209/2.036, allocations: 212 kB / 1.01 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/2.038, allocations: 1.093 MB / 1.011 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.943e-06/2.038, allocations: 0 / 1.011 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/2.173, allocations: 92.74 MB / 1.102 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/2.173, allocations: 217.1 kB / 1.102 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.934/7.107, allocations: 64 / 1.102 GB, free: 114.3 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)