Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",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.001082/0.001082, 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.359/1.359, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001324/0.001324, allocations: 196.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5061/0.5061, allocations: 91.92 MB / 431.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 85.52 kB / 0.5722 GB, free: 33.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 71.28 MB / 0.6419 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.00707/0.115, allocations: 7.002 MB / 0.6487 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003632/0.1186, allocations: 2.129 MB / 0.6508 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004518/0.1191, allocations: 12 kB / 0.6508 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006353/0.1198, allocations: 257.8 kB / 0.651 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.1214, allocations: 0.8232 MB / 0.6518 GB, free: 9.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.1229, allocations: 0.7582 MB / 0.6526 GB, free: 9.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.1245, allocations: 1.729 MB / 0.6543 GB, free: 7.336 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005036/0.125, allocations: 399.6 kB / 0.6546 GB, free: 6.922 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007084/0.1257, allocations: 0.708 MB / 0.6553 GB, free: 6.211 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008245/0.1265, allocations: 0.8439 MB / 0.6562 GB, free: 5.363 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.1267, allocations: 132 kB / 0.6563 GB, free: 5.234 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004244/0.1271, allocations: 263.9 kB / 0.6565 GB, free: 4.977 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.1274, allocations: 342.6 kB / 0.6569 GB, free: 4.641 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005378/0.128, allocations: 0.7185 MB / 0.6576 GB, free: 3.918 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.1296, allocations: 1.836 MB / 0.6594 GB, free: 2.074 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1296, allocations: 4 kB / 0.6594 GB, free: 2.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1296, allocations: 0 / 0.6594 GB, free: 2.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.1296, allocations: 0 / 0.6594 GB, free: 2.07 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.009245/0.1389, allocations: 2.886 MB / 0.6622 GB, free: 15.11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1389, allocations: 8.031 kB / 0.6622 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.1391, allocations: 143.4 kB / 0.6623 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00547/0.1446, allocations: 0.8029 MB / 0.6631 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.1462, allocations: 0.9421 MB / 0.664 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/0.1466, allocations: 335.5 kB / 0.6644 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.1468, allocations: 91.94 kB / 0.6644 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/0.1495, allocations: 1.291 MB / 0.6657 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.1495, allocations: 0 / 0.6657 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.1496, allocations: 36 kB / 0.6657 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.1497, allocations: 20 kB / 0.6658 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/0.1524, allocations: 1.198 MB / 0.6669 GB, free: 10.12 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.006962/0.1593, allocations: 4.192 MB / 0.671 GB, free: 5.766 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003302/0.1626, allocations: 1.777 MB / 0.6728 GB, free: 3.863 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.1644, allocations: 0.8523 MB / 0.6736 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.203e-05/0.1645, allocations: 16.98 kB / 0.6736 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002009/0.1666, allocations: 0.9604 MB / 0.6745 GB, free: 2.012 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 3.336e-06/0.1666, allocations: 4 kB / 0.6745 GB, free: 2.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.03351/0.2001, allocations: 7.757 MB / 0.6821 GB, free: 10.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.2002, allocations: 115.8 kB / 0.6822 GB, free: 10.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.2018, allocations: 1.045 MB / 0.6833 GB, free: 8.988 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.202, allocations: 45.64 kB / 0.6833 GB, free: 8.938 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.2024, allocations: 0.5331 MB / 0.6838 GB, free: 8.398 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/0.2029, allocations: 408.6 kB / 0.6842 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005369/0.2034, allocations: 247.5 kB / 0.6844 GB, free: 7.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2036, allocations: 353.9 kB / 0.6848 GB, free: 7.398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/0.2054, allocations: 0.7847 MB / 0.6855 GB, free: 6.613 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.2074, allocations: 0.9483 MB / 0.6865 GB, free: 5.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02239/0.2298, allocations: 5.492 MB / 0.6918 GB, free: 44 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.2298, allocations: 0 / 0.6918 GB, free: 44 kB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01478/0.2446, allocations: 4.456 MB / 0.6962 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/0.2447, allocations: 59.41 kB / 0.6962 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2447, allocations: 4 kB / 0.6962 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006583/0.2513, allocations: 1.741 MB / 0.6979 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.2528, allocations: 279.6 kB / 0.6982 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/0.2751, allocations: 9.045 MB / 0.707 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.2771, allocations: 211.1 kB / 0.7072 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/0.2774, allocations: 43.98 kB / 0.7073 GB, free: 20 kB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real generator.e1q:VARIABLE(start = generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0008447/0.2783, allocations: 314.3 kB / 0.7076 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003882/0.2787, allocations: 147 kB / 0.7077 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/0.2945, allocations: 4.393 MB / 0.712 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.2946, allocations: 12 kB / 0.712 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2946, allocations: 0 / 0.712 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.2946, allocations: 11.92 kB / 0.712 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01858/0.3132, allocations: 6.271 MB / 0.7182 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.3132, allocations: 0 / 0.7182 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008361/0.3141, allocations: 131.9 kB / 0.7183 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006892/0.321, allocations: 1.899 MB / 0.7201 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/0.3212, allocations: 20 kB / 0.7202 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02547/0.3467, allocations: 10.73 MB / 0.7306 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3467, allocations: 0 / 0.7306 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/0.3653, allocations: 5.441 MB / 0.736 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/0.3658, allocations: 231.9 kB / 0.7362 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003839/0.3662, allocations: 24 kB / 0.7362 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.3678, allocations: 135.8 kB / 0.7363 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007728/0.3686, allocations: 236.6 kB / 0.7366 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/0.3687, allocations: 35.98 kB / 0.7366 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001181/0.3699, allocations: 0.7006 MB / 0.7373 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3699, allocations: 0 / 0.7373 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001602/0.3715, allocations: 491.6 kB / 0.7377 GB, free: 304 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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 {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01838/0.3899, allocations: 6.008 MB / 0.7436 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007932/0.3979, allocations: 2.745 MB / 0.7463 GB, free: 7.469 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3979, allocations: 0 / 0.7463 GB, free: 7.469 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005722/0.4036, allocations: 1.884 MB / 0.7481 GB, free: 5.539 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.405, allocations: 132.7 kB / 0.7483 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04483/0.4498, allocations: 16.92 MB / 0.7648 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008605/0.4507, allocations: 1.159 MB / 0.7659 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006065/0.4513, allocations: 112.3 kB / 0.766 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007774/0.4521, allocations: 0.4954 MB / 0.7665 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.4521, allocations: 0 / 0.7665 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3211/0.7733, allocations: 38.77 MB / 0.8044 GB, free: 99.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.33, allocations: 4.828 kB / 0.8044 GB, free: 99.01 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)