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.008223/0.008223, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.476/1.476, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001525/0.001525, allocations: 184.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.51/0.51, allocations: 91.91 MB / 431.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 82.03 kB / 0.5723 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1096, allocations: 71.3 MB / 0.6419 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.0084/0.118, allocations: 6.994 MB / 0.6487 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004158/0.1222, allocations: 2.117 MB / 0.6508 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005375/0.1228, allocations: 15.94 kB / 0.6508 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000685/0.1235, allocations: 265.8 kB / 0.651 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.1253, allocations: 0.7724 MB / 0.6518 GB, free: 9.887 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.1269, allocations: 0.7499 MB / 0.6525 GB, free: 9.145 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.1289, allocations: 1.737 MB / 0.6542 GB, free: 7.402 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005962/0.1295, allocations: 395.6 kB / 0.6546 GB, free: 6.992 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009803/0.1305, allocations: 0.7002 MB / 0.6553 GB, free: 6.289 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.1316, allocations: 0.84 MB / 0.6561 GB, free: 5.445 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.1318, allocations: 132 kB / 0.6562 GB, free: 5.316 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005124/0.1323, allocations: 275.8 kB / 0.6565 GB, free: 5.047 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.1327, allocations: 338.6 kB / 0.6568 GB, free: 4.715 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006815/0.1334, allocations: 0.7224 MB / 0.6575 GB, free: 3.988 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.1355, allocations: 1.832 MB / 0.6593 GB, free: 2.148 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1355, allocations: 0 / 0.6593 GB, free: 2.148 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1355, allocations: 0 / 0.6593 GB, free: 2.148 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.1355, allocations: 0 / 0.6593 GB, free: 2.148 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.009447/0.145, allocations: 2.886 MB / 0.6621 GB, free: 15.19 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1451, allocations: 12.03 kB / 0.6621 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002074/0.1453, allocations: 139.4 kB / 0.6623 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005186/0.1505, allocations: 0.8068 MB / 0.6631 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.1522, allocations: 0.9421 MB / 0.664 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004031/0.1526, allocations: 327.5 kB / 0.6643 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.1529, allocations: 99.92 kB / 0.6644 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.1557, allocations: 1.287 MB / 0.6657 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.1557, allocations: 0 / 0.6657 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.1559, allocations: 40 kB / 0.6657 GB, free: 11.42 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.1559, allocations: 20 kB / 0.6657 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002836/0.1587, allocations: 1.198 MB / 0.6669 GB, free: 10.2 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.007871/0.1666, allocations: 4.192 MB / 0.671 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003561/0.1702, allocations: 1.768 MB / 0.6727 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.1721, allocations: 0.8578 MB / 0.6735 GB, free: 3.082 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.1722, allocations: 16.98 kB / 0.6736 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002118/0.1743, allocations: 0.9605 MB / 0.6745 GB, free: 2.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 3.156e-06/0.1743, allocations: 0 / 0.6745 GB, free: 2.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.0335/0.2078, allocations: 7.765 MB / 0.6821 GB, free: 10.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.2079, allocations: 115.8 kB / 0.6822 GB, free: 10.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.2097, allocations: 1.041 MB / 0.6832 GB, free: 9.066 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.21, allocations: 49.64 kB / 0.6832 GB, free: 9.012 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/0.2105, allocations: 0.533 MB / 0.6838 GB, free: 8.473 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005321/0.211, allocations: 404.6 kB / 0.6842 GB, free: 8.074 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005314/0.2116, allocations: 247.5 kB / 0.6844 GB, free: 7.828 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.2118, allocations: 353.9 kB / 0.6847 GB, free: 7.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.2137, allocations: 0.7886 MB / 0.6855 GB, free: 6.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.2157, allocations: 0.9483 MB / 0.6864 GB, free: 5.703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02354/0.2392, allocations: 5.485 MB / 0.6918 GB, free: 128 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.2393, allocations: 0 / 0.6918 GB, free: 128 kB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01472/0.254, allocations: 4.464 MB / 0.6961 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.667e-05/0.2541, allocations: 59.41 kB / 0.6962 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.2541, allocations: 4 kB / 0.6962 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00627/0.2604, allocations: 1.741 MB / 0.6979 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.262, allocations: 271.7 kB / 0.6982 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/0.2842, allocations: 9.051 MB / 0.707 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.286, allocations: 211.1 kB / 0.7072 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.2862, allocations: 47.98 kB / 0.7072 GB, free: 92 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.0006455/0.2869, allocations: 306.7 kB / 0.7075 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.2871, allocations: 139 kB / 0.7077 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01571/0.3028, allocations: 4.405 MB / 0.712 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.3029, allocations: 12 kB / 0.712 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3029, allocations: 4 kB / 0.712 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.3029, allocations: 7.922 kB / 0.712 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/0.3213, allocations: 6.271 MB / 0.7181 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.3214, allocations: 0 / 0.7181 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008514/0.3222, allocations: 131.8 kB / 0.7182 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006821/0.3291, allocations: 1.899 MB / 0.7201 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.3293, allocations: 24 kB / 0.7201 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02491/0.3542, allocations: 10.72 MB / 0.7306 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.3542, allocations: 240 / 0.7306 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01809/0.3723, allocations: 5.445 MB / 0.7359 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004395/0.3728, allocations: 231.9 kB / 0.7361 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.373, allocations: 24 kB / 0.7362 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.3744, allocations: 135.8 kB / 0.7363 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007478/0.3752, allocations: 240.6 kB / 0.7365 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.302e-05/0.3753, allocations: 31.98 kB / 0.7365 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001145/0.3765, allocations: 0.7006 MB / 0.7372 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3765, allocations: 0 / 0.7372 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001447/0.3779, allocations: 487.6 kB / 0.7377 GB, free: 384 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.01799/0.3959, allocations: 6.012 MB / 0.7436 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007564/0.4035, allocations: 2.749 MB / 0.7463 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4036, allocations: 0 / 0.7463 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005439/0.409, allocations: 1.883 MB / 0.7481 GB, free: 5.609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.4101, allocations: 129.3 kB / 0.7482 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04378/0.4538, allocations: 16.92 MB / 0.7647 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.4549, allocations: 1.155 MB / 0.7659 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006155/0.4555, allocations: 116.3 kB / 0.766 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007723/0.4563, allocations: 0.4915 MB / 0.7665 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.4563, allocations: 4 kB / 0.7665 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3088/0.7651, allocations: 38.77 MB / 0.8043 GB, free: 99.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.41, allocations: 9.016 kB / 0.8043 GB, free: 99.07 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)