Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0769/0.0769, allocations: 12.59 MB / 28.22 MB, free: 0.7383 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.001163/0.001163, allocations: 111.4 kB / 31.84 MB, free: 3.887 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.264/1.264, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001383/0.001383, allocations: 184.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.405/0.405, allocations: 78.52 MB / 419.3 MB, free: 11.24 MB / 302.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.003595/0.003595, allocations: 137.4 kB / 0.5554 GB, free: 28.88 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1066, allocations: 68.14 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.01053/0.1171, allocations: 8.993 MB / 0.6307 GB, free: 6.867 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005972/0.1231, allocations: 2.841 MB / 0.6335 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.1242, allocations: 23.88 kB / 0.6335 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009306/0.1252, allocations: 349 kB / 0.6338 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003194/0.1284, allocations: 1.232 MB / 0.6351 GB, free: 2.414 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.1304, allocations: 0.8846 MB / 0.6359 GB, free: 1.539 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003226/0.1336, allocations: 2.635 MB / 0.6385 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007922/0.1344, allocations: 0.5337 MB / 0.639 GB, free: 14.33 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.1358, allocations: 0.9961 MB / 0.64 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.1374, allocations: 1.245 MB / 0.6412 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003698/0.1377, allocations: 212 kB / 0.6414 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008993/0.1386, allocations: 495.6 kB / 0.6419 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004917/0.1391, allocations: 0.5137 MB / 0.6424 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009885/0.1401, allocations: 1.026 MB / 0.6434 GB, free: 9.844 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.1433, allocations: 2.696 MB / 0.646 GB, free: 7.137 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1433, allocations: 0 / 0.646 GB, free: 7.137 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1433, allocations: 0 / 0.646 GB, free: 7.137 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.488e-05/0.1433, allocations: 0 / 0.646 GB, free: 7.137 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.01436/0.1577, allocations: 4.173 MB / 0.6501 GB, free: 2.898 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.1578, allocations: 23.97 kB / 0.6501 GB, free: 2.875 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002329/0.158, allocations: 168.9 kB / 0.6503 GB, free: 2.699 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004509/0.1625, allocations: 0.7832 MB / 0.651 GB, free: 1.914 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.1648, allocations: 1.256 MB / 0.6523 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006062/0.1654, allocations: 0.4924 MB / 0.6527 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000269/0.1657, allocations: 128.1 kB / 0.6529 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/0.1691, allocations: 1.58 MB / 0.6544 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.1692, allocations: 3.938 kB / 0.6544 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.1693, allocations: 48 kB / 0.6545 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.1693, allocations: 24 kB / 0.6545 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/0.1728, allocations: 1.484 MB / 0.6559 GB, free: 12.71 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.01015/0.1829, allocations: 5.495 MB / 0.6613 GB, free: 6.996 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009322/0.1923, allocations: 3.142 MB / 0.6644 GB, free: 3.711 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00249/0.1948, allocations: 0.9869 MB / 0.6653 GB, free: 2.715 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007066/0.1955, allocations: 0.7297 MB / 0.666 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002593/0.1981, allocations: 1.142 MB / 0.6672 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of pre-optimization done (n=136): time 3.396e-06/0.1982, allocations: 3.938 kB / 0.6672 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of matching and sorting (n=136): time 0.04245/0.2406, allocations: 10.06 MB / 0.677 GB, free: 6.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.2407, allocations: 116.1 kB / 0.6771 GB, free: 6.418 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/0.2434, allocations: 1.556 MB / 0.6786 GB, free: 4.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002674/0.2437, allocations: 57.7 kB / 0.6787 GB, free: 4.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006528/0.2444, allocations: 0.6837 MB / 0.6793 GB, free: 4.102 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000664/0.2451, allocations: 0.5112 MB / 0.6798 GB, free: 3.586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000872/0.2459, allocations: 379.6 kB / 0.6802 GB, free: 3.207 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2461, allocations: 305.1 kB / 0.6805 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/0.2487, allocations: 1.066 MB / 0.6815 GB, free: 1.836 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002809/0.2515, allocations: 1.29 MB / 0.6828 GB, free: 496 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005205/0.2567, allocations: 2.263 MB / 0.685 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.2567, allocations: 0 / 0.685 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01173/0.2685, allocations: 4.157 MB / 0.6891 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.2685, allocations: 8 kB / 0.6891 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.2685, allocations: 4 kB / 0.6891 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01034/0.2789, allocations: 2.801 MB / 0.6918 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.2806, allocations: 339.5 kB / 0.6921 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007614/0.2882, allocations: 3.369 MB / 0.6954 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.2908, allocations: 278.6 kB / 0.6957 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/0.2911, allocations: 71.97 kB / 0.6957 GB, free: 3.07 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: 3 ($whenCondition2,$whenCondition1,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007857/0.2919, allocations: 321.5 kB / 0.6961 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/0.2923, allocations: 190.8 kB / 0.6962 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/0.3096, allocations: 5.013 MB / 0.7011 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.3097, allocations: 23.94 kB / 0.7012 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3097, allocations: 0 / 0.7012 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.153e-05/0.3097, allocations: 3.984 kB / 0.7012 GB, free: 13.5 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.02072/0.3304, allocations: 7.213 MB / 0.7082 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.3305, allocations: 0 / 0.7082 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.3316, allocations: 167.8 kB / 0.7084 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00779/0.3394, allocations: 2.146 MB / 0.7105 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002633/0.3397, allocations: 35.98 kB / 0.7105 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2509/0.5906, allocations: 10.07 MB / 0.7203 GB, free: 82.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5906, allocations: 0.9844 kB / 0.7203 GB, free: 82.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01913/0.6098, allocations: 6.201 MB / 0.7264 GB, free: 81.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005713/0.6104, allocations: 302.1 kB / 0.7267 GB, free: 80.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/0.6107, allocations: 28.55 kB / 0.7267 GB, free: 80.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.6123, allocations: 148.6 kB / 0.7268 GB, free: 80.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009683/0.6133, allocations: 277.9 kB / 0.7271 GB, free: 80.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.6134, allocations: 45.58 kB / 0.7271 GB, free: 80.74 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001496/0.6149, allocations: 1.042 MB / 0.7282 GB, free: 80.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6149, allocations: 0 / 0.7282 GB, free: 80.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00163/0.6166, allocations: 0.576 MB / 0.7287 GB, free: 80.26 MB / 0.5137 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,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.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 (93): * Single equations (assignments): 92 * 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.01802/0.6346, allocations: 6.819 MB / 0.7354 GB, free: 77.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008248/0.6429, allocations: 3.065 MB / 0.7384 GB, free: 77.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6429, allocations: 0.875 kB / 0.7384 GB, free: 77.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005832/0.6487, allocations: 2.033 MB / 0.7404 GB, free: 76.24 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.65, allocations: 156.5 kB / 0.7405 GB, free: 76.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0415/0.6915, allocations: 21.46 MB / 0.7615 GB, free: 56.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.6921, allocations: 1.294 MB / 0.7627 GB, free: 55.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006366/0.6927, allocations: 168 kB / 0.7629 GB, free: 55.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007238/0.6934, allocations: 0.6867 MB / 0.7636 GB, free: 54.56 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/0.6935, allocations: 0 / 0.7636 GB, free: 54.56 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0709/0.7644, allocations: 48.29 MB / 0.8107 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.58, allocations: 7.375 kB / 0.8107 GB, free: 6.34 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)