Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_dev_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.001326/0.001326, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001509/0.001509, allocations: 195.7 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5281/0.5281, allocations: 92.61 MB / 432.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 79.94 kB / 0.5732 GB, free: 33.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.112, allocations: 71.41 MB / 0.643 GB, free: 3.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.01015/0.1222, allocations: 8.822 MB / 0.6516 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006289/0.1286, allocations: 2.856 MB / 0.6544 GB, free: 7.379 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.1301, allocations: 19.94 kB / 0.6544 GB, free: 7.359 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.1312, allocations: 349 kB / 0.6547 GB, free: 7.016 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0033/0.1345, allocations: 1.029 MB / 0.6557 GB, free: 5.98 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.1369, allocations: 0.9538 MB / 0.6566 GB, free: 5.035 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0035/0.1404, allocations: 2.436 MB / 0.659 GB, free: 2.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000869/0.1413, allocations: 0.506 MB / 0.6595 GB, free: 2.059 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.1428, allocations: 0.9532 MB / 0.6605 GB, free: 1.102 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.1446, allocations: 1.214 MB / 0.6616 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004656/0.145, allocations: 208 kB / 0.6618 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009899/0.146, allocations: 483.7 kB / 0.6623 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005191/0.1466, allocations: 0.4942 MB / 0.6628 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.1476, allocations: 0.9945 MB / 0.6638 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00324/0.1509, allocations: 2.599 MB / 0.6663 GB, free: 11.1 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1509, allocations: 0 / 0.6663 GB, free: 11.1 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1509, allocations: 0 / 0.6663 GB, free: 11.1 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.798e-05/0.151, allocations: 0 / 0.6663 GB, free: 11.1 MB / 478.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.01389/0.1649, allocations: 3.838 MB / 0.67 GB, free: 7.199 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1649, allocations: 8.031 kB / 0.67 GB, free: 7.191 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002593/0.1652, allocations: 164.7 kB / 0.6702 GB, free: 7.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004945/0.1702, allocations: 0.7832 MB / 0.671 GB, free: 6.234 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.1728, allocations: 1.232 MB / 0.6722 GB, free: 4.953 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000553/0.1734, allocations: 466.5 kB / 0.6726 GB, free: 4.422 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003078/0.1737, allocations: 120 kB / 0.6727 GB, free: 4.305 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003533/0.1772, allocations: 1.548 MB / 0.6742 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.1773, allocations: 0 / 0.6742 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.1774, allocations: 43.94 kB / 0.6743 GB, free: 2.664 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.1775, allocations: 28 kB / 0.6743 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003564/0.181, allocations: 1.445 MB / 0.6757 GB, free: 1.184 MB / 478.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.01063/0.1917, allocations: 5.443 MB / 0.681 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009651/0.2014, allocations: 3.07 MB / 0.684 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002547/0.2039, allocations: 0.9668 MB / 0.685 GB, free: 7.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007399/0.2047, allocations: 0.7297 MB / 0.6857 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002796/0.2075, allocations: 1.133 MB / 0.6868 GB, free: 5.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=134): time 3.176e-06/0.2076, allocations: 0 / 0.6868 GB, free: 5.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=134): time 0.04437/0.2519, allocations: 10.05 MB / 0.6966 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.252, allocations: 120.1 kB / 0.6967 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.2547, allocations: 1.547 MB / 0.6982 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003429/0.255, allocations: 53.7 kB / 0.6983 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/0.2556, allocations: 0.6602 MB / 0.6989 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006456/0.2563, allocations: 0.5035 MB / 0.6994 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000766/0.257, allocations: 371.6 kB / 0.6998 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2572, allocations: 301.1 kB / 0.7001 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002645/0.2598, allocations: 1.054 MB / 0.7011 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002938/0.2628, allocations: 1.278 MB / 0.7023 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005366/0.2682, allocations: 2.235 MB / 0.7045 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.2682, allocations: 4 kB / 0.7045 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.0118/0.28, allocations: 4.012 MB / 0.7084 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.2801, allocations: 8 kB / 0.7085 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/0.2801, allocations: 7.984 kB / 0.7085 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01033/0.2904, allocations: 2.675 MB / 0.7111 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/0.2924, allocations: 367.5 kB / 0.7114 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007045/0.2995, allocations: 2.695 MB / 0.7141 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/0.3021, allocations: 266.7 kB / 0.7143 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/0.3024, allocations: 75.97 kB / 0.7144 GB, free: 8.758 MB / 0.5137 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.0007323/0.3031, allocations: 326.3 kB / 0.7147 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004006/0.3035, allocations: 178.8 kB / 0.7149 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0178/0.3213, allocations: 4.915 MB / 0.7197 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/0.3214, allocations: 23.91 kB / 0.7197 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.3214, allocations: 4 kB / 0.7197 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.344e-05/0.3215, allocations: 3.984 kB / 0.7197 GB, free: 3.285 MB / 0.5137 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.02164/0.3431, allocations: 7.159 MB / 0.7267 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.3432, allocations: 0 / 0.7267 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.3442, allocations: 175.8 kB / 0.7269 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008069/0.3523, allocations: 2.134 MB / 0.7289 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002981/0.3527, allocations: 31.98 kB / 0.729 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0281/0.3808, allocations: 10.06 MB / 0.7388 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.3808, allocations: 0 / 0.7388 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02115/0.402, allocations: 6.187 MB / 0.7448 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006415/0.4026, allocations: 291.5 kB / 0.7451 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003771/0.403, allocations: 24 kB / 0.7451 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/0.4048, allocations: 147.8 kB / 0.7453 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009533/0.4058, allocations: 269.4 kB / 0.7455 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/0.4059, allocations: 43.98 kB / 0.7456 GB, free: 8.426 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00181/0.4078, allocations: 1.032 MB / 0.7466 GB, free: 7.398 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4078, allocations: 0 / 0.7466 GB, free: 7.398 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001746/0.4095, allocations: 0.5698 MB / 0.7471 GB, free: 6.828 MB / 0.545 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.02111/0.4306, allocations: 6.805 MB / 0.7538 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01027/0.441, allocations: 3.041 MB / 0.7568 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.441, allocations: 0 / 0.7568 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007234/0.4482, allocations: 2.008 MB / 0.7587 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.4497, allocations: 165.5 kB / 0.7589 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2847/0.7344, allocations: 20.27 MB / 0.7787 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008205/0.7352, allocations: 1.278 MB / 0.7799 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007784/0.736, allocations: 159.6 kB / 0.7801 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008351/0.7369, allocations: 0.6723 MB / 0.7807 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.7369, allocations: 0 / 0.7807 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07625/0.8131, allocations: 46.86 MB / 0.8265 GB, free: 76.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/16, allocations: 7.375 kB / 0.8265 GB, free: 76.51 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)