Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_dev_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.001119/0.001119, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.421/1.421, allocations: 222.9 MB / 239 MB, free: 4.73 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.001731/0.001731, allocations: 196.5 kB / 289.3 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5865/0.5865, allocations: 91.9 MB / 431.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 75.88 kB / 0.5015 GB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.382, allocations: 71.27 MB / 0.5711 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.006163/0.3882, allocations: 7.398 MB / 0.5783 GB, free: 32.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003944/0.3922, allocations: 2.293 MB / 0.5805 GB, free: 30.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007499/0.393, allocations: 14.22 kB / 0.5806 GB, free: 30.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.3936, allocations: 213.5 kB / 0.5808 GB, free: 30.49 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.3956, allocations: 0.9142 MB / 0.5817 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3967, allocations: 0.5397 MB / 0.5822 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.3982, allocations: 1.753 MB / 0.5839 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003868/0.3986, allocations: 333.9 kB / 0.5842 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006802/0.3993, allocations: 0.7287 MB / 0.5849 GB, free: 28.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007515/0.4, allocations: 0.9458 MB / 0.5858 GB, free: 27.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.4002, allocations: 138 kB / 0.586 GB, free: 27.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005536/0.4008, allocations: 312.8 kB / 0.5863 GB, free: 27.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.401, allocations: 375.8 kB / 0.5866 GB, free: 27.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005222/0.4015, allocations: 0.7469 MB / 0.5874 GB, free: 27.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.4031, allocations: 1.829 MB / 0.5892 GB, free: 26.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4032, allocations: 0 / 0.5892 GB, free: 26.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4032, allocations: 4 kB / 0.5892 GB, free: 26.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.101e-05/0.4032, allocations: 1.281 kB / 0.5892 GB, free: 26.2 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.0115/0.4147, allocations: 3.266 MB / 0.5923 GB, free: 24.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.4148, allocations: 9.875 kB / 0.5924 GB, free: 24.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.4149, allocations: 133.3 kB / 0.5925 GB, free: 24.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004518/0.4195, allocations: 0.7127 MB / 0.5932 GB, free: 24.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.421, allocations: 0.9188 MB / 0.5941 GB, free: 24.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/0.4213, allocations: 360 kB / 0.5944 GB, free: 23.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.4215, allocations: 93.94 kB / 0.5945 GB, free: 23.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.424, allocations: 1.222 MB / 0.5957 GB, free: 23.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.424, allocations: 3.188 kB / 0.5957 GB, free: 23.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.4242, allocations: 31.56 kB / 0.5957 GB, free: 23.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.4242, allocations: 18.69 kB / 0.5958 GB, free: 23.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.4267, allocations: 1.17 MB / 0.5969 GB, free: 22.78 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.007798/0.4345, allocations: 4.128 MB / 0.6009 GB, free: 20.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00787/0.4424, allocations: 2.67 MB / 0.6035 GB, free: 19.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.4442, allocations: 0.8207 MB / 0.6043 GB, free: 19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.4444, allocations: 23.52 kB / 0.6044 GB, free: 18.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.4444, allocations: 52.23 kB / 0.6044 GB, free: 18.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 2.906e-06/0.4444, allocations: 1.375 kB / 0.6044 GB, free: 18.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.04389/0.4883, allocations: 10.09 MB / 0.6143 GB, free: 16.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.4884, allocations: 93.95 kB / 0.6144 GB, free: 16.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.4907, allocations: 1.121 MB / 0.6155 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003484/0.4911, allocations: 46.8 kB / 0.6155 GB, free: 15.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.4914, allocations: 0.4935 MB / 0.616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004457/0.4918, allocations: 396.5 kB / 0.6164 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005716/0.4924, allocations: 284.9 kB / 0.6166 GB, free: 14.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.075e-05/0.4925, allocations: 302 kB / 0.6169 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.4943, allocations: 0.8591 MB / 0.6178 GB, free: 13.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.4962, allocations: 1.045 MB / 0.6188 GB, free: 13.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/0.4995, allocations: 1.879 MB / 0.6206 GB, free: 11.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.4995, allocations: 0 / 0.6206 GB, free: 11.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007815/0.5073, allocations: 3.37 MB / 0.6239 GB, free: 8.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.5073, allocations: 8.312 kB / 0.6239 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.5074, allocations: 7.984 kB / 0.6239 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008647/0.516, allocations: 2.6 MB / 0.6265 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.5173, allocations: 247.6 kB / 0.6267 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005735/0.5231, allocations: 2.653 MB / 0.6293 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/0.5254, allocations: 198.6 kB / 0.6295 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002819/0.5257, allocations: 51.98 kB / 0.6295 GB, free: 2.305 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.0006828/0.5264, allocations: 261.6 kB / 0.6298 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004841/0.5269, allocations: 130.3 kB / 0.6299 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/0.5419, allocations: 4.57 MB / 0.6344 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.5419, allocations: 16 kB / 0.6344 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.542, allocations: 0 / 0.6344 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.481e-05/0.542, allocations: 7.922 kB / 0.6344 GB, free: 13.29 MB / 446.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.02335/0.5654, allocations: 6.346 MB / 0.6406 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.82e-05/0.5654, allocations: 0 / 0.6406 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000977/0.5664, allocations: 107.9 kB / 0.6407 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01066/0.5771, allocations: 2.146 MB / 0.6428 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003527/0.5775, allocations: 16 kB / 0.6428 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03667/0.6142, allocations: 10.06 MB / 0.6526 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.6143, allocations: 3.938 kB / 0.6526 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/0.633, allocations: 5.659 MB / 0.6581 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007123/0.6338, allocations: 235.1 kB / 0.6584 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005268/0.6343, allocations: 23.94 kB / 0.6584 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.6361, allocations: 111.9 kB / 0.6585 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009036/0.637, allocations: 233.1 kB / 0.6587 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.6371, allocations: 31.98 kB / 0.6588 GB, free: 3.996 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001361/0.6385, allocations: 0.7445 MB / 0.6595 GB, free: 3.246 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6385, allocations: 3.938 kB / 0.6595 GB, free: 3.242 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00197/0.6405, allocations: 475.5 kB / 0.6599 GB, free: 2.777 MB / 462.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.01854/0.6591, allocations: 6.245 MB / 0.666 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009171/0.6683, allocations: 2.623 MB / 0.6686 GB, free: 9.871 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6683, allocations: 0 / 0.6686 GB, free: 9.871 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006352/0.6747, allocations: 1.815 MB / 0.6704 GB, free: 8.043 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.6769, allocations: 108.6 kB / 0.6705 GB, free: 7.938 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05232/0.7292, allocations: 19.36 MB / 0.6894 GB, free: 4.129 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.7303, allocations: 1.123 MB / 0.6905 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007372/0.7311, allocations: 108.3 kB / 0.6906 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.7322, allocations: 491.3 kB / 0.691 GB, free: 2.379 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7322, allocations: 4 kB / 0.691 GB, free: 2.375 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06972/0.8019, allocations: 35.87 MB / 0.7261 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/0.8022, allocations: 207.3 kB / 0.7263 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.187/3.989, allocations: 4 kB / 0.7263 GB, free: 14.41 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)