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.004731/0.004731, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.232/1.232, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001347/0.001347, 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.4777/0.4777, allocations: 91.9 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002526/0.002526, allocations: 84.44 kB / 0.5723 GB, free: 33.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1352, allocations: 71.27 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.01025/0.1455, allocations: 7.009 MB / 0.6487 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005988/0.1515, allocations: 2.117 MB / 0.6508 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.1526, allocations: 15.94 kB / 0.6508 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007674/0.1534, allocations: 253.8 kB / 0.651 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.1553, allocations: 0.8396 MB / 0.6518 GB, free: 9.824 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.1567, allocations: 0.7462 MB / 0.6526 GB, free: 9.086 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.1583, allocations: 1.74 MB / 0.6543 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004929/0.1588, allocations: 399.6 kB / 0.6547 GB, free: 6.926 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007291/0.1596, allocations: 0.7041 MB / 0.6553 GB, free: 6.219 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008052/0.1604, allocations: 0.8439 MB / 0.6562 GB, free: 5.371 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.1606, allocations: 132 kB / 0.6563 GB, free: 5.242 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004196/0.161, allocations: 275.8 kB / 0.6566 GB, free: 4.973 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.1613, allocations: 338.6 kB / 0.6569 GB, free: 4.641 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005609/0.1618, allocations: 0.7184 MB / 0.6576 GB, free: 3.918 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.1635, allocations: 1.819 MB / 0.6594 GB, free: 2.094 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1635, allocations: 4 kB / 0.6594 GB, free: 2.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1635, allocations: 0 / 0.6594 GB, free: 2.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.056e-05/0.1635, allocations: 0 / 0.6594 GB, free: 2.09 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.008095/0.1716, allocations: 2.84 MB / 0.6621 GB, free: 15.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.1717, allocations: 8.031 kB / 0.6621 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.1719, allocations: 143.4 kB / 0.6623 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004639/0.1765, allocations: 0.7982 MB / 0.6631 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.178, allocations: 0.9294 MB / 0.664 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003276/0.1783, allocations: 327.6 kB / 0.6643 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.1785, allocations: 91.94 kB / 0.6644 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/0.1809, allocations: 1.295 MB / 0.6656 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.1809, allocations: 0 / 0.6656 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/0.181, allocations: 36 kB / 0.6657 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.181, allocations: 20 kB / 0.6657 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/0.1836, allocations: 1.198 MB / 0.6669 GB, free: 10.21 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.006687/0.1903, allocations: 4.191 MB / 0.671 GB, free: 5.852 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.1934, allocations: 1.766 MB / 0.6727 GB, free: 3.961 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.195, allocations: 0.8601 MB / 0.6735 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.1952, allocations: 16.92 kB / 0.6735 GB, free: 3.078 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001846/0.197, allocations: 0.9583 MB / 0.6745 GB, free: 2.102 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 3.165e-06/0.197, allocations: 4 kB / 0.6745 GB, free: 2.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.02967/0.2267, allocations: 7.757 MB / 0.682 GB, free: 10.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.134e-05/0.2268, allocations: 119.8 kB / 0.6822 GB, free: 10.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.2286, allocations: 1.037 MB / 0.6832 GB, free: 9.082 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002438/0.2289, allocations: 45.7 kB / 0.6832 GB, free: 9.031 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004453/0.2293, allocations: 0.5323 MB / 0.6837 GB, free: 8.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005348/0.2299, allocations: 382.5 kB / 0.6841 GB, free: 8.113 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004936/0.2304, allocations: 243.5 kB / 0.6843 GB, free: 7.871 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2305, allocations: 357.9 kB / 0.6847 GB, free: 7.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.2321, allocations: 0.7886 MB / 0.6854 GB, free: 6.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.2338, allocations: 0.9444 MB / 0.6864 GB, free: 5.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02027/0.2541, allocations: 5.492 MB / 0.6917 GB, free: 164 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.2541, allocations: 4 kB / 0.6917 GB, free: 160 kB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01266/0.2668, allocations: 4.448 MB / 0.6961 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.193e-05/0.2669, allocations: 63.39 kB / 0.6961 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.2669, allocations: 8.312 kB / 0.6961 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00541/0.2723, allocations: 1.733 MB / 0.6978 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.2737, allocations: 279.6 kB / 0.6981 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/0.2932, allocations: 9.028 MB / 0.7069 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.295, allocations: 214.8 kB / 0.7071 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/0.2953, allocations: 47.98 kB / 0.7072 GB, free: 152 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.0007823/0.2961, allocations: 303.7 kB / 0.7075 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.2964, allocations: 138.2 kB / 0.7076 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/0.31, allocations: 4.401 MB / 0.7119 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.3101, allocations: 12 kB / 0.7119 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3101, allocations: 0 / 0.7119 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.3101, allocations: 7.922 kB / 0.7119 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/0.326, allocations: 6.263 MB / 0.718 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.3261, allocations: 4.031 kB / 0.718 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007322/0.3268, allocations: 127.8 kB / 0.7182 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006002/0.3328, allocations: 1.903 MB / 0.72 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/0.333, allocations: 27.98 kB / 0.72 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02195/0.355, allocations: 10.71 MB / 0.7305 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.355, allocations: 0 / 0.7305 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/0.3706, allocations: 5.433 MB / 0.7358 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004318/0.3711, allocations: 223.2 kB / 0.736 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/0.3714, allocations: 28 kB / 0.736 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.3727, allocations: 135.8 kB / 0.7362 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007195/0.3735, allocations: 236.6 kB / 0.7364 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.3736, allocations: 31.98 kB / 0.7364 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001104/0.3747, allocations: 0.7006 MB / 0.7371 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3747, allocations: 0 / 0.7371 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001503/0.3762, allocations: 487.4 kB / 0.7376 GB, free: 484 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.01574/0.392, allocations: 6.007 MB / 0.7434 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006744/0.3987, allocations: 2.73 MB / 0.7461 GB, free: 7.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3988, allocations: 384 / 0.7461 GB, free: 7.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004801/0.4036, allocations: 1.888 MB / 0.7479 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.4047, allocations: 132.9 kB / 0.7481 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03873/0.4435, allocations: 16.86 MB / 0.7645 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007886/0.4443, allocations: 1.155 MB / 0.7657 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005482/0.4449, allocations: 116.3 kB / 0.7658 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007136/0.4456, allocations: 499.3 kB / 0.7663 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.4456, allocations: 0 / 0.7663 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3193/0.765, allocations: 38.76 MB / 0.8041 GB, free: 98.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.47, allocations: 11.77 kB / 0.8041 GB, free: 98.83 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)