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.008481/0.008481, allocations: 102.2 kB / 15.73 MB, free: 5.992 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.396/1.396, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001382/0.001382, allocations: 188.4 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4594/0.4594, allocations: 78.53 MB / 418.4 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 80.09 kB / 0.5531 GB, free: 1.457 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3727, allocations: 68.17 MB / 0.6197 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.00599/0.3787, allocations: 7.01 MB / 0.6266 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003946/0.3827, allocations: 2.247 MB / 0.6288 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.3838, allocations: 16 kB / 0.6288 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007721/0.3846, allocations: 265.7 kB / 0.629 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00283/0.3875, allocations: 1.134 MB / 0.6301 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.3887, allocations: 0.576 MB / 0.6307 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.3909, allocations: 1.909 MB / 0.6326 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004524/0.3914, allocations: 322.2 kB / 0.6329 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008619/0.3922, allocations: 0.7315 MB / 0.6336 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.3933, allocations: 0.9609 MB / 0.6345 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.3935, allocations: 139.9 kB / 0.6347 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005539/0.3941, allocations: 323.8 kB / 0.635 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.3944, allocations: 374.4 kB / 0.6353 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005715/0.395, allocations: 0.7536 MB / 0.6361 GB, free: 9.332 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.3967, allocations: 1.849 MB / 0.6379 GB, free: 7.473 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3967, allocations: 0 / 0.6379 GB, free: 7.473 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3967, allocations: 3.938 kB / 0.6379 GB, free: 7.469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.234e-05/0.3967, allocations: 0 / 0.6379 GB, free: 7.469 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.01222/0.4089, allocations: 3.482 MB / 0.6413 GB, free: 3.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.409, allocations: 11.97 kB / 0.6413 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/0.4092, allocations: 138.8 kB / 0.6414 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004322/0.4135, allocations: 0.7123 MB / 0.6421 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.415, allocations: 0.9225 MB / 0.643 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003792/0.4154, allocations: 353.3 kB / 0.6433 GB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.4156, allocations: 99.83 kB / 0.6434 GB, free: 1.586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/0.4183, allocations: 1.219 MB / 0.6446 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.4183, allocations: 4 kB / 0.6446 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.825e-05/0.4184, allocations: 28 kB / 0.6447 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.4184, allocations: 24 kB / 0.6447 GB, free: 304 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.4211, allocations: 1.163 MB / 0.6458 GB, free: 15.14 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.008472/0.4296, allocations: 4.103 MB / 0.6498 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00839/0.438, allocations: 2.679 MB / 0.6524 GB, free: 8.031 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/0.4405, allocations: 0.8245 MB / 0.6532 GB, free: 7.203 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/0.4408, allocations: 20.97 kB / 0.6533 GB, free: 7.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.4408, allocations: 43.56 kB / 0.6533 GB, free: 7.129 MB / 462.1 MB Notification: Performance of pre-optimization done (n=108): time 4.348e-06/0.4408, allocations: 4 kB / 0.6533 GB, free: 7.125 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.04361/0.4845, allocations: 10.1 MB / 0.6632 GB, free: 12.99 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.4846, allocations: 90.05 kB / 0.6633 GB, free: 12.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.4864, allocations: 1.109 MB / 0.6643 GB, free: 11.76 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002893/0.4867, allocations: 53.7 kB / 0.6644 GB, free: 11.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.4872, allocations: 0.4973 MB / 0.6649 GB, free: 11.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006314/0.4878, allocations: 390.3 kB / 0.6652 GB, free: 10.81 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008025/0.4886, allocations: 291.4 kB / 0.6655 GB, free: 10.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.4887, allocations: 301.1 kB / 0.6658 GB, free: 10.22 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/0.4908, allocations: 0.855 MB / 0.6666 GB, free: 9.367 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002172/0.493, allocations: 1.041 MB / 0.6677 GB, free: 8.281 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004134/0.4971, allocations: 1.874 MB / 0.6695 GB, free: 6.363 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.4971, allocations: 7.938 kB / 0.6695 GB, free: 6.355 MB / 478.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009154/0.5063, allocations: 3.371 MB / 0.6728 GB, free: 2.969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.5063, allocations: 4 kB / 0.6728 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5064, allocations: 4 kB / 0.6728 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009666/0.516, allocations: 2.6 MB / 0.6753 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.5174, allocations: 247.6 kB / 0.6756 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006766/0.5242, allocations: 2.646 MB / 0.6782 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.5263, allocations: 210.6 kB / 0.6784 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/0.5265, allocations: 55.97 kB / 0.6784 GB, free: 13.19 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.0006312/0.5272, allocations: 257.5 kB / 0.6787 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004521/0.5276, allocations: 130.3 kB / 0.6788 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/0.5434, allocations: 4.559 MB / 0.6832 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.5435, allocations: 19.94 kB / 0.6833 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.5435, allocations: 0 / 0.6833 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/0.5436, allocations: 11.91 kB / 0.6833 GB, free: 8.18 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.01873/0.5623, allocations: 6.345 MB / 0.6895 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.5624, allocations: 0 / 0.6895 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/0.563, allocations: 103.9 kB / 0.6896 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007679/0.5707, allocations: 2.142 MB / 0.6917 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002497/0.571, allocations: 19.98 kB / 0.6917 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02629/0.5973, allocations: 10.04 MB / 0.7015 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5974, allocations: 3.938 kB / 0.7015 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/0.6157, allocations: 5.657 MB / 0.707 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005163/0.6162, allocations: 239.1 kB / 0.7072 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/0.6166, allocations: 23.94 kB / 0.7073 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.6181, allocations: 103.9 kB / 0.7074 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008473/0.6189, allocations: 241.1 kB / 0.7076 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.6191, allocations: 28 kB / 0.7076 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0011/0.6202, allocations: 0.7445 MB / 0.7083 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6202, allocations: 0 / 0.7083 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001486/0.6217, allocations: 483.5 kB / 0.7088 GB, free: 13.69 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.0184/0.6401, allocations: 6.24 MB / 0.7149 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008817/0.649, allocations: 2.591 MB / 0.7174 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.649, allocations: 4 kB / 0.7174 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006273/0.6553, allocations: 1.811 MB / 0.7192 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.6568, allocations: 114.3 kB / 0.7193 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04801/0.7049, allocations: 18.15 MB / 0.737 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/0.7056, allocations: 1.123 MB / 0.7381 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005133/0.7062, allocations: 112.3 kB / 0.7382 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006965/0.7069, allocations: 487.3 kB / 0.7387 GB, free: 14.77 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.7069, allocations: 4 kB / 0.7387 GB, free: 14.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3653/1.072, allocations: 39.2 MB / 0.777 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.4, allocations: 12 kB / 0.777 GB, free: 140.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 & /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)