Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",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.08163/0.08163, allocations: 12.59 MB / 28.23 MB, free: 0.7227 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.001199/0.001199, allocations: 111.4 kB / 31.84 MB, free: 3.863 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.291/1.291, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001421/0.001421, allocations: 192.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4288/0.4288, allocations: 78.52 MB / 419.3 MB, free: 11.25 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.003605/0.003606, allocations: 140.7 kB / 0.5554 GB, free: 29 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.1019, allocations: 68.14 MB / 0.6219 GB, free: 12 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.009332/0.1113, allocations: 8.659 MB / 0.6304 GB, free: 7.305 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004892/0.1162, allocations: 2.669 MB / 0.633 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009177/0.1172, allocations: 16 kB / 0.633 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007367/0.1179, allocations: 317.2 kB / 0.6333 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002962/0.1209, allocations: 1.2 MB / 0.6345 GB, free: 3.098 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.1225, allocations: 0.7561 MB / 0.6352 GB, free: 2.348 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002746/0.1252, allocations: 2.384 MB / 0.6376 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006528/0.1259, allocations: 489.9 kB / 0.638 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.1269, allocations: 0.9065 MB / 0.6389 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.1282, allocations: 1.155 MB / 0.64 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002924/0.1285, allocations: 192 kB / 0.6402 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008276/0.1294, allocations: 463.7 kB / 0.6407 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004237/0.1298, allocations: 490.1 kB / 0.6411 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008798/0.1307, allocations: 0.9517 MB / 0.6421 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002795/0.1335, allocations: 2.474 MB / 0.6445 GB, free: 8.812 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1335, allocations: 4 kB / 0.6445 GB, free: 8.809 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1335, allocations: 0 / 0.6445 GB, free: 8.809 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.1335, allocations: 0 / 0.6445 GB, free: 8.809 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.0137/0.1473, allocations: 3.994 MB / 0.6484 GB, free: 4.754 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1473, allocations: 11.98 kB / 0.6484 GB, free: 4.742 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002194/0.1475, allocations: 160.4 kB / 0.6485 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004501/0.152, allocations: 0.7715 MB / 0.6493 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.1541, allocations: 1.142 MB / 0.6504 GB, free: 2.613 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004837/0.1546, allocations: 454.4 kB / 0.6509 GB, free: 2.094 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.1548, allocations: 123.9 kB / 0.651 GB, free: 1.973 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.1578, allocations: 1.472 MB / 0.6524 GB, free: 464 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.1578, allocations: 0 / 0.6524 GB, free: 464 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.1579, allocations: 40 kB / 0.6524 GB, free: 424 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.1579, allocations: 31.94 kB / 0.6525 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/0.1609, allocations: 1.355 MB / 0.6538 GB, free: 15.02 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.009204/0.1701, allocations: 5.218 MB / 0.6589 GB, free: 9.578 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008579/0.1787, allocations: 2.938 MB / 0.6618 GB, free: 6.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00216/0.1809, allocations: 0.9361 MB / 0.6627 GB, free: 5.559 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006421/0.1816, allocations: 0.7258 MB / 0.6634 GB, free: 4.664 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002215/0.1838, allocations: 1.083 MB / 0.6644 GB, free: 3.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=131): time 2.665e-06/0.1838, allocations: 0 / 0.6644 GB, free: 3.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=131): time 0.04063/0.2245, allocations: 9.868 MB / 0.6741 GB, free: 9.633 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.2246, allocations: 124.1 kB / 0.6742 GB, free: 9.488 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.2267, allocations: 1.43 MB / 0.6756 GB, free: 8.047 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002628/0.2269, allocations: 57.7 kB / 0.6756 GB, free: 7.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005217/0.2275, allocations: 0.6247 MB / 0.6763 GB, free: 7.355 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005163/0.228, allocations: 0.4996 MB / 0.6767 GB, free: 6.852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006667/0.2286, allocations: 371.4 kB / 0.6771 GB, free: 6.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2288, allocations: 301.1 kB / 0.6774 GB, free: 6.184 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.231, allocations: 1.007 MB / 0.6784 GB, free: 5.172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.2334, allocations: 1.227 MB / 0.6796 GB, free: 3.883 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004458/0.2379, allocations: 2.157 MB / 0.6817 GB, free: 1.668 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.2379, allocations: 4 kB / 0.6817 GB, free: 1.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01763/0.2556, allocations: 5.513 MB / 0.6871 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.2556, allocations: 4 kB / 0.6871 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.2556, allocations: 12.06 kB / 0.6871 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009528/0.2652, allocations: 2.675 MB / 0.6897 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.2668, allocations: 339.5 kB / 0.69 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00664/0.2735, allocations: 2.699 MB / 0.6927 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.2758, allocations: 250.7 kB / 0.6929 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.2759, allocations: 75.97 kB / 0.693 GB, free: 6.055 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006206/0.2766, allocations: 309.4 kB / 0.6933 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/0.2769, allocations: 174.9 kB / 0.6934 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/0.2936, allocations: 4.946 MB / 0.6983 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.2936, allocations: 16 kB / 0.6983 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.2937, allocations: 0 / 0.6983 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/0.2937, allocations: 7.969 kB / 0.6983 GB, free: 0.5742 MB / 0.4981 GB 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 postOpt removeSimpleEquations (simulation): time 0.0197/0.3134, allocations: 7.088 MB / 0.7052 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.3134, allocations: 0 / 0.7052 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008833/0.3143, allocations: 147.8 kB / 0.7053 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007967/0.3223, allocations: 2.201 MB / 0.7075 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002753/0.3226, allocations: 27.98 kB / 0.7075 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.248/0.5706, allocations: 11.8 MB / 0.719 GB, free: 81.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5706, allocations: 1.875 kB / 0.719 GB, free: 81.42 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01918/0.5898, allocations: 6.093 MB / 0.725 GB, free: 80.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/0.5904, allocations: 286.8 kB / 0.7253 GB, free: 80.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.5906, allocations: 27.55 kB / 0.7253 GB, free: 80.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.592, allocations: 128.8 kB / 0.7254 GB, free: 80.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008007/0.5928, allocations: 270.8 kB / 0.7257 GB, free: 80.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.593, allocations: 38.84 kB / 0.7257 GB, free: 80.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001226/0.5942, allocations: 0.9467 MB / 0.7266 GB, free: 79.65 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5942, allocations: 0 / 0.7266 GB, free: 79.65 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001404/0.5956, allocations: 0.5669 MB / 0.7272 GB, free: 79.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.TransducerDelay.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01841/0.614, allocations: 6.725 MB / 0.7338 GB, free: 77.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008074/0.6221, allocations: 2.95 MB / 0.7366 GB, free: 76.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6222, allocations: 3.781 kB / 0.7366 GB, free: 76.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005708/0.6279, allocations: 2.078 MB / 0.7387 GB, free: 75.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.6291, allocations: 139.7 kB / 0.7388 GB, free: 75.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0355/0.6646, allocations: 19.37 MB / 0.7577 GB, free: 60.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.665, allocations: 1.247 MB / 0.7589 GB, free: 59.03 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004588/0.6655, allocations: 146.5 kB / 0.7591 GB, free: 58.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006188/0.6661, allocations: 0.6438 MB / 0.7597 GB, free: 58.23 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.6661, allocations: 0 / 0.7597 GB, free: 58.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0673/0.7334, allocations: 45.65 MB / 0.8043 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.37, allocations: 9 kB / 0.8043 GB, free: 12.66 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)