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.00553/0.00553, allocations: 98.36 kB / 15.73 MB, free: 5.602 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.284/1.284, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.001341/0.001341, allocations: 180.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4488/0.4488, allocations: 78.53 MB / 418.4 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 87.8 kB / 0.5531 GB, free: 1.422 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3445, allocations: 68.16 MB / 0.6197 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.00581/0.3503, allocations: 7.249 MB / 0.6268 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004054/0.3544, allocations: 2.307 MB / 0.629 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008121/0.3553, allocations: 16 kB / 0.6291 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007149/0.356, allocations: 273.7 kB / 0.6293 GB, free: 288 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002788/0.3588, allocations: 1.193 MB / 0.6305 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.3601, allocations: 0.5785 MB / 0.631 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002268/0.3624, allocations: 1.965 MB / 0.633 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004723/0.3629, allocations: 328.1 kB / 0.6333 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008552/0.3637, allocations: 0.7509 MB / 0.634 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.3648, allocations: 0.9843 MB / 0.635 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.365, allocations: 148 kB / 0.6351 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006812/0.3657, allocations: 375.7 kB / 0.6355 GB, free: 9.938 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003512/0.366, allocations: 390.4 kB / 0.6358 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006578/0.3667, allocations: 0.7691 MB / 0.6366 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.3688, allocations: 1.95 MB / 0.6385 GB, free: 6.828 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3688, allocations: 0 / 0.6385 GB, free: 6.828 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3689, allocations: 0 / 0.6385 GB, free: 6.828 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.3689, allocations: 0 / 0.6385 GB, free: 6.828 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.01254/0.3814, allocations: 3.491 MB / 0.6419 GB, free: 3.277 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.3815, allocations: 8.031 kB / 0.6419 GB, free: 3.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/0.3817, allocations: 134.9 kB / 0.642 GB, free: 3.129 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/0.3862, allocations: 0.7288 MB / 0.6428 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.3878, allocations: 0.9706 MB / 0.6437 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003806/0.3882, allocations: 349.3 kB / 0.644 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.3884, allocations: 99.92 kB / 0.6441 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.3909, allocations: 1.235 MB / 0.6453 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.391, allocations: 0 / 0.6453 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.947e-05/0.3911, allocations: 28 kB / 0.6454 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.3911, allocations: 20 kB / 0.6454 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.3936, allocations: 1.191 MB / 0.6465 GB, free: 14.4 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.007408/0.401, allocations: 4.171 MB / 0.6506 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007704/0.4087, allocations: 2.691 MB / 0.6533 GB, free: 7.219 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.4107, allocations: 0.8401 MB / 0.6541 GB, free: 6.371 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.4108, allocations: 28.91 kB / 0.6541 GB, free: 6.344 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.4108, allocations: 43.56 kB / 0.6541 GB, free: 6.293 MB / 462.1 MB Notification: Performance of pre-optimization done (n=111): time 3.016e-06/0.4109, allocations: 0 / 0.6541 GB, free: 6.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=111): time 0.04039/0.4512, allocations: 9.836 MB / 0.6637 GB, free: 12.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.4514, allocations: 98.09 kB / 0.6638 GB, free: 12.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.4529, allocations: 1.157 MB / 0.665 GB, free: 11.12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002971/0.4533, allocations: 45.7 kB / 0.665 GB, free: 11.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00037/0.4536, allocations: 0.5099 MB / 0.6655 GB, free: 10.56 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004483/0.4541, allocations: 432.3 kB / 0.6659 GB, free: 10.13 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005187/0.4546, allocations: 291.5 kB / 0.6662 GB, free: 9.844 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.4547, allocations: 301.1 kB / 0.6665 GB, free: 9.547 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.4566, allocations: 0.8862 MB / 0.6674 GB, free: 8.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.4586, allocations: 1.076 MB / 0.6684 GB, free: 7.539 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003933/0.4626, allocations: 1.913 MB / 0.6703 GB, free: 5.582 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.4626, allocations: 4 kB / 0.6703 GB, free: 5.578 MB / 478.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01645/0.4791, allocations: 5.153 MB / 0.6753 GB, free: 420 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.4791, allocations: 8 kB / 0.6753 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4791, allocations: 4 kB / 0.6753 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00953/0.4887, allocations: 2.636 MB / 0.6779 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.4901, allocations: 255.6 kB / 0.6781 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006567/0.4967, allocations: 2.688 MB / 0.6808 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/0.4989, allocations: 214.9 kB / 0.681 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.499, allocations: 55.98 kB / 0.681 GB, free: 10.52 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.0005419/0.4996, allocations: 265.5 kB / 0.6813 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.4999, allocations: 139.1 kB / 0.6814 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/0.5154, allocations: 4.61 MB / 0.6859 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.5154, allocations: 12 kB / 0.6859 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.5154, allocations: 0 / 0.6859 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/0.5155, allocations: 3.984 kB / 0.6859 GB, free: 5.473 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.01815/0.5336, allocations: 6.428 MB / 0.6922 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.5337, allocations: 0 / 0.6922 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007105/0.5344, allocations: 115.8 kB / 0.6923 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007449/0.5418, allocations: 2.13 MB / 0.6944 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/0.5421, allocations: 27.98 kB / 0.6944 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02529/0.5674, allocations: 10.07 MB / 0.7043 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5674, allocations: 0 / 0.7043 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01736/0.5848, allocations: 5.751 MB / 0.7099 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005088/0.5853, allocations: 255.8 kB / 0.7101 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.5855, allocations: 20 kB / 0.7101 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.5869, allocations: 111.9 kB / 0.7102 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006856/0.5876, allocations: 233.1 kB / 0.7105 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.024e-05/0.5876, allocations: 28 kB / 0.7105 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009659/0.5886, allocations: 0.7843 MB / 0.7113 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5886, allocations: 0 / 0.7113 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001196/0.5898, allocations: 495.6 kB / 0.7117 GB, free: 10.71 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.01757/0.6074, allocations: 6.341 MB / 0.7179 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008002/0.6154, allocations: 2.645 MB / 0.7205 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6155, allocations: 4 kB / 0.7205 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005816/0.6213, allocations: 1.831 MB / 0.7223 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.6224, allocations: 112.7 kB / 0.7224 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0375/0.6599, allocations: 17.16 MB / 0.7392 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/0.6606, allocations: 1.139 MB / 0.7403 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004607/0.6611, allocations: 108.5 kB / 0.7404 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006359/0.6618, allocations: 0.4954 MB / 0.7409 GB, free: 12.57 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/0.6618, allocations: 4 kB / 0.7409 GB, free: 12.56 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3731/1.035, allocations: 38.68 MB / 0.7786 GB, free: 141 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.35, allocations: 7.469 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)