Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000893/0.000893, allocations: 180.7 kB / 7.649 MB, free: 1.395 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.3 MB / 213.4 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008691/0.0008691, allocations: 90.08 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05894/0.05894, allocations: 12.19 MB / 321.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2647/0.2647, allocations: 78.05 MB / 450.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/2.003e-05, allocations: 3.984 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 69.24 MB / 0.5819 GB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3812/0.5023, allocations: 106.3 MB / 0.6856 GB, free: 2.527 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.5025, allocations: 85.95 kB / 0.6857 GB, free: 2.484 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0839/0.5864, allocations: 34.21 MB / 0.7191 GB, free: 6.699 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5865, allocations: 4 kB / 0.7191 GB, free: 6.695 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.168e-05/0.5865, allocations: 23.94 kB / 0.7192 GB, free: 6.672 MB / 458.7 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.004362/0.5909, allocations: 1.808 MB / 0.7209 GB, free: 4.949 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.591, allocations: 8.031 kB / 0.7209 GB, free: 4.941 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002724/0.5937, allocations: 0.5227 MB / 0.7214 GB, free: 4.461 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.5949, allocations: 0.8119 MB / 0.7222 GB, free: 3.781 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003399/0.5952, allocations: 333.2 kB / 0.7225 GB, free: 3.402 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.5953, allocations: 48 kB / 0.7226 GB, free: 3.355 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001464/0.5968, allocations: 0.9214 MB / 0.7235 GB, free: 2.797 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.5982, allocations: 0.9028 MB / 0.7244 GB, free: 2.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.5983, allocations: 0 / 0.7244 GB, free: 2.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.004e-05/0.5984, allocations: 0 / 0.7244 GB, free: 2.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.5984, allocations: 20 kB / 0.7244 GB, free: 2.16 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006477/0.6049, allocations: 3.94 MB / 0.7282 GB, free: 15.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006907/0.6118, allocations: 2.885 MB / 0.7311 GB, free: 12.42 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007716/0.6126, allocations: 0.6212 MB / 0.7317 GB, free: 12.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.6127, allocations: 33.08 kB / 0.7317 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.6127, allocations: 41.12 kB / 0.7317 GB, free: 12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 2.866e-06/0.6128, allocations: 0 / 0.7317 GB, free: 12 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.01359/0.6263, allocations: 4.667 MB / 0.7363 GB, free: 7.922 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.6264, allocations: 90.42 kB / 0.7364 GB, free: 7.812 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.6278, allocations: 0.8504 MB / 0.7372 GB, free: 7.195 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.628, allocations: 29.7 kB / 0.7372 GB, free: 7.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.6283, allocations: 0.5131 MB / 0.7377 GB, free: 6.887 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000365/0.6287, allocations: 373.8 kB / 0.7381 GB, free: 6.559 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.176e-05/0.6287, allocations: 0 / 0.7381 GB, free: 6.559 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6289, allocations: 341.9 kB / 0.7384 GB, free: 6.234 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006813/0.6295, allocations: 486.7 kB / 0.7389 GB, free: 5.984 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000722/0.6303, allocations: 0.607 MB / 0.7395 GB, free: 5.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008561/0.6311, allocations: 0.5224 MB / 0.74 GB, free: 5.277 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6312, allocations: 0 / 0.74 GB, free: 5.277 MB / 474.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002758/0.6339, allocations: 1.698 MB / 0.7416 GB, free: 3.582 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.634, allocations: 4.938 kB / 0.7417 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.634, allocations: 7.953 kB / 0.7417 GB, free: 3.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007026/0.641, allocations: 2.222 MB / 0.7438 GB, free: 1.344 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.6416, allocations: 128.8 kB / 0.744 GB, free: 1.219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004253/0.6459, allocations: 2.371 MB / 0.7463 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.6475, allocations: 187 kB / 0.7464 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-05/0.6476, allocations: 35.98 kB / 0.7465 GB, free: 14.61 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {29 25} Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.6478, allocations: 120.8 kB / 0.7466 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01355/0.6614, allocations: 4.661 MB / 0.7511 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/0.6619, allocations: 134.3 kB / 0.7513 GB, free: 9.672 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/0.6755, allocations: 4.778 MB / 0.7559 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.6756, allocations: 15.98 kB / 0.756 GB, free: 4.855 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6756, allocations: 0 / 0.756 GB, free: 4.855 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/0.6756, allocations: 7.984 kB / 0.756 GB, free: 4.848 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01572/0.6914, allocations: 6.445 MB / 0.7623 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.6914, allocations: 0 / 0.7623 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/0.6921, allocations: 111.8 kB / 0.7624 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006008/0.6981, allocations: 1.99 MB / 0.7643 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/0.6983, allocations: 8 kB / 0.7643 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/0.7144, allocations: 7.701 MB / 0.7718 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7145, allocations: 4 kB / 0.7718 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01536/0.7299, allocations: 5.732 MB / 0.7774 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005438/0.7304, allocations: 243 kB / 0.7777 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.7306, allocations: 0 / 0.7777 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.7319, allocations: 135.9 kB / 0.7778 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006208/0.7326, allocations: 241.3 kB / 0.778 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-05/0.7326, allocations: 31.98 kB / 0.7781 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008344/0.7335, allocations: 0.6623 MB / 0.7787 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7335, allocations: 0 / 0.7787 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001035/0.7345, allocations: 399.5 kB / 0.7791 GB, free: 12.86 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01525/0.7498, allocations: 6.404 MB / 0.7853 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005826/0.7556, allocations: 2.018 MB / 0.7873 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7557, allocations: 4 kB / 0.7873 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005018/0.7607, allocations: 1.721 MB / 0.789 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008901/0.7616, allocations: 80.59 kB / 0.7891 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.7654, allocations: 2.092 MB / 0.7911 GB, free: 444 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.766, allocations: 1.154 MB / 0.7922 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003505/0.7663, allocations: 86.77 kB / 0.7923 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/0.7669, allocations: 479.3 kB / 0.7928 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/0.7669, allocations: 0 / 0.7928 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05261/0.8195, allocations: 30.37 MB / 0.8224 GB, free: 364 kB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.8198, allocations: 131.6 kB / 0.8226 GB, free: 156 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.401, allocations: 0 / 0.8226 GB, free: 156 kB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)