Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.007943/0.007943, allocations: 100.8 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.279/1.279, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001276/0.001276, allocations: 184.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4785/0.4785, allocations: 91.9 MB / 431.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 77.25 kB / 0.5723 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1137, allocations: 71.28 MB / 0.6419 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.007949/0.1217, allocations: 8.766 MB / 0.6504 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005301/0.127, allocations: 2.84 MB / 0.6532 GB, free: 8.434 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.1283, allocations: 16 kB / 0.6532 GB, free: 8.418 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009468/0.1292, allocations: 345 kB / 0.6536 GB, free: 8.078 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.1321, allocations: 1.095 MB / 0.6546 GB, free: 6.98 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.134, allocations: 0.9434 MB / 0.6555 GB, free: 6.043 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002514/0.1365, allocations: 2.421 MB / 0.6579 GB, free: 3.617 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006403/0.1372, allocations: 486.1 kB / 0.6584 GB, free: 3.113 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.1383, allocations: 0.961 MB / 0.6593 GB, free: 2.148 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.1396, allocations: 1.198 MB / 0.6605 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002572/0.1398, allocations: 204 kB / 0.6607 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007157/0.1406, allocations: 479.6 kB / 0.6611 GB, free: 284 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003668/0.1409, allocations: 0.4942 MB / 0.6616 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007375/0.1417, allocations: 0.975 MB / 0.6626 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.1439, allocations: 2.574 MB / 0.6651 GB, free: 12.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1439, allocations: 4 kB / 0.6651 GB, free: 12.21 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1439, allocations: 0 / 0.6651 GB, free: 12.21 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.144, allocations: 0 / 0.6651 GB, free: 12.21 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.01108/0.155, allocations: 3.754 MB / 0.6688 GB, free: 8.398 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1551, allocations: 8.031 kB / 0.6688 GB, free: 8.391 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/0.1553, allocations: 164.5 kB / 0.6689 GB, free: 8.219 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004188/0.1595, allocations: 0.7625 MB / 0.6697 GB, free: 7.453 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.1613, allocations: 1.223 MB / 0.6709 GB, free: 6.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003896/0.1617, allocations: 458.5 kB / 0.6713 GB, free: 5.656 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.1619, allocations: 119.9 kB / 0.6714 GB, free: 5.539 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002679/0.1646, allocations: 1.523 MB / 0.6729 GB, free: 3.965 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.1646, allocations: 0 / 0.6729 GB, free: 3.965 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.1647, allocations: 40 kB / 0.6729 GB, free: 3.926 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.1648, allocations: 31.94 kB / 0.673 GB, free: 3.895 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/0.1676, allocations: 1.425 MB / 0.6744 GB, free: 2.461 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.008108/0.1757, allocations: 5.398 MB / 0.6796 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007664/0.1834, allocations: 3.062 MB / 0.6826 GB, free: 9.625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.1851, allocations: 0.9668 MB / 0.6836 GB, free: 8.652 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005223/0.1857, allocations: 0.7258 MB / 0.6843 GB, free: 7.758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002012/0.1877, allocations: 1.122 MB / 0.6854 GB, free: 6.613 MB / 494.1 MB Notification: Performance of pre-optimization done (n=133): time 2.665e-06/0.1877, allocations: 0 / 0.6854 GB, free: 6.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=133): time 0.03609/0.2238, allocations: 9.76 MB / 0.6949 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.2239, allocations: 128.1 kB / 0.695 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.2261, allocations: 1.539 MB / 0.6965 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000274/0.2264, allocations: 53.7 kB / 0.6966 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/0.2269, allocations: 0.6476 MB / 0.6972 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/0.2274, allocations: 485.1 kB / 0.6977 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006575/0.228, allocations: 375.5 kB / 0.698 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.2281, allocations: 305.1 kB / 0.6983 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/0.2302, allocations: 1.043 MB / 0.6993 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.2324, allocations: 1.27 MB / 0.7006 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00408/0.2365, allocations: 2.228 MB / 0.7028 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.2365, allocations: 4 kB / 0.7028 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.008463/0.245, allocations: 3.839 MB / 0.7065 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.245, allocations: 7.938 kB / 0.7065 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.2451, allocations: 7.938 kB / 0.7065 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008623/0.2537, allocations: 2.679 MB / 0.7091 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.2554, allocations: 355.5 kB / 0.7095 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005742/0.2612, allocations: 2.695 MB / 0.7121 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/0.2635, allocations: 270.2 kB / 0.7124 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.2637, allocations: 67.98 kB / 0.7124 GB, free: 10.62 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: 3 ($whenCondition2,$whenCondition1,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 202 * 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.0005811/0.2643, allocations: 333.4 kB / 0.7127 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.2646, allocations: 173.8 kB / 0.7129 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/0.279, allocations: 4.95 MB / 0.7177 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.2791, allocations: 12 kB / 0.7178 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.2791, allocations: 4 kB / 0.7178 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.917e-05/0.2791, allocations: 7.969 kB / 0.7178 GB, free: 5.117 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.01735/0.2965, allocations: 7.119 MB / 0.7247 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/0.2966, allocations: 3.938 kB / 0.7247 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009705/0.2975, allocations: 163.8 kB / 0.7249 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006523/0.3041, allocations: 2.146 MB / 0.727 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/0.3043, allocations: 27.98 kB / 0.727 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02257/0.3268, allocations: 10.05 MB / 0.7368 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3269, allocations: 3.984 kB / 0.7368 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0175/0.3444, allocations: 6.132 MB / 0.7428 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005826/0.345, allocations: 290.5 kB / 0.7431 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/0.3453, allocations: 24 kB / 0.7431 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.3467, allocations: 151.8 kB / 0.7433 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007884/0.3475, allocations: 269.4 kB / 0.7435 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.3476, allocations: 36 kB / 0.7435 GB, free: 10.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001404/0.349, allocations: 1.032 MB / 0.7446 GB, free: 9.344 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.413e-06/0.349, allocations: 0 / 0.7446 GB, free: 9.344 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001384/0.3504, allocations: 0.5698 MB / 0.7451 GB, free: 8.773 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 89 * 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.01716/0.3676, allocations: 6.757 MB / 0.7517 GB, free: 1.977 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008405/0.376, allocations: 3.033 MB / 0.7547 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.3761, allocations: 4 kB / 0.7547 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005562/0.3816, allocations: 1.99 MB / 0.7566 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.3829, allocations: 161.6 kB / 0.7568 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2979/0.6808, allocations: 21.89 MB / 0.7781 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/0.6816, allocations: 1.272 MB / 0.7794 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006524/0.6823, allocations: 162.6 kB / 0.7795 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007286/0.683, allocations: 0.6586 MB / 0.7802 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.683, allocations: 2.156 kB / 0.7802 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06636/0.7494, allocations: 46.72 MB / 0.8258 GB, free: 77.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.72, allocations: 7.938 kB / 0.8258 GB, free: 77.93 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)