Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.007452/0.007453, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.329/1.329, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.00126/0.00126, allocations: 184.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4443/0.4443, allocations: 78.53 MB / 418.4 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 79.88 kB / 0.5532 GB, free: 1.426 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2811, allocations: 68.17 MB / 0.6197 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.005297/0.2864, allocations: 6.984 MB / 0.6265 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003362/0.2898, allocations: 2.115 MB / 0.6286 GB, free: 1.004 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006462/0.2905, allocations: 15.94 kB / 0.6286 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.2911, allocations: 265.8 kB / 0.6289 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.2928, allocations: 0.7768 MB / 0.6296 GB, free: 15.95 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.2943, allocations: 0.7453 MB / 0.6304 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001862/0.2962, allocations: 1.729 MB / 0.6321 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00054/0.2968, allocations: 403.5 kB / 0.6324 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009405/0.2977, allocations: 0.7042 MB / 0.6331 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009251/0.2987, allocations: 0.8477 MB / 0.634 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.2989, allocations: 132 kB / 0.6341 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005027/0.2994, allocations: 275.8 kB / 0.6343 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.2997, allocations: 346.5 kB / 0.6347 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006105/0.3003, allocations: 0.7108 MB / 0.6354 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.3021, allocations: 1.826 MB / 0.6371 GB, free: 8.207 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3021, allocations: 0 / 0.6371 GB, free: 8.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3021, allocations: 0 / 0.6371 GB, free: 8.207 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.3021, allocations: 0 / 0.6371 GB, free: 8.207 MB / 446.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.008763/0.3109, allocations: 2.84 MB / 0.6399 GB, free: 5.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3109, allocations: 16.02 kB / 0.6399 GB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.3111, allocations: 139.4 kB / 0.6401 GB, free: 5.141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004914/0.316, allocations: 0.802 MB / 0.6409 GB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.3177, allocations: 0.9294 MB / 0.6418 GB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/0.3181, allocations: 331.6 kB / 0.6421 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.3182, allocations: 95.94 kB / 0.6422 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/0.321, allocations: 1.291 MB / 0.6434 GB, free: 1.574 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.321, allocations: 0 / 0.6434 GB, free: 1.574 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3211, allocations: 36 kB / 0.6435 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.3211, allocations: 20 kB / 0.6435 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.3238, allocations: 1.198 MB / 0.6447 GB, free: 328 kB / 446.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.006737/0.3306, allocations: 4.148 MB / 0.6487 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003384/0.334, allocations: 1.771 MB / 0.6504 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.3358, allocations: 0.8562 MB / 0.6513 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.336, allocations: 20.98 kB / 0.6513 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002004/0.338, allocations: 0.9606 MB / 0.6522 GB, free: 8.254 MB / 462.1 MB Notification: Performance of pre-optimization done (n=108): time 3.186e-06/0.338, allocations: 0 / 0.6522 GB, free: 8.254 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.03412/0.3721, allocations: 7.901 MB / 0.6599 GB, free: 292 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.3722, allocations: 119.8 kB / 0.6601 GB, free: 148 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.3739, allocations: 1.041 MB / 0.6611 GB, free: 15.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002276/0.3741, allocations: 49.73 kB / 0.6611 GB, free: 15.04 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.3745, allocations: 0.5207 MB / 0.6616 GB, free: 14.51 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005661/0.3751, allocations: 390.4 kB / 0.662 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005697/0.3757, allocations: 243.5 kB / 0.6622 GB, free: 13.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3758, allocations: 357.9 kB / 0.6626 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.3777, allocations: 0.7847 MB / 0.6633 GB, free: 12.74 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.3796, allocations: 0.9405 MB / 0.6643 GB, free: 11.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02239/0.402, allocations: 5.496 MB / 0.6696 GB, free: 6.176 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.4021, allocations: 4 kB / 0.6696 GB, free: 6.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01472/0.4168, allocations: 4.452 MB / 0.674 GB, free: 1.691 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.975e-05/0.4169, allocations: 65.58 kB / 0.674 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.4169, allocations: 4 kB / 0.674 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006264/0.4232, allocations: 1.734 MB / 0.6757 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.4247, allocations: 279.5 kB / 0.676 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02194/0.4466, allocations: 9.037 MB / 0.6848 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.4485, allocations: 206.8 kB / 0.685 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/0.4487, allocations: 51.92 kB / 0.6851 GB, free: 6.156 MB / 494.1 MB 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.0006941/0.4494, allocations: 305.4 kB / 0.6854 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/0.4497, allocations: 130.3 kB / 0.6855 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/0.4651, allocations: 4.401 MB / 0.6898 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.4652, allocations: 15.94 kB / 0.6898 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4652, allocations: 0 / 0.6898 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.4652, allocations: 7.922 kB / 0.6898 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/0.4833, allocations: 6.267 MB / 0.6959 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.4834, allocations: 0 / 0.6959 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.4842, allocations: 123.9 kB / 0.6961 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007136/0.4913, allocations: 1.911 MB / 0.6979 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/0.4916, allocations: 19.94 kB / 0.6979 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02515/0.5168, allocations: 10.72 MB / 0.7084 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5168, allocations: 0 / 0.7084 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01806/0.5349, allocations: 5.425 MB / 0.7137 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/0.5354, allocations: 219.2 kB / 0.7139 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003544/0.5357, allocations: 20 kB / 0.7139 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/0.5373, allocations: 143.8 kB / 0.7141 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007926/0.5381, allocations: 232.6 kB / 0.7143 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.5383, allocations: 35.98 kB / 0.7143 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001195/0.5395, allocations: 0.7084 MB / 0.715 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5395, allocations: 0 / 0.715 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001592/0.5411, allocations: 479.4 kB / 0.7155 GB, free: 6.488 MB / 0.5137 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.01832/0.5594, allocations: 6.006 MB / 0.7213 GB, free: 448 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007706/0.5672, allocations: 2.73 MB / 0.724 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5672, allocations: 0 / 0.724 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005612/0.5728, allocations: 1.874 MB / 0.7258 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.574, allocations: 128.5 kB / 0.726 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04372/0.6177, allocations: 16.89 MB / 0.7424 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008497/0.6186, allocations: 1.159 MB / 0.7436 GB, free: 9.336 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005917/0.6192, allocations: 112.3 kB / 0.7437 GB, free: 9.223 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007285/0.62, allocations: 0.4915 MB / 0.7442 GB, free: 8.73 MB / 0.545 GB Notification: Performance of SimCode: time 7.32e-07/0.62, allocations: 0 / 0.7442 GB, free: 8.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3131/0.9331, allocations: 40.3 MB / 0.7835 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.4, allocations: 4.719 kB / 0.7835 GB, free: 135.1 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)