Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",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.0009782/0.0009783, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.191/1.191, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008197/0.0008197, allocations: 107.1 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4252/0.4252, allocations: 78.91 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.974e-05, allocations: 3.984 kB / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3396, allocations: 69.51 MB / 0.5492 GB, free: 19.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.4776, allocations: 116.8 MB / 0.6633 GB, free: 14.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.4778, allocations: 91.95 kB / 0.6634 GB, free: 14.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4143/0.8921, allocations: 47.24 MB / 0.7095 GB, free: 101 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.8922, allocations: 0 / 0.7095 GB, free: 101 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.32e-05/0.8923, allocations: 32 kB / 0.7096 GB, free: 101 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.005545/0.8978, allocations: 2.277 MB / 0.7118 GB, free: 98.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.8979, allocations: 15.97 kB / 0.7118 GB, free: 98.66 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002479/0.8981, allocations: 177 kB / 0.712 GB, free: 98.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003783/0.9019, allocations: 0.7563 MB / 0.7127 GB, free: 97.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.9038, allocations: 1.198 MB / 0.7139 GB, free: 96.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/0.9042, allocations: 0.5002 MB / 0.7144 GB, free: 95.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.9044, allocations: 116 kB / 0.7145 GB, free: 95.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.9065, allocations: 1.39 MB / 0.7158 GB, free: 94.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.9065, allocations: 3.938 kB / 0.7158 GB, free: 94.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.9067, allocations: 48 kB / 0.7159 GB, free: 94.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.9067, allocations: 28 kB / 0.7159 GB, free: 94.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.9085, allocations: 1.25 MB / 0.7171 GB, free: 93.04 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.009333/0.9179, allocations: 5.706 MB / 0.7227 GB, free: 87.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/0.9304, allocations: 3.332 MB / 0.726 GB, free: 83.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.9328, allocations: 0.7915 MB / 0.7267 GB, free: 82.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007228/0.9336, allocations: 0.7397 MB / 0.7274 GB, free: 82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002658/0.9363, allocations: 0.9474 MB / 0.7284 GB, free: 81.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 6.081e-06/0.9363, allocations: 3.938 kB / 0.7284 GB, free: 81.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.02664/0.9629, allocations: 5.117 MB / 0.7334 GB, free: 75.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.9631, allocations: 145.8 kB / 0.7335 GB, free: 75.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004015/0.9671, allocations: 1.345 MB / 0.7348 GB, free: 74.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004323/0.9676, allocations: 53.77 kB / 0.7349 GB, free: 74.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00072/0.9683, allocations: 0.7067 MB / 0.7356 GB, free: 73.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008833/0.9692, allocations: 493.9 kB / 0.736 GB, free: 73.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003155/0.9696, allocations: 28 kB / 0.7361 GB, free: 73.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9697, allocations: 357.9 kB / 0.7364 GB, free: 72.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.9719, allocations: 0.664 MB / 0.7371 GB, free: 72.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.9742, allocations: 0.8606 MB / 0.7379 GB, free: 71.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.9764, allocations: 0.7205 MB / 0.7386 GB, free: 70.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.9764, allocations: 4 kB / 0.7386 GB, free: 70.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007789/0.9842, allocations: 2.381 MB / 0.7409 GB, free: 68.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003313/0.9846, allocations: 1.547 MB / 0.7424 GB, free: 66.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.9846, allocations: 4 kB / 0.7424 GB, free: 66.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.015/0.9996, allocations: 2.648 MB / 0.745 GB, free: 63.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.001, allocations: 235.7 kB / 0.7453 GB, free: 63.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/1.005, allocations: 2.923 MB / 0.7481 GB, free: 60.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/1.008, allocations: 286.6 kB / 0.7484 GB, free: 60.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/1.008, allocations: 51.98 kB / 0.7484 GB, free: 60.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.008, allocations: 4 kB / 0.7484 GB, free: 60.17 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00376/1.012, allocations: 2.194 MB / 0.7506 GB, free: 57.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.012, allocations: 12.02 kB / 0.7506 GB, free: 57.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007572/1.019, allocations: 2.653 MB / 0.7532 GB, free: 55.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009775/1.02, allocations: 231.7 kB / 0.7534 GB, free: 55.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/1.025, allocations: 2.903 MB / 0.7562 GB, free: 52.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/1.027, allocations: 278.6 kB / 0.7565 GB, free: 51.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/1.027, allocations: 55.98 kB / 0.7566 GB, free: 51.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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: 0 * Non-linear torn systems: 2 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003442/1.027, allocations: 184.7 kB / 0.7567 GB, free: 51.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000482/1.028, allocations: 177.8 kB / 0.7569 GB, free: 51.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/1.042, allocations: 5.213 MB / 0.762 GB, free: 46.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/1.042, allocations: 19.94 kB / 0.762 GB, free: 46.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.042, allocations: 0 / 0.762 GB, free: 46.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.591e-05/1.042, allocations: 15.92 kB / 0.762 GB, free: 46.16 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 postOpt removeSimpleEquations (simulation): time 0.0175/1.059, allocations: 7.537 MB / 0.7694 GB, free: 38.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.832e-05/1.059, allocations: 0 / 0.7694 GB, free: 38.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/1.061, allocations: 183.8 kB / 0.7696 GB, free: 38.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006075/1.067, allocations: 2.006 MB / 0.7715 GB, free: 36.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003705/1.067, allocations: 31.98 kB / 0.7715 GB, free: 36.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/1.084, allocations: 7.841 MB / 0.7792 GB, free: 28.33 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/1.084, allocations: 7.984 kB / 0.7792 GB, free: 28.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/1.1, allocations: 6.322 MB / 0.7854 GB, free: 21.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008428/1.101, allocations: 302.5 kB / 0.7857 GB, free: 21.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006193/1.101, allocations: 31.98 kB / 0.7857 GB, free: 21.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/1.103, allocations: 199.8 kB / 0.7859 GB, free: 21.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008693/1.104, allocations: 289.2 kB / 0.7862 GB, free: 21.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.105, allocations: 36 kB / 0.7862 GB, free: 21.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001599/1.106, allocations: 1.041 MB / 0.7872 GB, free: 20.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.106, allocations: 3.938 kB / 0.7872 GB, free: 20.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002613/1.109, allocations: 0.858 MB / 0.7881 GB, free: 19.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01632/1.125, allocations: 7.093 MB / 0.795 GB, free: 12.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01245/1.138, allocations: 4.375 MB / 0.7993 GB, free: 7.695 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.138, allocations: 4 kB / 0.7993 GB, free: 7.691 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005301/1.143, allocations: 1.959 MB / 0.8012 GB, free: 5.715 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/1.144, allocations: 152.4 kB / 0.8013 GB, free: 5.566 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006454/1.151, allocations: 3.092 MB / 0.8043 GB, free: 2.414 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/1.152, allocations: 1.337 MB / 0.8057 GB, free: 1.051 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001461/1.153, allocations: 282.8 kB / 0.8059 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006741/1.154, allocations: 0.6672 MB / 0.8066 GB, free: 108 kB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/1.154, allocations: 0 / 0.8066 GB, free: 108 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08331/1.237, allocations: 50.99 MB / 0.8564 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/1.237, allocations: 164.2 kB / 0.8565 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.5/4.737, allocations: 0 / 0.8565 GB, free: 13.03 MB / 0.5417 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)