Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.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.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 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.GENROE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE",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.006514/0.006514, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.349/1.349, allocations: 222.9 MB / 239.4 MB, free: 4.504 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.001461/0.001461, allocations: 191.9 kB / 289.7 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5076/0.5076, allocations: 91.9 MB / 431.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 80.25 kB / 0.5723 GB, free: 33.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1315, allocations: 71.28 MB / 0.6419 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROE): time 0.007587/0.1391, allocations: 7.222 MB / 0.6489 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004652/0.1438, allocations: 2.303 MB / 0.6512 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.1449, allocations: 12 kB / 0.6512 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008777/0.1458, allocations: 281.7 kB / 0.6514 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.1487, allocations: 0.9975 MB / 0.6524 GB, free: 9.23 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.1502, allocations: 0.6696 MB / 0.6531 GB, free: 8.566 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00246/0.1527, allocations: 1.823 MB / 0.6548 GB, free: 6.738 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005639/0.1533, allocations: 328.4 kB / 0.6552 GB, free: 6.398 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.1544, allocations: 0.7431 MB / 0.6559 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.1557, allocations: 0.9765 MB / 0.6568 GB, free: 4.672 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004317/0.1561, allocations: 151.9 kB / 0.657 GB, free: 4.523 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008541/0.157, allocations: 331.8 kB / 0.6573 GB, free: 4.199 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004387/0.1575, allocations: 378.5 kB / 0.6577 GB, free: 3.828 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000933/0.1584, allocations: 0.7691 MB / 0.6584 GB, free: 3.055 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00238/0.1608, allocations: 1.895 MB / 0.6603 GB, free: 1.152 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1608, allocations: 0 / 0.6603 GB, free: 1.152 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1608, allocations: 0 / 0.6603 GB, free: 1.152 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.859e-05/0.1609, allocations: 0 / 0.6603 GB, free: 1.152 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.01159/0.1725, allocations: 3.304 MB / 0.6635 GB, free: 13.79 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1725, allocations: 16.03 kB / 0.6635 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002671/0.1728, allocations: 134.9 kB / 0.6636 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004616/0.1774, allocations: 0.7288 MB / 0.6643 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.1795, allocations: 0.9744 MB / 0.6653 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004142/0.1799, allocations: 357.3 kB / 0.6656 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003244/0.1802, allocations: 91.94 kB / 0.6657 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/0.1829, allocations: 1.239 MB / 0.6669 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.183, allocations: 0 / 0.6669 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.1831, allocations: 32 kB / 0.667 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.1831, allocations: 20 kB / 0.667 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.1857, allocations: 1.187 MB / 0.6681 GB, free: 8.891 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.007631/0.1934, allocations: 4.171 MB / 0.6722 GB, free: 4.527 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007557/0.2009, allocations: 2.687 MB / 0.6748 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.2029, allocations: 0.8523 MB / 0.6757 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.2031, allocations: 20.97 kB / 0.6757 GB, free: 0.832 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.2031, allocations: 47.5 kB / 0.6757 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 2.786e-06/0.2031, allocations: 8 kB / 0.6757 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.03987/0.243, allocations: 9.832 MB / 0.6853 GB, free: 6.898 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.2431, allocations: 94.09 kB / 0.6854 GB, free: 6.789 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.2449, allocations: 1.157 MB / 0.6866 GB, free: 5.621 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002889/0.2452, allocations: 49.7 kB / 0.6866 GB, free: 5.566 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004209/0.2456, allocations: 0.5099 MB / 0.6871 GB, free: 5.051 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/0.2462, allocations: 432.3 kB / 0.6875 GB, free: 4.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007301/0.247, allocations: 291.5 kB / 0.6878 GB, free: 4.336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.247, allocations: 305.1 kB / 0.6881 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.249, allocations: 0.8823 MB / 0.689 GB, free: 3.152 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/0.2511, allocations: 1.065 MB / 0.69 GB, free: 2.039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003939/0.2551, allocations: 1.925 MB / 0.6919 GB, free: 76 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.2551, allocations: 0 / 0.6919 GB, free: 76 kB / 494.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01663/0.2717, allocations: 5.149 MB / 0.6969 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.2718, allocations: 4.938 kB / 0.6969 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.2718, allocations: 4.312 kB / 0.6969 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009698/0.2815, allocations: 2.667 MB / 0.6995 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.2829, allocations: 255.6 kB / 0.6998 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006698/0.2896, allocations: 2.691 MB / 0.7024 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.2918, allocations: 214.9 kB / 0.7026 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002766/0.2921, allocations: 55.98 kB / 0.7027 GB, free: 4.988 MB / 0.4981 GB 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.0007649/0.2929, allocations: 266.6 kB / 0.7029 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005054/0.2934, allocations: 139.1 kB / 0.703 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01514/0.3086, allocations: 4.602 MB / 0.7075 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/0.3086, allocations: 12 kB / 0.7075 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.3087, allocations: 3.938 kB / 0.7075 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/0.3087, allocations: 7.984 kB / 0.7076 GB, free: 15.93 MB / 0.5137 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.01779/0.3265, allocations: 6.417 MB / 0.7138 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.3265, allocations: 4 kB / 0.7138 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007064/0.3273, allocations: 115.8 kB / 0.7139 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00735/0.3346, allocations: 2.142 MB / 0.716 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002173/0.3349, allocations: 20 kB / 0.716 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02562/0.3605, allocations: 10.08 MB / 0.7259 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3606, allocations: 0 / 0.7259 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01767/0.3782, allocations: 5.751 MB / 0.7315 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005326/0.3788, allocations: 251.8 kB / 0.7317 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003742/0.3792, allocations: 20 kB / 0.7318 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.3807, allocations: 111.9 kB / 0.7319 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007749/0.3815, allocations: 237.1 kB / 0.7321 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.3816, allocations: 28 kB / 0.7321 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001213/0.3828, allocations: 0.7843 MB / 0.7329 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3828, allocations: 0 / 0.7329 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001633/0.3845, allocations: 483.7 kB / 0.7334 GB, free: 5.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.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.0173/0.4018, allocations: 6.339 MB / 0.7395 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008179/0.41, allocations: 2.641 MB / 0.7421 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.41, allocations: 3.938 kB / 0.7421 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005717/0.4158, allocations: 1.838 MB / 0.7439 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.4173, allocations: 112.7 kB / 0.744 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03812/0.4554, allocations: 17.16 MB / 0.7608 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008984/0.4564, allocations: 1.139 MB / 0.7619 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006302/0.457, allocations: 112.5 kB / 0.762 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007144/0.4578, allocations: 0.4954 MB / 0.7625 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of SimCode: time 1.263e-06/0.4578, allocations: 0 / 0.7625 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3682/0.826, allocations: 38.64 MB / 0.8002 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.31, allocations: 13.81 kB / 0.8002 GB, free: 103.1 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENROE.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENROE.pipe 2>&1)