Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0794/0.0794, allocations: 12.59 MB / 28.22 MB, free: 0.7305 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 107.4 kB / 31.83 MB, free: 3.875 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 196.4 kB / 290.7 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4144/0.4144, allocations: 78.51 MB / 419.3 MB, free: 10.75 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 151.8 kB / 0.5554 GB, free: 17.79 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1199, allocations: 68.12 MB / 0.6219 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007356/0.1273, allocations: 6.671 MB / 0.6284 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.1313, allocations: 1.986 MB / 0.6304 GB, free: 4.941 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007874/0.1322, allocations: 15.94 kB / 0.6304 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007977/0.133, allocations: 249.9 kB / 0.6306 GB, free: 4.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.1353, allocations: 0.8178 MB / 0.6314 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.1367, allocations: 0.671 MB / 0.6321 GB, free: 3.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.1384, allocations: 1.639 MB / 0.6337 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.1388, allocations: 336.7 kB / 0.634 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007165/0.1395, allocations: 0.6769 MB / 0.6346 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000801/0.1403, allocations: 0.8128 MB / 0.6354 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.1405, allocations: 124 kB / 0.6356 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.141, allocations: 263.9 kB / 0.6358 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.1412, allocations: 330.6 kB / 0.6361 GB, free: 15.01 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005385/0.1418, allocations: 0.6718 MB / 0.6368 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.1433, allocations: 1.691 MB / 0.6384 GB, free: 12.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1433, allocations: 0 / 0.6384 GB, free: 12.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1433, allocations: 0 / 0.6384 GB, free: 12.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.1433, allocations: 0 / 0.6384 GB, free: 12.64 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.008205/0.1515, allocations: 2.777 MB / 0.6411 GB, free: 9.793 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1516, allocations: 19.92 kB / 0.6412 GB, free: 9.773 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.1517, allocations: 126.9 kB / 0.6413 GB, free: 9.641 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/0.1565, allocations: 0.7788 MB / 0.642 GB, free: 8.859 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.158, allocations: 0.8976 MB / 0.6429 GB, free: 7.906 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/0.1583, allocations: 256.2 kB / 0.6432 GB, free: 7.621 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.1585, allocations: 84 kB / 0.6432 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/0.1607, allocations: 1.18 MB / 0.6444 GB, free: 6.344 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.1607, allocations: 0 / 0.6444 GB, free: 6.344 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-05/0.1608, allocations: 32 kB / 0.6444 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.1608, allocations: 20 kB / 0.6444 GB, free: 6.293 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.1631, allocations: 1.074 MB / 0.6455 GB, free: 5.223 MB / 462.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.005909/0.169, allocations: 3.657 MB / 0.6491 GB, free: 1.434 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/0.1714, allocations: 1.556 MB / 0.6506 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.1729, allocations: 0.7853 MB / 0.6514 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.173, allocations: 20.94 kB / 0.6514 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001673/0.1747, allocations: 0.8948 MB / 0.6522 GB, free: 14.03 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 2.254e-06/0.1747, allocations: 0 / 0.6522 GB, free: 14.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02499/0.1997, allocations: 6.957 MB / 0.659 GB, free: 7.008 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.1998, allocations: 115.8 kB / 0.6591 GB, free: 6.871 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.2012, allocations: 1.031 MB / 0.6602 GB, free: 5.824 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.2013, allocations: 41.7 kB / 0.6602 GB, free: 5.777 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.2017, allocations: 0.5008 MB / 0.6607 GB, free: 5.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003563/0.2021, allocations: 378.7 kB / 0.661 GB, free: 4.895 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/0.2025, allocations: 243.5 kB / 0.6613 GB, free: 4.652 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2027, allocations: 357.9 kB / 0.6616 GB, free: 4.297 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.2042, allocations: 0.7652 MB / 0.6624 GB, free: 3.531 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.2059, allocations: 0.9076 MB / 0.6633 GB, free: 2.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02003/0.2259, allocations: 5.425 MB / 0.6685 GB, free: 13.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.2259, allocations: 0 / 0.6685 GB, free: 13.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01315/0.2391, allocations: 4.51 MB / 0.673 GB, free: 8.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.2392, allocations: 59.41 kB / 0.673 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.2392, allocations: 3.938 kB / 0.673 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006415/0.2456, allocations: 1.858 MB / 0.6748 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.2468, allocations: 247.6 kB / 0.6751 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2781/0.525, allocations: 9.445 MB / 0.6843 GB, free: 50.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.5267, allocations: 194.5 kB / 0.6845 GB, free: 50.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.5268, allocations: 54.33 kB / 0.6845 GB, free: 50.23 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004583/0.5273, allocations: 292.8 kB / 0.6848 GB, free: 50.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.5275, allocations: 124.1 kB / 0.6849 GB, free: 50.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/0.5406, allocations: 4.193 MB / 0.689 GB, free: 49.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.5406, allocations: 14.98 kB / 0.689 GB, free: 49.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5406, allocations: 0.5 kB / 0.689 GB, free: 49.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.5406, allocations: 5.891 kB / 0.689 GB, free: 49.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.555, allocations: 5.961 MB / 0.6949 GB, free: 47.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.555, allocations: 5 kB / 0.6949 GB, free: 47.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005903/0.5556, allocations: 100.7 kB / 0.695 GB, free: 47.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005279/0.5609, allocations: 1.833 MB / 0.6968 GB, free: 47.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-05/0.561, allocations: 24.97 kB / 0.6968 GB, free: 47.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01786/0.5789, allocations: 10.31 MB / 0.7068 GB, free: 41.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5789, allocations: 0 / 0.7068 GB, free: 41.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/0.5917, allocations: 5.131 MB / 0.7119 GB, free: 39.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.5921, allocations: 222.6 kB / 0.7121 GB, free: 39.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.5922, allocations: 23.88 kB / 0.7121 GB, free: 39.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.5933, allocations: 113.6 kB / 0.7122 GB, free: 39.58 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005628/0.5939, allocations: 218 kB / 0.7124 GB, free: 39.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/0.594, allocations: 27.41 kB / 0.7124 GB, free: 39.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008419/0.5948, allocations: 0.7029 MB / 0.7131 GB, free: 39.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.293e-06/0.5948, allocations: 0 / 0.7131 GB, free: 39.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001141/0.596, allocations: 480.3 kB / 0.7136 GB, free: 38.99 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * 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 (64): * Single equations (assignments): 61 * 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,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01262/0.6086, allocations: 5.726 MB / 0.7192 GB, free: 35.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005591/0.6142, allocations: 2.687 MB / 0.7218 GB, free: 32.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6142, allocations: 4 kB / 0.7218 GB, free: 32.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003894/0.6181, allocations: 1.795 MB / 0.7235 GB, free: 30.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00073/0.6189, allocations: 113.4 kB / 0.7237 GB, free: 30.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/0.6506, allocations: 16.57 MB / 0.7398 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.651, allocations: 1.124 MB / 0.7409 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003363/0.6513, allocations: 111.9 kB / 0.741 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/0.6518, allocations: 479.3 kB / 0.7415 GB, free: 12.31 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6518, allocations: 0 / 0.7415 GB, free: 12.31 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0598/0.7116, allocations: 37.27 MB / 0.7779 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.58, allocations: 6.797 kB / 0.7779 GB, free: 7.117 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)