Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.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.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROU",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.004774/0.004774, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.399/1.399, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.0016/0.0016, allocations: 188.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4674/0.4674, allocations: 78.53 MB / 418.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002214, allocations: 83.88 kB / 0.5531 GB, free: 1.414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.287, allocations: 68.17 MB / 0.6197 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.005755/0.2928, allocations: 7.245 MB / 0.6268 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003722/0.2966, allocations: 2.307 MB / 0.629 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006861/0.2973, allocations: 11.94 kB / 0.6291 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.2978, allocations: 277.7 kB / 0.6293 GB, free: 280 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.3004, allocations: 1.132 MB / 0.6304 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.3017, allocations: 0.585 MB / 0.631 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002426/0.3041, allocations: 1.959 MB / 0.6329 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005013/0.3046, allocations: 328.1 kB / 0.6332 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009722/0.3056, allocations: 0.7509 MB / 0.634 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.3068, allocations: 0.9921 MB / 0.6349 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000232/0.307, allocations: 144 kB / 0.6351 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000711/0.3078, allocations: 375.7 kB / 0.6354 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003809/0.3082, allocations: 382.4 kB / 0.6358 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007127/0.3089, allocations: 0.7769 MB / 0.6365 GB, free: 8.828 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.311, allocations: 1.942 MB / 0.6384 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3111, allocations: 0 / 0.6384 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3111, allocations: 0 / 0.6384 GB, free: 6.883 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.3111, allocations: 0 / 0.6384 GB, free: 6.883 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.01277/0.3239, allocations: 3.491 MB / 0.6419 GB, free: 3.332 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3239, allocations: 12.03 kB / 0.6419 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001796/0.3241, allocations: 130.9 kB / 0.642 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004519/0.3286, allocations: 0.7327 MB / 0.6427 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.3303, allocations: 0.9667 MB / 0.6436 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004166/0.3307, allocations: 361.3 kB / 0.644 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.3309, allocations: 91.94 kB / 0.6441 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002612/0.3336, allocations: 1.231 MB / 0.6453 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.3336, allocations: 0 / 0.6453 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.3337, allocations: 36 kB / 0.6453 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.3337, allocations: 20 kB / 0.6453 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/0.3364, allocations: 1.183 MB / 0.6465 GB, free: 14.45 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.007419/0.3438, allocations: 4.175 MB / 0.6506 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008337/0.3521, allocations: 2.691 MB / 0.6532 GB, free: 7.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/0.3541, allocations: 0.8518 MB / 0.654 GB, free: 6.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.3543, allocations: 16.98 kB / 0.654 GB, free: 6.395 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.3543, allocations: 43.56 kB / 0.6541 GB, free: 6.344 MB / 462.1 MB Notification: Performance of pre-optimization done (n=111): time 2.885e-06/0.3543, allocations: 0 / 0.6541 GB, free: 6.344 MB / 462.1 MB Notification: Performance of matching and sorting (n=111): time 0.04287/0.3972, allocations: 9.84 MB / 0.6637 GB, free: 12.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.3973, allocations: 90.11 kB / 0.6638 GB, free: 12.35 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.399, allocations: 1.161 MB / 0.6649 GB, free: 11.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002693/0.3993, allocations: 45.7 kB / 0.665 GB, free: 11.13 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.3998, allocations: 0.5138 MB / 0.6655 GB, free: 10.61 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004862/0.4003, allocations: 428.3 kB / 0.6659 GB, free: 10.19 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005836/0.4008, allocations: 291.5 kB / 0.6661 GB, free: 9.898 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.401, allocations: 313.1 kB / 0.6664 GB, free: 9.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.403, allocations: 0.8784 MB / 0.6673 GB, free: 8.711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.4052, allocations: 1.069 MB / 0.6683 GB, free: 7.598 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004172/0.4094, allocations: 1.925 MB / 0.6702 GB, free: 5.629 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.4094, allocations: 3.938 kB / 0.6702 GB, free: 5.625 MB / 478.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01754/0.4269, allocations: 5.149 MB / 0.6753 GB, free: 472 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.427, allocations: 8 kB / 0.6753 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.427, allocations: 4 kB / 0.6753 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009865/0.4369, allocations: 2.644 MB / 0.6779 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.4383, allocations: 251.6 kB / 0.6781 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006853/0.4451, allocations: 2.689 MB / 0.6807 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.4473, allocations: 214.9 kB / 0.6809 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.4475, allocations: 59.97 kB / 0.681 GB, free: 10.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.000542/0.4481, allocations: 261.5 kB / 0.6812 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.4485, allocations: 139.1 kB / 0.6814 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0164/0.4649, allocations: 4.598 MB / 0.6859 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.4649, allocations: 16 kB / 0.6859 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.465, allocations: 0 / 0.6859 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-05/0.465, allocations: 7.984 kB / 0.6859 GB, free: 5.523 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.01902/0.484, allocations: 6.42 MB / 0.6921 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.4841, allocations: 0 / 0.6921 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/0.4848, allocations: 115.8 kB / 0.6923 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007913/0.4927, allocations: 2.142 MB / 0.6943 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/0.493, allocations: 20 kB / 0.6944 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02742/0.5204, allocations: 10.07 MB / 0.7042 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.5204, allocations: 3.984 kB / 0.7042 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01898/0.5394, allocations: 5.751 MB / 0.7098 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/0.54, allocations: 251.8 kB / 0.7101 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.5402, allocations: 23.94 kB / 0.7101 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.5416, allocations: 107.9 kB / 0.7102 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007706/0.5424, allocations: 237.1 kB / 0.7104 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.274e-05/0.5425, allocations: 35.98 kB / 0.7104 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001081/0.5435, allocations: 0.7765 MB / 0.7112 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5436, allocations: 0 / 0.7112 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001264/0.5448, allocations: 499.6 kB / 0.7117 GB, free: 10.76 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01898/0.5638, allocations: 6.342 MB / 0.7179 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008677/0.5725, allocations: 2.637 MB / 0.7205 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5726, allocations: 3.938 kB / 0.7205 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006304/0.5789, allocations: 1.827 MB / 0.7222 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.5801, allocations: 116.6 kB / 0.7224 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04241/0.6225, allocations: 17.16 MB / 0.7391 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007723/0.6233, allocations: 1.139 MB / 0.7402 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005105/0.6238, allocations: 116.5 kB / 0.7403 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007126/0.6246, allocations: 0.4992 MB / 0.7408 GB, free: 12.61 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.6246, allocations: 0 / 0.7408 GB, free: 12.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.309/0.9336, allocations: 38.66 MB / 0.7786 GB, free: 141 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.8, allocations: 11.47 kB / 0.7786 GB, free: 141 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENROU.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1)