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.005247/0.005252, allocations: 99.67 kB / 15.73 MB, free: 6.008 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.335/1.335, 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.001622/0.001622, allocations: 192.5 kB / 289.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4948/0.4948, allocations: 78.53 MB / 418.4 MB, free: 3.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 79.88 kB / 0.5531 GB, free: 1.414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3676, allocations: 68.16 MB / 0.6197 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.005675/0.3733, allocations: 7.02 MB / 0.6266 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003799/0.3771, allocations: 2.247 MB / 0.6288 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000631/0.3778, allocations: 16 kB / 0.6288 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005681/0.3784, allocations: 269.7 kB / 0.629 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002483/0.3809, allocations: 1.185 MB / 0.6302 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.3822, allocations: 0.5725 MB / 0.6307 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002241/0.3844, allocations: 1.909 MB / 0.6326 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004798/0.3849, allocations: 324 kB / 0.6329 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008034/0.3857, allocations: 0.7315 MB / 0.6336 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.3868, allocations: 0.957 MB / 0.6346 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.387, allocations: 140 kB / 0.6347 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006445/0.3876, allocations: 319.8 kB / 0.635 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003207/0.388, allocations: 382.4 kB / 0.6354 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006837/0.3887, allocations: 0.7497 MB / 0.6361 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.3907, allocations: 1.864 MB / 0.6379 GB, free: 7.418 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3908, allocations: 3.938 kB / 0.6379 GB, free: 7.414 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3908, allocations: 0 / 0.6379 GB, free: 7.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.3908, allocations: 0 / 0.6379 GB, free: 7.414 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.01278/0.4036, allocations: 3.532 MB / 0.6414 GB, free: 3.824 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4036, allocations: 8.031 kB / 0.6414 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.4038, allocations: 126.9 kB / 0.6415 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/0.4083, allocations: 0.7249 MB / 0.6422 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.4098, allocations: 0.9312 MB / 0.6431 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/0.4102, allocations: 361.3 kB / 0.6435 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.4104, allocations: 91.94 kB / 0.6436 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/0.4129, allocations: 1.219 MB / 0.6447 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.4129, allocations: 0 / 0.6447 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.4131, allocations: 32 kB / 0.6448 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.4131, allocations: 20 kB / 0.6448 GB, free: 196 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.4155, allocations: 1.163 MB / 0.6459 GB, free: 15.03 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.00727/0.4228, allocations: 4.123 MB / 0.65 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007731/0.4306, allocations: 2.683 MB / 0.6526 GB, free: 7.902 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.4323, allocations: 0.8206 MB / 0.6534 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.4324, allocations: 20.98 kB / 0.6534 GB, free: 7.055 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.4325, allocations: 43.56 kB / 0.6534 GB, free: 7.004 MB / 462.1 MB Notification: Performance of pre-optimization done (n=108): time 2.625e-06/0.4325, allocations: 0 / 0.6534 GB, free: 7.004 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.042/0.4745, allocations: 10.1 MB / 0.6633 GB, free: 12.86 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.4746, allocations: 86.11 kB / 0.6634 GB, free: 12.76 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.4763, allocations: 1.117 MB / 0.6645 GB, free: 11.63 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002184/0.4765, allocations: 53.64 kB / 0.6645 GB, free: 11.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.4769, allocations: 0.5019 MB / 0.665 GB, free: 11.06 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000452/0.4773, allocations: 420.4 kB / 0.6654 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005141/0.4779, allocations: 287.5 kB / 0.6657 GB, free: 10.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.478, allocations: 301.1 kB / 0.666 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.4799, allocations: 0.855 MB / 0.6668 GB, free: 9.211 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/0.482, allocations: 1.041 MB / 0.6678 GB, free: 8.125 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003851/0.4859, allocations: 1.878 MB / 0.6697 GB, free: 6.203 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.4859, allocations: 4 kB / 0.6697 GB, free: 6.199 MB / 478.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008814/0.4947, allocations: 3.375 MB / 0.673 GB, free: 2.809 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.4948, allocations: 4 kB / 0.673 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.4948, allocations: 4 kB / 0.673 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009186/0.504, allocations: 2.604 MB / 0.6755 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.5052, allocations: 243.6 kB / 0.6758 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006321/0.5116, allocations: 2.65 MB / 0.6783 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/0.5138, allocations: 199 kB / 0.6785 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/0.514, allocations: 59.98 kB / 0.6786 GB, free: 13.03 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 (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.0005762/0.5146, allocations: 261.5 kB / 0.6788 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.515, allocations: 135.1 kB / 0.679 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/0.5306, allocations: 4.57 MB / 0.6834 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/0.5306, allocations: 12 kB / 0.6834 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.5307, allocations: 4 kB / 0.6834 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.683e-05/0.5307, allocations: 7.922 kB / 0.6835 GB, free: 8.012 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.5497, allocations: 6.346 MB / 0.6896 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/0.5498, allocations: 11.92 kB / 0.6897 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007075/0.5505, allocations: 103.9 kB / 0.6898 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007779/0.5583, allocations: 2.138 MB / 0.6918 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002553/0.5586, allocations: 20 kB / 0.6919 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02635/0.585, allocations: 10.06 MB / 0.7017 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.585, allocations: 3.938 kB / 0.7017 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01777/0.6028, allocations: 5.661 MB / 0.7072 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005481/0.6034, allocations: 239.9 kB / 0.7075 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000406/0.6038, allocations: 23.94 kB / 0.7075 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.6053, allocations: 107.9 kB / 0.7076 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008038/0.6061, allocations: 241.1 kB / 0.7078 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.6063, allocations: 31.98 kB / 0.7078 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001213/0.6075, allocations: 0.7406 MB / 0.7086 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6075, allocations: 0 / 0.7086 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001694/0.6092, allocations: 475.7 kB / 0.709 GB, free: 13.5 MB / 0.5137 GB 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.01818/0.6274, allocations: 6.258 MB / 0.7151 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008944/0.6364, allocations: 2.579 MB / 0.7176 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.6364, allocations: 4.062 kB / 0.7177 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00681/0.6433, allocations: 1.823 MB / 0.7194 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.6452, allocations: 108.7 kB / 0.7195 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04815/0.6933, allocations: 18.2 MB / 0.7373 GB, free: 256 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008033/0.6942, allocations: 1.127 MB / 0.7384 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005449/0.6948, allocations: 116.3 kB / 0.7385 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008215/0.6956, allocations: 487.3 kB / 0.739 GB, free: 14.5 MB / 0.545 GB Notification: Performance of SimCode: time 7.52e-07/0.6956, allocations: 0 / 0.739 GB, free: 14.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3428/1.038, allocations: 37.58 MB / 0.7757 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/14.09, allocations: 3.688 kB / 0.7757 GB, free: 138.5 MB / 0.5606 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)