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.1025/0.1025, 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.001182/0.001181, allocations: 111.4 kB / 31.83 MB, free: 3.879 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.388/1.388, allocations: 205.1 MB / 240.4 MB, free: 12.34 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.001847/0.001847, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4451/0.4451, allocations: 78.51 MB / 419.3 MB, free: 11.23 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.00259/0.00259, allocations: 150.7 kB / 0.5554 GB, free: 28.8 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1331, allocations: 68.14 MB / 0.6219 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.009943/0.1431, allocations: 8.989 MB / 0.6307 GB, free: 6.867 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006312/0.1495, allocations: 2.837 MB / 0.6335 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.1513, allocations: 16 kB / 0.6335 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.1528, allocations: 345 kB / 0.6338 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004312/0.1571, allocations: 1.309 MB / 0.6351 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.1597, allocations: 0.8826 MB / 0.636 GB, free: 1.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004266/0.164, allocations: 2.638 MB / 0.6385 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.1652, allocations: 0.5336 MB / 0.6391 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/0.1671, allocations: 0.9962 MB / 0.64 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001977/0.1691, allocations: 1.245 MB / 0.6413 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009059/0.17, allocations: 212 kB / 0.6415 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.1715, allocations: 491.7 kB / 0.6419 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008961/0.1724, allocations: 0.5215 MB / 0.6424 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001851/0.1743, allocations: 1.022 MB / 0.6434 GB, free: 9.781 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.1786, allocations: 2.704 MB / 0.6461 GB, free: 7.066 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1787, allocations: 0 / 0.6461 GB, free: 7.066 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1787, allocations: 0 / 0.6461 GB, free: 7.066 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000112/0.1788, allocations: 0 / 0.6461 GB, free: 7.066 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.0163/0.1951, allocations: 4.17 MB / 0.6501 GB, free: 2.832 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.1952, allocations: 11.98 kB / 0.6502 GB, free: 2.82 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005079/0.1957, allocations: 172.9 kB / 0.6503 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005135/0.2009, allocations: 0.7832 MB / 0.6511 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003061/0.2039, allocations: 1.256 MB / 0.6523 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006406/0.2046, allocations: 0.4924 MB / 0.6528 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004966/0.2051, allocations: 123.9 kB / 0.6529 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004269/0.2094, allocations: 1.591 MB / 0.6545 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.2095, allocations: 0 / 0.6545 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.2097, allocations: 44 kB / 0.6545 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.2097, allocations: 28 kB / 0.6545 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003788/0.2135, allocations: 1.48 MB / 0.656 GB, free: 12.66 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.01147/0.225, allocations: 5.514 MB / 0.6614 GB, free: 6.918 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009139/0.2342, allocations: 3.122 MB / 0.6644 GB, free: 3.652 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002435/0.2367, allocations: 0.9947 MB / 0.6654 GB, free: 2.648 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006649/0.2374, allocations: 0.7258 MB / 0.6661 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00281/0.2402, allocations: 1.142 MB / 0.6672 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of pre-optimization done (n=136): time 5.671e-06/0.2402, allocations: 3.938 kB / 0.6672 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of matching and sorting (n=136): time 0.04362/0.2839, allocations: 10.06 MB / 0.677 GB, free: 6.496 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.2841, allocations: 124.1 kB / 0.6772 GB, free: 6.348 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003638/0.2877, allocations: 1.556 MB / 0.6787 GB, free: 4.785 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004472/0.2882, allocations: 49.7 kB / 0.6787 GB, free: 4.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000806/0.289, allocations: 0.6799 MB / 0.6794 GB, free: 4.043 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009312/0.2899, allocations: 0.5152 MB / 0.6799 GB, free: 3.523 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/0.2915, allocations: 383.6 kB / 0.6803 GB, free: 3.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2916, allocations: 305.1 kB / 0.6805 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002897/0.2945, allocations: 1.062 MB / 0.6816 GB, free: 1.773 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003029/0.2976, allocations: 1.298 MB / 0.6829 GB, free: 424 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005557/0.3031, allocations: 2.255 MB / 0.6851 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/0.3032, allocations: 0 / 0.6851 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01241/0.3156, allocations: 4.161 MB / 0.6891 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.3157, allocations: 10.97 kB / 0.6891 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.3157, allocations: 4 kB / 0.6891 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/0.3265, allocations: 2.804 MB / 0.6919 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/0.3286, allocations: 347.5 kB / 0.6922 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007949/0.3365, allocations: 3.369 MB / 0.6955 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/0.3395, allocations: 278.6 kB / 0.6958 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004059/0.34, allocations: 75.98 kB / 0.6958 GB, free: 2.988 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.001105/0.3411, allocations: 321.5 kB / 0.6961 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006798/0.3418, allocations: 186.8 kB / 0.6963 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01793/0.3597, allocations: 5.013 MB / 0.7012 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/0.3598, allocations: 12 kB / 0.7012 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.3598, allocations: 4 kB / 0.7012 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.296e-05/0.3598, allocations: 7.969 kB / 0.7012 GB, free: 13.42 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.02249/0.3823, allocations: 7.206 MB / 0.7083 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/0.3824, allocations: 4 kB / 0.7083 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.3836, allocations: 179.8 kB / 0.7084 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007977/0.3916, allocations: 2.138 MB / 0.7105 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003275/0.392, allocations: 28 kB / 0.7106 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3168/0.7088, allocations: 10.08 MB / 0.7204 GB, free: 82.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7088, allocations: 1.609 kB / 0.7204 GB, free: 82.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02127/0.7301, allocations: 6.191 MB / 0.7264 GB, free: 81.19 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008131/0.731, allocations: 299.5 kB / 0.7267 GB, free: 80.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/0.7313, allocations: 28.56 kB / 0.7268 GB, free: 80.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/0.7331, allocations: 152.4 kB / 0.7269 GB, free: 80.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/0.7342, allocations: 281.7 kB / 0.7272 GB, free: 80.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.7343, allocations: 41.41 kB / 0.7272 GB, free: 80.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00163/0.7359, allocations: 1.041 MB / 0.7282 GB, free: 80.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7359, allocations: 0 / 0.7282 GB, free: 80.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001978/0.7379, allocations: 0.5773 MB / 0.7288 GB, free: 80.38 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.01994/0.7579, allocations: 6.815 MB / 0.7355 GB, free: 78.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009266/0.7672, allocations: 3.067 MB / 0.7384 GB, free: 77.17 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.7672, allocations: 0 / 0.7384 GB, free: 77.17 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006416/0.7736, allocations: 2.03 MB / 0.7404 GB, free: 76.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.7752, allocations: 163.9 kB / 0.7406 GB, free: 76.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0466/0.8218, allocations: 21.45 MB / 0.7615 GB, free: 56.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.8224, allocations: 1.298 MB / 0.7628 GB, free: 55.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007386/0.8231, allocations: 167.2 kB / 0.763 GB, free: 55.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000759/0.8239, allocations: 0.6828 MB / 0.7636 GB, free: 54.49 MB / 0.5137 GB Notification: Performance of SimCode: time 7.32e-07/0.8239, allocations: 0 / 0.7636 GB, free: 54.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07774/0.9016, allocations: 48.29 MB / 0.8108 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.64, allocations: 7.734 kB / 0.8108 GB, free: 6.266 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)