Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_release_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_release_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/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.5 MB / 229.6 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009235/0.0009235, allocations: 93 kB / 280.4 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5083/0.5083, allocations: 78.12 MB / 409.4 MB, free: 6.504 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.99e-05, allocations: 3.938 kB / 485.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1632, allocations: 69.36 MB / 0.5414 GB, free: 6.863 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4568/0.62, allocations: 102 MB / 0.641 GB, free: 13.64 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003669/0.6205, allocations: 95.45 kB / 0.6411 GB, free: 13.55 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1004/0.7209, allocations: 36.04 MB / 0.6763 GB, free: 9.539 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.721, allocations: 0.75 kB / 0.6763 GB, free: 9.539 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001/0.7211, allocations: 31.94 kB / 0.6763 GB, free: 9.508 MB / 490.7 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.006208/0.7273, allocations: 1.95 MB / 0.6782 GB, free: 7.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.7274, allocations: 8.031 kB / 0.6782 GB, free: 7.492 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00356/0.7309, allocations: 0.5813 MB / 0.6788 GB, free: 6.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.733, allocations: 0.8778 MB / 0.6796 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/0.7334, allocations: 299.6 kB / 0.6799 GB, free: 5.637 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.7336, allocations: 55.91 kB / 0.68 GB, free: 5.582 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001778/0.7354, allocations: 0.9304 MB / 0.6809 GB, free: 4.652 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.7371, allocations: 0.9712 MB / 0.6818 GB, free: 3.664 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.7371, allocations: 0 / 0.6818 GB, free: 3.664 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.7372, allocations: 0 / 0.6818 GB, free: 3.664 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.7372, allocations: 20 kB / 0.6819 GB, free: 3.645 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007542/0.7448, allocations: 4.079 MB / 0.6858 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/0.7472, allocations: 1.518 MB / 0.6873 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009367/0.7482, allocations: 0.6465 MB / 0.688 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.7483, allocations: 13.27 kB / 0.688 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.7495, allocations: 0.7503 MB / 0.6887 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=108): time 3.607e-06/0.7495, allocations: 1.406 kB / 0.6887 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108): time 0.01391/0.7634, allocations: 4.357 MB / 0.693 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/0.7635, allocations: 112.1 kB / 0.6931 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.765, allocations: 0.7845 MB / 0.6938 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003405/0.7653, allocations: 29.7 kB / 0.6939 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/0.7658, allocations: 0.5288 MB / 0.6944 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004831/0.7663, allocations: 374.4 kB / 0.6947 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.7663, allocations: 0 / 0.6947 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.7665, allocations: 350 kB / 0.6951 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009106/0.7674, allocations: 0.4908 MB / 0.6955 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008625/0.7683, allocations: 0.623 MB / 0.6962 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008606/0.7692, allocations: 0.5399 MB / 0.6967 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.7692, allocations: 0 / 0.6967 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01386/0.783, allocations: 4.422 MB / 0.701 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.147e-05/0.7832, allocations: 59.39 kB / 0.7011 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.7832, allocations: 5.219 kB / 0.7011 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00644/0.7896, allocations: 1.796 MB / 0.7028 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.7911, allocations: 211.7 kB / 0.703 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/0.8082, allocations: 7.89 MB / 0.7107 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.8102, allocations: 215 kB / 0.7109 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.8104, allocations: 47.94 kB / 0.711 GB, free: 5.258 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" ) "d-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 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003729/0.8108, allocations: 144 kB / 0.7111 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01362/0.8244, allocations: 4.362 MB / 0.7154 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007153/0.8252, allocations: 130.3 kB / 0.7155 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/0.8389, allocations: 4.487 MB / 0.7199 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/0.839, allocations: 8.844 kB / 0.7199 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.839, allocations: 4 kB / 0.7199 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.541e-05/0.839, allocations: 3.984 kB / 0.7199 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.8554, allocations: 6.222 MB / 0.726 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/0.8555, allocations: 0 / 0.726 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009435/0.8564, allocations: 131.9 kB / 0.7261 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005914/0.8624, allocations: 1.826 MB / 0.7279 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002732/0.8627, allocations: 11.98 kB / 0.7279 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01698/0.8797, allocations: 8.411 MB / 0.7361 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.8797, allocations: 1.031 kB / 0.7361 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/0.8952, allocations: 5.351 MB / 0.7413 GB, free: 5.734 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006673/0.896, allocations: 227.8 kB / 0.7415 GB, free: 5.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.8962, allocations: 0 / 0.7415 GB, free: 5.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/0.8977, allocations: 171.8 kB / 0.7417 GB, free: 5.324 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007943/0.8985, allocations: 236.9 kB / 0.7419 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.763e-05/0.8986, allocations: 24 kB / 0.742 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001004/0.8996, allocations: 0.6026 MB / 0.7425 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8996, allocations: 0 / 0.7425 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001973/0.9016, allocations: 441.4 kB / 0.743 GB, free: 4.027 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01548/0.9171, allocations: 5.986 MB / 0.7488 GB, free: 14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005729/0.9229, allocations: 2.248 MB / 0.751 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.9229, allocations: 0 / 0.751 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004848/0.9278, allocations: 1.728 MB / 0.7527 GB, free: 9.957 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.9291, allocations: 88.22 kB / 0.7528 GB, free: 9.875 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/0.9346, allocations: 2.051 MB / 0.7548 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/0.9354, allocations: 1.182 MB / 0.7559 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004746/0.9359, allocations: 86.98 kB / 0.756 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006411/0.9366, allocations: 0.4914 MB / 0.7565 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of SimCode: time 8.31e-07/0.9366, allocations: 0 / 0.7565 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3819/1.318, allocations: 31.91 MB / 0.7877 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/1.319, allocations: 147 kB / 0.7878 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/4.324, allocations: 0 / 0.7878 GB, free: 143.3 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)