Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.conf.json 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/ModelicaServices 4.0.0+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/Complex 4.0.0+maint.om/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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08118/0.08118, allocations: 12.2 MB / 27.47 MB, free: 0.9219 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007173/0.0007173, allocations: 99.52 kB / 31 MB, free: 4.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.4 MB / 239.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 180.1 kB / 291 MB, free: 13.3 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4459/0.4459, allocations: 78.53 MB / 420.5 MB, free: 48.66 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008487/0.0008488, allocations: 32 kB / 0.4902 GB, free: 2.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3654, allocations: 69.22 MB / 0.5578 GB, free: 43.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.008096/0.3736, allocations: 8.647 MB / 0.5663 GB, free: 39.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005998/0.3796, allocations: 2.848 MB / 0.569 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.3808, allocations: 17.03 kB / 0.569 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008428/0.3817, allocations: 267.1 kB / 0.5693 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.3844, allocations: 1.104 MB / 0.5704 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.3861, allocations: 0.7892 MB / 0.5712 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002509/0.3886, allocations: 2.438 MB / 0.5735 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005549/0.3892, allocations: 457.6 kB / 0.574 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000991/0.3902, allocations: 0.8258 MB / 0.5748 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009836/0.3912, allocations: 1.09 MB / 0.5758 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.3914, allocations: 95.56 kB / 0.5759 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006763/0.392, allocations: 355.4 kB / 0.5763 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.3923, allocations: 399.4 kB / 0.5767 GB, free: 33.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005964/0.3929, allocations: 0.8967 MB / 0.5775 GB, free: 33.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.3948, allocations: 2.425 MB / 0.5799 GB, free: 32.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3948, allocations: 4 kB / 0.5799 GB, free: 32.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3948, allocations: 3.938 kB / 0.5799 GB, free: 32.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.3948, allocations: 0 / 0.5799 GB, free: 32.21 MB / 430.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.01267/0.4075, allocations: 3.805 MB / 0.5836 GB, free: 30.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4076, allocations: 13.02 kB / 0.5836 GB, free: 30.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002564/0.4078, allocations: 170.8 kB / 0.5838 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004174/0.412, allocations: 0.7737 MB / 0.5846 GB, free: 30.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.4137, allocations: 1.224 MB / 0.5857 GB, free: 29.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003882/0.4141, allocations: 477.2 kB / 0.5862 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.4143, allocations: 123.1 kB / 0.5863 GB, free: 29.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/0.4173, allocations: 1.629 MB / 0.5879 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.4173, allocations: 3.938 kB / 0.5879 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.4174, allocations: 48.05 kB / 0.588 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.4174, allocations: 27.81 kB / 0.588 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002927/0.4204, allocations: 1.533 MB / 0.5895 GB, free: 28.08 MB / 430.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.008084/0.4285, allocations: 5.55 MB / 0.5949 GB, free: 24.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009495/0.438, allocations: 3.646 MB / 0.5985 GB, free: 23.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002387/0.4404, allocations: 1.059 MB / 0.5995 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004392/0.4409, allocations: 0.7375 MB / 0.6002 GB, free: 22.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002587/0.4435, allocations: 1.217 MB / 0.6014 GB, free: 21.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 3.065e-06/0.4435, allocations: 0 / 0.6014 GB, free: 21.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04445/0.4879, allocations: 12.27 MB / 0.6134 GB, free: 18.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.488, allocations: 117.3 kB / 0.6135 GB, free: 17.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.4904, allocations: 1.547 MB / 0.615 GB, free: 16.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002851/0.4907, allocations: 57.77 kB / 0.6151 GB, free: 16.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.4911, allocations: 0.6477 MB / 0.6157 GB, free: 16.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/0.4915, allocations: 496.9 kB / 0.6162 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.4918, allocations: 193.7 kB / 0.6164 GB, free: 15.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.781e-05/0.4918, allocations: 305.1 kB / 0.6166 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.4939, allocations: 1.132 MB / 0.6178 GB, free: 14.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.4961, allocations: 1.368 MB / 0.6191 GB, free: 12.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00412/0.5003, allocations: 2.403 MB / 0.6214 GB, free: 10.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.5003, allocations: 0 / 0.6214 GB, free: 10.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009545/0.5098, allocations: 4.444 MB / 0.6258 GB, free: 5.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.5099, allocations: 4 kB / 0.6258 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.5099, allocations: 8 kB / 0.6258 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008966/0.5189, allocations: 3.062 MB / 0.6288 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.5203, allocations: 367.5 kB / 0.6291 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005913/0.5263, allocations: 3.011 MB / 0.6321 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.5286, allocations: 310.2 kB / 0.6324 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.5287, allocations: 75.97 kB / 0.6324 GB, free: 14.85 MB / 446.1 MB 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.0006774/0.5294, allocations: 327.9 kB / 0.6327 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.5297, allocations: 173.8 kB / 0.6329 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01766/0.5474, allocations: 5.962 MB / 0.6387 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/0.5474, allocations: 23.88 kB / 0.6388 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.5474, allocations: 0 / 0.6388 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.176e-05/0.5475, allocations: 15.95 kB / 0.6388 GB, free: 8.332 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.02125/0.5687, allocations: 8.219 MB / 0.6468 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/0.5688, allocations: 4 kB / 0.6468 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.5699, allocations: 171.7 kB / 0.647 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008077/0.578, allocations: 2.513 MB / 0.6494 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002588/0.5783, allocations: 35.92 kB / 0.6495 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02538/0.6037, allocations: 10.31 MB / 0.6595 GB, free: 2.805 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6037, allocations: 0 / 0.6595 GB, free: 2.805 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02101/0.6247, allocations: 7.307 MB / 0.6667 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007636/0.6255, allocations: 294.5 kB / 0.6669 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/0.6258, allocations: 31.94 kB / 0.667 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/0.6275, allocations: 187.8 kB / 0.6672 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008572/0.6284, allocations: 265.3 kB / 0.6674 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.904e-05/0.6285, allocations: 35.98 kB / 0.6674 GB, free: 10.64 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001535/0.63, allocations: 1.032 MB / 0.6684 GB, free: 9.613 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.63, allocations: 4 kB / 0.6685 GB, free: 9.609 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001477/0.6315, allocations: 0.5736 MB / 0.669 GB, free: 9.035 MB / 478.1 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,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.02069/0.6522, allocations: 7.929 MB / 0.6768 GB, free: 1.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01044/0.6627, allocations: 3.387 MB / 0.6801 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.6628, allocations: 0 / 0.6801 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007075/0.6699, allocations: 2.25 MB / 0.6823 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.6716, allocations: 146.3 kB / 0.6824 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05033/0.722, allocations: 24.02 MB / 0.7059 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008564/0.7229, allocations: 1.274 MB / 0.7071 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007459/0.7236, allocations: 162.9 kB / 0.7073 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009244/0.7246, allocations: 0.6711 MB / 0.7079 GB, free: 15.97 MB / 0.5138 GB Notification: Performance of SimCode: time 1.443e-06/0.7246, allocations: 0 / 0.7079 GB, free: 15.97 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06409/0.7887, allocations: 42.28 MB / 0.7492 GB, free: 5.805 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.7889, allocations: 209.6 kB / 0.7494 GB, free: 5.555 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.966/3.755, allocations: 0 / 0.7494 GB, free: 5.555 MB / 0.545 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)