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.005007/0.005007, allocations: 102 kB / 15.73 MB, free: 6.035 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.192/1.192, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001265/0.001265, allocations: 192.4 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3942/0.3942, allocations: 78.53 MB / 418.4 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 80.09 kB / 0.5532 GB, free: 1.457 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2664, allocations: 68.17 MB / 0.6197 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.006596/0.273, allocations: 8.811 MB / 0.6283 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005016/0.2781, allocations: 2.852 MB / 0.6311 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.2793, allocations: 19.94 kB / 0.6311 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.2804, allocations: 341.1 kB / 0.6315 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.2839, allocations: 1.239 MB / 0.6327 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.2857, allocations: 0.8575 MB / 0.6335 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002734/0.2885, allocations: 2.599 MB / 0.6361 GB, free: 9.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006505/0.2891, allocations: 0.4944 MB / 0.6365 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.2903, allocations: 0.9805 MB / 0.6375 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.2915, allocations: 1.225 MB / 0.6387 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.2918, allocations: 204 kB / 0.6389 GB, free: 6.453 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007791/0.2926, allocations: 475.7 kB / 0.6393 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000381/0.293, allocations: 0.5058 MB / 0.6398 GB, free: 5.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007616/0.2937, allocations: 0.9984 MB / 0.6408 GB, free: 4.477 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.296, allocations: 2.604 MB / 0.6434 GB, free: 1.863 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.296, allocations: 7.938 kB / 0.6434 GB, free: 1.855 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.296, allocations: 0 / 0.6434 GB, free: 1.855 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.2961, allocations: 0 / 0.6434 GB, free: 1.855 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.01297/0.309, allocations: 4.05 MB / 0.6473 GB, free: 13.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3091, allocations: 12.03 kB / 0.6473 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.3093, allocations: 168.7 kB / 0.6475 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/0.3136, allocations: 0.7664 MB / 0.6482 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.3154, allocations: 1.223 MB / 0.6494 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004357/0.3159, allocations: 470.5 kB / 0.6499 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.3161, allocations: 120 kB / 0.65 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.3188, allocations: 1.551 MB / 0.6515 GB, free: 9.262 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.3188, allocations: 3.938 kB / 0.6515 GB, free: 9.258 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.319, allocations: 40 kB / 0.6515 GB, free: 9.219 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.319, allocations: 28 kB / 0.6516 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002746/0.3217, allocations: 1.433 MB / 0.653 GB, free: 7.75 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.008025/0.3298, allocations: 5.43 MB / 0.6583 GB, free: 2.086 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007859/0.3376, allocations: 3.072 MB / 0.6613 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.3393, allocations: 0.9668 MB / 0.6622 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004971/0.3399, allocations: 0.7336 MB / 0.6629 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002021/0.3419, allocations: 1.137 MB / 0.664 GB, free: 11.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 2.785e-06/0.3419, allocations: 0 / 0.664 GB, free: 11.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=134): time 0.03854/0.3804, allocations: 10.03 MB / 0.6738 GB, free: 1.777 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.3805, allocations: 124.1 kB / 0.674 GB, free: 1.629 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.383, allocations: 1.543 MB / 0.6755 GB, free: 80 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002771/0.3833, allocations: 49.7 kB / 0.6755 GB, free: 24 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005491/0.3839, allocations: 0.6554 MB / 0.6762 GB, free: 15.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005801/0.3845, allocations: 493 kB / 0.6766 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008276/0.3853, allocations: 375.5 kB / 0.677 GB, free: 14.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.3854, allocations: 301.1 kB / 0.6773 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/0.3876, allocations: 1.05 MB / 0.6783 GB, free: 13.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/0.3899, allocations: 1.282 MB / 0.6795 GB, free: 11.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004227/0.3941, allocations: 2.232 MB / 0.6817 GB, free: 9.516 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3941, allocations: 0 / 0.6817 GB, free: 9.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00959/0.4037, allocations: 4.007 MB / 0.6856 GB, free: 5.496 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.4038, allocations: 4 kB / 0.6856 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.4038, allocations: 4 kB / 0.6856 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00894/0.4127, allocations: 2.687 MB / 0.6883 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.4144, allocations: 367.5 kB / 0.6886 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005833/0.4202, allocations: 2.688 MB / 0.6912 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.4226, allocations: 270.2 kB / 0.6915 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002585/0.4228, 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.0007268/0.4236, allocations: 321.5 kB / 0.6919 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004722/0.4241, allocations: 173.8 kB / 0.692 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01499/0.4391, allocations: 4.911 MB / 0.6968 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/0.4391, allocations: 19.94 kB / 0.6969 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.4391, allocations: 4 kB / 0.6969 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/0.4392, 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.01836/0.4575, allocations: 7.159 MB / 0.7039 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.4576, allocations: 0 / 0.7039 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009755/0.4586, allocations: 171.8 kB / 0.704 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007096/0.4657, allocations: 2.138 MB / 0.7061 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002627/0.466, allocations: 28 kB / 0.7061 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02402/0.49, allocations: 10.06 MB / 0.716 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.49, allocations: 3.984 kB / 0.716 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01797/0.508, allocations: 6.159 MB / 0.722 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000585/0.5086, allocations: 290.5 kB / 0.7223 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00046/0.5091, allocations: 28 kB / 0.7223 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/0.5109, allocations: 143.8 kB / 0.7224 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008623/0.5118, allocations: 269.4 kB / 0.7227 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.5119, allocations: 43.98 kB / 0.7227 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001671/0.5136, allocations: 1.032 MB / 0.7237 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5136, allocations: 0 / 0.7237 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001711/0.5153, allocations: 0.5659 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.01803/0.5334, allocations: 6.784 MB / 0.7309 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008932/0.5424, allocations: 3.053 MB / 0.7339 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5424, allocations: 7.875 kB / 0.7339 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006064/0.5485, allocations: 1.996 MB / 0.7358 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.55, allocations: 160.8 kB / 0.736 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04456/0.5945, allocations: 20.2 MB / 0.7557 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008373/0.5954, allocations: 1.274 MB / 0.757 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006796/0.5961, allocations: 166.8 kB / 0.7571 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009412/0.5971, allocations: 0.6711 MB / 0.7578 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.5971, allocations: 0 / 0.7578 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2941/0.8912, allocations: 48.65 MB / 0.8053 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.96, allocations: 7.984 kB / 0.8053 GB, free: 112.8 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)