Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.GENSAE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE",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.001136/0.001136, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 239.3 MB, free: 4.648 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.001212/0.001212, allocations: 188.5 kB / 289.6 MB, free: 2.371 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4496/0.4496, allocations: 78.54 MB / 418.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 87.86 kB / 497.6 MB, free: 6.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1144, allocations: 68.17 MB / 0.5525 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.1957/0.3101, allocations: 7.025 MB / 0.5593 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004225/0.3143, allocations: 2.243 MB / 0.5615 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007855/0.3152, allocations: 8.469 kB / 0.5615 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005865/0.3158, allocations: 277.5 kB / 0.5618 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00239/0.3182, allocations: 1.121 MB / 0.5629 GB, free: 34.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3193, allocations: 0.5768 MB / 0.5634 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.3209, allocations: 1.899 MB / 0.5653 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.3213, allocations: 325.9 kB / 0.5656 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005871/0.3219, allocations: 0.7249 MB / 0.5663 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007839/0.3227, allocations: 0.9631 MB / 0.5673 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.3229, allocations: 141.2 kB / 0.5674 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000513/0.3234, allocations: 310.1 kB / 0.5677 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.3236, allocations: 375.9 kB / 0.5681 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004623/0.3241, allocations: 0.7521 MB / 0.5688 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.3254, allocations: 1.843 MB / 0.5706 GB, free: 33.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3254, allocations: 2.062 kB / 0.5706 GB, free: 33.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3254, allocations: 3.281 kB / 0.5706 GB, free: 33.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.462e-05/0.3254, allocations: 0 / 0.5706 GB, free: 33.3 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.01242/0.3379, allocations: 3.473 MB / 0.574 GB, free: 32.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3379, allocations: 13.09 kB / 0.574 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.3381, allocations: 133.2 kB / 0.5741 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004422/0.3425, allocations: 0.7219 MB / 0.5748 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.3438, allocations: 0.9186 MB / 0.5757 GB, free: 31.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.3441, allocations: 348.5 kB / 0.5761 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.3442, allocations: 96.88 kB / 0.5761 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.3464, allocations: 1.226 MB / 0.5773 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.3464, allocations: 1.547 kB / 0.5773 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.3466, allocations: 31.31 kB / 0.5774 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.3466, allocations: 19.53 kB / 0.5774 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.3489, allocations: 1.159 MB / 0.5785 GB, free: 31.24 MB / 430.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.006584/0.3555, allocations: 4.135 MB / 0.5826 GB, free: 28.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007895/0.3634, allocations: 2.679 MB / 0.5852 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.3653, allocations: 0.8205 MB / 0.586 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.3655, allocations: 24.5 kB / 0.586 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.3655, allocations: 44.56 kB / 0.586 GB, free: 27.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.206e-06/0.3655, allocations: 0 / 0.586 GB, free: 27.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.04438/0.4099, allocations: 10.1 MB / 0.5959 GB, free: 25.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.41, allocations: 94.8 kB / 0.596 GB, free: 25.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.4116, allocations: 1.107 MB / 0.5971 GB, free: 25.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.4118, allocations: 50.23 kB / 0.5971 GB, free: 25.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.4121, allocations: 0.4975 MB / 0.5976 GB, free: 24.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.4125, allocations: 397.9 kB / 0.598 GB, free: 24.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005216/0.413, allocations: 285.2 kB / 0.5983 GB, free: 24.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.401e-05/0.413, allocations: 302.8 kB / 0.5986 GB, free: 24.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.4149, allocations: 0.8554 MB / 0.5994 GB, free: 23.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.4169, allocations: 1.043 MB / 0.6004 GB, free: 23.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00376/0.4207, allocations: 1.881 MB / 0.6022 GB, free: 22.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.4207, allocations: 5.594 kB / 0.6022 GB, free: 22.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008872/0.4296, allocations: 3.372 MB / 0.6055 GB, free: 21.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.4297, allocations: 5.219 kB / 0.6055 GB, free: 21.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4297, allocations: 4.219 kB / 0.6056 GB, free: 21.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009592/0.4393, allocations: 2.606 MB / 0.6081 GB, free: 20.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.4405, allocations: 240.9 kB / 0.6083 GB, free: 20 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006087/0.4466, allocations: 2.648 MB / 0.6109 GB, free: 18.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/0.4486, allocations: 202.4 kB / 0.6111 GB, free: 18.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.4488, allocations: 56.17 kB / 0.6112 GB, free: 18.28 MB / 430.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 (144): * Single equations (assignments): 143 * 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 {(29,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004637/0.4493, allocations: 264.3 kB / 0.6114 GB, free: 18.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/0.4495, allocations: 136.2 kB / 0.6115 GB, free: 17.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/0.4644, allocations: 4.558 MB / 0.616 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.4644, allocations: 8 kB / 0.616 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4644, allocations: 4 kB / 0.616 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/0.4644, allocations: 11.91 kB / 0.616 GB, free: 13.75 MB / 430.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.01655/0.481, allocations: 6.358 MB / 0.6222 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.481, allocations: 0 / 0.6222 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.4816, allocations: 103.9 kB / 0.6223 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007062/0.4887, allocations: 2.143 MB / 0.6244 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.4889, allocations: 29.17 kB / 0.6244 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02485/0.5137, allocations: 10.05 MB / 0.6343 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.5138, allocations: 7.922 kB / 0.6343 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01879/0.5326, allocations: 5.643 MB / 0.6398 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007232/0.5333, allocations: 239.1 kB / 0.64 GB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.5336, allocations: 28.45 kB / 0.64 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.5351, allocations: 103.9 kB / 0.6401 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007331/0.5359, allocations: 243 kB / 0.6404 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.254e-05/0.536, allocations: 24 kB / 0.6404 GB, free: 4.453 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001041/0.537, allocations: 0.7484 MB / 0.6411 GB, free: 3.699 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.537, allocations: 0 / 0.6411 GB, free: 3.699 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001546/0.5386, allocations: 479.5 kB / 0.6416 GB, free: 3.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAE.w,gENSAE.delta,gENSAE.Epq,gENSAE.PSIkd,gENSAE.PSIppq,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 (65): * Single equations (assignments): 64 * 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.019/0.5576, allocations: 6.246 MB / 0.6477 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009173/0.5668, allocations: 2.619 MB / 0.6502 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5668, allocations: 0 / 0.6502 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006165/0.573, allocations: 1.818 MB / 0.652 GB, free: 8.504 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.5741, allocations: 112.6 kB / 0.6521 GB, free: 8.395 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04813/0.6223, allocations: 18.92 MB / 0.6706 GB, free: 5.082 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008952/0.6232, allocations: 1.127 MB / 0.6717 GB, free: 3.914 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00064/0.6239, allocations: 112.5 kB / 0.6718 GB, free: 3.805 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008654/0.6248, allocations: 491.3 kB / 0.6723 GB, free: 3.328 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6248, allocations: 0 / 0.6723 GB, free: 3.328 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07352/0.6983, allocations: 37.16 MB / 0.7086 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.44, allocations: 7.969 kB / 0.7086 GB, free: 14.43 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE_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_GENSAE.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)