Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005212/0.005212, allocations: 99.88 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 239.4 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 192.5 kB / 289.7 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4656/0.4656, allocations: 78.53 MB / 418.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 79.88 kB / 0.5532 GB, free: 1.457 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.303, allocations: 68.17 MB / 0.6197 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.006974/0.31, allocations: 8.802 MB / 0.6283 GB, free: 1.324 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004894/0.3149, allocations: 2.86 MB / 0.6311 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008049/0.3158, allocations: 16 kB / 0.6311 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008113/0.3166, allocations: 345 kB / 0.6315 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002709/0.3193, allocations: 1.235 MB / 0.6327 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.3211, allocations: 0.8653 MB / 0.6335 GB, free: 12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002639/0.3237, allocations: 2.594 MB / 0.6361 GB, free: 9.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006563/0.3244, allocations: 0.4905 MB / 0.6365 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.3256, allocations: 0.9845 MB / 0.6375 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.3269, allocations: 1.225 MB / 0.6387 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.3272, allocations: 208 kB / 0.6389 GB, free: 6.449 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.3279, allocations: 475.7 kB / 0.6393 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.3283, allocations: 0.5058 MB / 0.6398 GB, free: 5.477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008086/0.3292, allocations: 0.9984 MB / 0.6408 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.3316, allocations: 2.6 MB / 0.6433 GB, free: 1.863 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3316, allocations: 0 / 0.6433 GB, free: 1.863 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3316, allocations: 0 / 0.6433 GB, free: 1.863 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.084e-05/0.3316, allocations: 4 kB / 0.6434 GB, free: 1.859 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01401/0.3457, allocations: 4.06 MB / 0.6473 GB, free: 13.74 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3457, allocations: 8.031 kB / 0.6473 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002773/0.346, allocations: 168.7 kB / 0.6475 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/0.3507, allocations: 0.7704 MB / 0.6482 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.353, allocations: 1.223 MB / 0.6494 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004795/0.3535, allocations: 466.5 kB / 0.6499 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/0.3538, allocations: 120 kB / 0.65 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003244/0.3571, allocations: 1.551 MB / 0.6515 GB, free: 9.262 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.3571, allocations: 3.984 kB / 0.6515 GB, free: 9.258 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.3573, allocations: 44 kB / 0.6516 GB, free: 9.215 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.3573, allocations: 24 kB / 0.6516 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.3607, allocations: 1.437 MB / 0.653 GB, free: 7.746 MB / 462.1 MB 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.009716/0.3704, allocations: 5.43 MB / 0.6583 GB, free: 2.082 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008839/0.3793, allocations: 3.067 MB / 0.6613 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/0.3813, allocations: 0.9707 MB / 0.6622 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005802/0.3819, allocations: 0.7297 MB / 0.6629 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002356/0.3843, allocations: 1.133 MB / 0.664 GB, free: 11.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 3.617e-06/0.3843, allocations: 4 kB / 0.664 GB, free: 11.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=134): time 0.04246/0.4268, allocations: 10.03 MB / 0.6738 GB, free: 1.777 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.4269, allocations: 124 kB / 0.674 GB, free: 1.629 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.4292, allocations: 1.539 MB / 0.6755 GB, free: 84 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002538/0.4294, allocations: 53.7 kB / 0.6755 GB, free: 24 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004913/0.4299, allocations: 0.6515 MB / 0.6762 GB, free: 15.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000494/0.4304, allocations: 0.4892 MB / 0.6766 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006633/0.4311, allocations: 379.5 kB / 0.677 GB, free: 14.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.542e-05/0.4312, allocations: 301.1 kB / 0.6773 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/0.4335, allocations: 1.046 MB / 0.6783 GB, free: 13.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/0.436, allocations: 1.278 MB / 0.6795 GB, free: 11.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004615/0.4406, allocations: 2.235 MB / 0.6817 GB, free: 9.512 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.4407, allocations: 4 kB / 0.6817 GB, free: 9.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01041/0.4511, allocations: 3.999 MB / 0.6856 GB, free: 5.496 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4511, allocations: 8 kB / 0.6856 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.4512, allocations: 4 kB / 0.6857 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009635/0.4608, allocations: 2.683 MB / 0.6883 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.4626, allocations: 363.5 kB / 0.6886 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006392/0.469, allocations: 2.688 MB / 0.6912 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.4714, allocations: 266.2 kB / 0.6915 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.4716, allocations: 71.98 kB / 0.6916 GB, free: 15.39 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006974/0.4723, allocations: 333.4 kB / 0.6919 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.4726, allocations: 169.8 kB / 0.692 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01655/0.4891, allocations: 4.915 MB / 0.6968 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.4892, allocations: 19.94 kB / 0.6969 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4892, allocations: 0 / 0.6969 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.949e-05/0.4892, allocations: 7.969 kB / 0.6969 GB, free: 9.93 MB / 0.4981 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.02007/0.5093, allocations: 7.158 MB / 0.7039 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/0.5094, allocations: 4 kB / 0.7039 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.5105, allocations: 167.8 kB / 0.704 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007779/0.5183, allocations: 2.146 MB / 0.7061 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003665/0.5187, allocations: 28 kB / 0.7061 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02589/0.5446, allocations: 10.05 MB / 0.716 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5446, allocations: 8 kB / 0.716 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01931/0.5639, allocations: 6.163 MB / 0.722 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006025/0.5646, allocations: 290.5 kB / 0.7223 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.5648, allocations: 28 kB / 0.7223 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.5664, allocations: 135.8 kB / 0.7224 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008444/0.5673, allocations: 277.3 kB / 0.7227 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.5674, allocations: 39.98 kB / 0.7227 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001528/0.569, allocations: 1.032 MB / 0.7237 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.569, allocations: 4 kB / 0.7237 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001513/0.5705, allocations: 0.5698 MB / 0.7243 GB, free: 13.51 MB / 0.5294 GB 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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01979/0.5903, allocations: 6.777 MB / 0.7309 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009392/0.5997, allocations: 3.049 MB / 0.7339 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5998, allocations: 3.938 kB / 0.7339 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006442/0.6062, allocations: 2.009 MB / 0.7359 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.6076, allocations: 153.7 kB / 0.736 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04592/0.6536, allocations: 20.21 MB / 0.7557 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008154/0.6544, allocations: 1.278 MB / 0.757 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007593/0.6552, allocations: 162.9 kB / 0.7571 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009243/0.6561, allocations: 0.6711 MB / 0.7578 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/0.6561, allocations: 0 / 0.7578 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3379/0.994, allocations: 48.65 MB / 0.8053 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/15.26, allocations: 11.73 kB / 0.8053 GB, free: 113.5 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)