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.001361/0.001361, allocations: 108 kB / 15.6 MB, free: 132 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.474/1.474, allocations: 222.9 MB / 239.3 MB, free: 4.418 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.001912/0.001911, allocations: 180.5 kB / 289.5 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5174/0.5174, allocations: 78.53 MB / 418.2 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 79.86 kB / 497.6 MB, free: 6.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.199, allocations: 68.17 MB / 0.5525 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.3554/0.5545, allocations: 7.022 MB / 0.5593 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004886/0.5594, allocations: 2.241 MB / 0.5615 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.5605, allocations: 13.69 kB / 0.5615 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008044/0.5613, allocations: 280 kB / 0.5618 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.5644, allocations: 1.114 MB / 0.5629 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.5659, allocations: 0.5721 MB / 0.5634 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002474/0.5684, allocations: 1.902 MB / 0.5653 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005852/0.569, allocations: 321.2 kB / 0.5656 GB, free: 34.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.5701, allocations: 0.7338 MB / 0.5663 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.5711, allocations: 0.96 MB / 0.5673 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002638/0.5714, allocations: 140.3 kB / 0.5674 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008624/0.5723, allocations: 314.1 kB / 0.5677 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003349/0.5726, allocations: 368.8 kB / 0.568 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006856/0.5733, allocations: 0.7533 MB / 0.5688 GB, free: 33.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.5754, allocations: 1.846 MB / 0.5706 GB, free: 32.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.5755, allocations: 3.875 kB / 0.5706 GB, free: 32.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5755, allocations: 1.281 kB / 0.5706 GB, free: 32.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.813e-05/0.5755, allocations: 0 / 0.5706 GB, free: 32.92 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.01342/0.5889, allocations: 3.473 MB / 0.574 GB, free: 31.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.301e-05/0.589, allocations: 11.59 kB / 0.574 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000195/0.5892, allocations: 126.8 kB / 0.5741 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/0.5938, allocations: 0.7196 MB / 0.5748 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.5953, allocations: 0.9158 MB / 0.5757 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/0.5957, allocations: 359.6 kB / 0.576 GB, free: 31.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.5959, allocations: 97.72 kB / 0.5761 GB, free: 31.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/0.5983, allocations: 1.215 MB / 0.5773 GB, free: 31.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.5983, allocations: 0.5 kB / 0.5773 GB, free: 31.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.5984, allocations: 34.69 kB / 0.5774 GB, free: 31.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.5985, allocations: 18.84 kB / 0.5774 GB, free: 31.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.6008, allocations: 1.17 MB / 0.5785 GB, free: 30.96 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.007236/0.6081, allocations: 4.131 MB / 0.5826 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008391/0.6165, allocations: 2.671 MB / 0.5852 GB, free: 27.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/0.6184, allocations: 0.831 MB / 0.586 GB, free: 27.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.6185, allocations: 16.19 kB / 0.586 GB, free: 27.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.6185, allocations: 47.94 kB / 0.586 GB, free: 27.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.577e-06/0.6186, allocations: 3.438 kB / 0.586 GB, free: 27.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.04756/0.6661, allocations: 10.1 MB / 0.5959 GB, free: 25.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/0.6663, allocations: 89.08 kB / 0.596 GB, free: 25.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002552/0.6689, allocations: 1.112 MB / 0.5971 GB, free: 25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000487/0.6694, allocations: 45.42 kB / 0.5971 GB, free: 24.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005145/0.6699, allocations: 0.4942 MB / 0.5976 GB, free: 24.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006899/0.6706, allocations: 401.6 kB / 0.598 GB, free: 24.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007948/0.6714, allocations: 281.9 kB / 0.5983 GB, free: 24.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6715, allocations: 311 kB / 0.5986 GB, free: 23.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/0.674, allocations: 0.8592 MB / 0.5994 GB, free: 23.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.6764, allocations: 1.043 MB / 0.6004 GB, free: 23.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004445/0.6808, allocations: 1.881 MB / 0.6022 GB, free: 22.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/0.6809, allocations: 1.281 kB / 0.6022 GB, free: 22.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01066/0.6915, allocations: 3.371 MB / 0.6055 GB, free: 20.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.6916, allocations: 6.5 kB / 0.6055 GB, free: 20.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.6917, allocations: 3.656 kB / 0.6055 GB, free: 20.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/0.7017, allocations: 2.602 MB / 0.6081 GB, free: 19.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.7033, allocations: 249.2 kB / 0.6083 GB, free: 19.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006521/0.7099, allocations: 2.644 MB / 0.6109 GB, free: 18.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/0.7123, allocations: 198.4 kB / 0.6111 GB, free: 18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.7124, allocations: 59.03 kB / 0.6112 GB, free: 17.98 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.0005275/0.713, allocations: 265.5 kB / 0.6114 GB, free: 17.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.7132, allocations: 132.2 kB / 0.6115 GB, free: 17.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/0.7278, allocations: 4.559 MB / 0.616 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.7279, allocations: 13.69 kB / 0.616 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.7279, allocations: 0 / 0.616 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-05/0.728, allocations: 15.84 kB / 0.616 GB, free: 13.6 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.01691/0.7449, allocations: 6.353 MB / 0.6222 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/0.7449, allocations: 0.75 kB / 0.6222 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007519/0.7457, allocations: 103.9 kB / 0.6223 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007152/0.7529, allocations: 2.151 MB / 0.6244 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/0.7531, allocations: 19.98 kB / 0.6244 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02805/0.7812, allocations: 10.05 MB / 0.6343 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.7812, allocations: 3.938 kB / 0.6343 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01933/0.8006, allocations: 5.644 MB / 0.6398 GB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008696/0.8015, allocations: 239.1 kB / 0.64 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006057/0.8021, allocations: 24.44 kB / 0.64 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/0.804, allocations: 111.9 kB / 0.6401 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000987/0.805, allocations: 241 kB / 0.6404 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/0.8051, allocations: 24.56 kB / 0.6404 GB, free: 4.312 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001473/0.8066, allocations: 0.7522 MB / 0.6411 GB, free: 3.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8067, allocations: 0 / 0.6411 GB, free: 3.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00171/0.8084, allocations: 481.5 kB / 0.6416 GB, free: 3.086 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.0187/0.8271, allocations: 6.239 MB / 0.6477 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009283/0.8364, allocations: 2.623 MB / 0.6502 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.8364, allocations: 0 / 0.6502 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006421/0.8428, allocations: 1.81 MB / 0.652 GB, free: 8.371 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.8445, allocations: 117.7 kB / 0.6521 GB, free: 8.258 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05108/0.8956, allocations: 18.92 MB / 0.6706 GB, free: 4.941 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.8967, allocations: 1.127 MB / 0.6717 GB, free: 3.773 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000694/0.8974, allocations: 111.4 kB / 0.6718 GB, free: 3.664 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008889/0.8983, allocations: 491.3 kB / 0.6723 GB, free: 3.188 MB / 478.1 MB Notification: Performance of SimCode: time 1.433e-06/0.8984, allocations: 3.938 kB / 0.6723 GB, free: 3.184 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08479/0.9832, allocations: 37.17 MB / 0.7086 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.86, allocations: 3.375 kB / 0.7086 GB, free: 14.29 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)