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.004597/0.004596, allocations: 104.4 kB / 15.74 MB, free: 5.949 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.227/1.227, 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.001234/0.001233, allocations: 188.5 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4101/0.4101, allocations: 78.52 MB / 418.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 79.88 kB / 0.5531 GB, free: 1.457 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2765, allocations: 68.17 MB / 0.6197 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.005338/0.2819, allocations: 7.016 MB / 0.6266 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003612/0.2855, allocations: 2.254 MB / 0.6288 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00093/0.2865, allocations: 8 kB / 0.6288 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006811/0.2872, allocations: 269.7 kB / 0.629 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.2899, allocations: 1.119 MB / 0.6301 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.2911, allocations: 0.5845 MB / 0.6307 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001979/0.2931, allocations: 1.909 MB / 0.6326 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.2935, allocations: 326.3 kB / 0.6329 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007046/0.2942, allocations: 0.7276 MB / 0.6336 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009154/0.2951, allocations: 0.9531 MB / 0.6345 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.2953, allocations: 151.9 kB / 0.6347 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005068/0.2958, allocations: 311.9 kB / 0.635 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.2961, allocations: 386.4 kB / 0.6353 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005586/0.2967, allocations: 0.7419 MB / 0.636 GB, free: 9.367 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.2983, allocations: 1.853 MB / 0.6379 GB, free: 7.504 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2983, allocations: 0 / 0.6379 GB, free: 7.504 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.2984, allocations: 0 / 0.6379 GB, free: 7.504 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.2984, allocations: 7.875 kB / 0.6379 GB, free: 7.496 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.01208/0.3105, allocations: 3.481 MB / 0.6413 GB, free: 3.957 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3105, allocations: 8.031 kB / 0.6413 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.3107, allocations: 138.8 kB / 0.6414 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004242/0.3149, allocations: 0.724 MB / 0.6421 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.3164, allocations: 0.9147 MB / 0.643 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003464/0.3167, allocations: 357.3 kB / 0.6433 GB, free: 1.707 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.3169, allocations: 95.84 kB / 0.6434 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.3191, allocations: 1.215 MB / 0.6446 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.3192, allocations: 0 / 0.6446 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.617e-05/0.3193, allocations: 36 kB / 0.6447 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.3193, allocations: 20 kB / 0.6447 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.3215, allocations: 1.171 MB / 0.6458 GB, free: 15.16 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.007023/0.3286, allocations: 4.099 MB / 0.6498 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007483/0.3361, allocations: 2.675 MB / 0.6524 GB, free: 8.062 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.3376, allocations: 0.8245 MB / 0.6532 GB, free: 7.234 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.3378, allocations: 20.97 kB / 0.6533 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.3378, allocations: 51.56 kB / 0.6533 GB, free: 7.152 MB / 462.1 MB Notification: Performance of pre-optimization done (n=108): time 2.424e-06/0.3378, allocations: 3.938 kB / 0.6533 GB, free: 7.148 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.04142/0.3792, allocations: 10.1 MB / 0.6632 GB, free: 13.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.3793, allocations: 90.11 kB / 0.6633 GB, free: 12.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.3809, allocations: 1.109 MB / 0.6643 GB, free: 11.78 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002098/0.3812, allocations: 53.7 kB / 0.6644 GB, free: 11.72 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.3816, allocations: 0.4895 MB / 0.6649 GB, free: 11.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004587/0.3821, allocations: 398.3 kB / 0.6652 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005872/0.3827, allocations: 283.4 kB / 0.6655 GB, free: 10.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.3828, allocations: 301.1 kB / 0.6658 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.3846, allocations: 0.8628 MB / 0.6666 GB, free: 9.391 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.3865, allocations: 1.035 MB / 0.6677 GB, free: 8.312 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003537/0.39, allocations: 1.886 MB / 0.6695 GB, free: 6.383 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.39, allocations: 0 / 0.6695 GB, free: 6.383 MB / 478.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008271/0.3983, allocations: 3.371 MB / 0.6728 GB, free: 2.996 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3983, allocations: 8 kB / 0.6728 GB, free: 2.988 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3984, allocations: 4 kB / 0.6728 GB, free: 2.984 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008927/0.4073, allocations: 2.596 MB / 0.6753 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.4083, allocations: 247.6 kB / 0.6756 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005854/0.4142, allocations: 2.642 MB / 0.6782 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.416, allocations: 210.6 kB / 0.6784 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.4161, allocations: 51.98 kB / 0.6784 GB, free: 13.22 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.0004709/0.4166, allocations: 257.5 kB / 0.6787 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/0.417, allocations: 134.3 kB / 0.6788 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/0.4313, allocations: 4.57 MB / 0.6832 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.4314, allocations: 8 kB / 0.6833 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.4314, allocations: 7.938 kB / 0.6833 GB, free: 8.215 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/0.4314, allocations: 7.922 kB / 0.6833 GB, free: 8.207 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.01726/0.4487, allocations: 6.342 MB / 0.6895 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.4487, allocations: 0 / 0.6895 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/0.4494, allocations: 107.9 kB / 0.6896 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007096/0.4565, allocations: 2.146 MB / 0.6917 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/0.4566, allocations: 20 kB / 0.6917 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02461/0.4812, allocations: 10.04 MB / 0.7015 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.4813, allocations: 7.922 kB / 0.7015 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/0.4977, allocations: 5.649 MB / 0.707 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/0.4982, allocations: 235.1 kB / 0.7072 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.4985, allocations: 23.94 kB / 0.7073 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.4999, allocations: 107.9 kB / 0.7074 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007013/0.5006, allocations: 237.1 kB / 0.7076 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.758e-05/0.5007, allocations: 31.94 kB / 0.7076 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001054/0.5017, allocations: 0.7523 MB / 0.7083 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5017, allocations: 4 kB / 0.7084 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001325/0.5031, allocations: 471.5 kB / 0.7088 GB, free: 13.71 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.01706/0.5201, allocations: 6.242 MB / 0.7149 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00855/0.5287, allocations: 2.583 MB / 0.7174 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5288, allocations: 3.938 kB / 0.7174 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005918/0.5347, allocations: 1.819 MB / 0.7192 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.5361, allocations: 108.6 kB / 0.7193 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04545/0.5816, allocations: 18.14 MB / 0.737 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007325/0.5824, allocations: 1.123 MB / 0.7381 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004942/0.5829, allocations: 112.3 kB / 0.7382 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007387/0.5836, allocations: 491.3 kB / 0.7387 GB, free: 14.79 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.5836, allocations: 4 kB / 0.7387 GB, free: 14.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2937/0.8773, allocations: 39.19 MB / 0.777 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.2, allocations: 11.94 kB / 0.777 GB, free: 140.3 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 & /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)