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.001121/0.001122, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.000966/0.000966, allocations: 86.64 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06066/0.06066, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2713/0.2713, allocations: 78.03 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.525e-05, allocations: 8 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1298, allocations: 69.24 MB / 0.5889 GB, free: 2.945 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4421/0.572, allocations: 106.9 MB / 0.6934 GB, free: 9.383 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.5723, allocations: 81.89 kB / 0.6935 GB, free: 9.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09045/0.6627, allocations: 34.66 MB / 0.7273 GB, free: 12.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.6628, allocations: 3.938 kB / 0.7273 GB, free: 12.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.953e-05/0.6628, allocations: 20 kB / 0.7273 GB, free: 12.28 MB / 474.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.004707/0.6676, allocations: 1.811 MB / 0.7291 GB, free: 10.54 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.6676, allocations: 11.98 kB / 0.7291 GB, free: 10.53 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001852/0.6678, allocations: 130.6 kB / 0.7292 GB, free: 10.45 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002786/0.6706, allocations: 0.5258 MB / 0.7297 GB, free: 9.961 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.672, allocations: 0.8123 MB / 0.7305 GB, free: 9.281 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.6723, allocations: 360.7 kB / 0.7309 GB, free: 8.906 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.6725, allocations: 79.31 kB / 0.731 GB, free: 8.855 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.6742, allocations: 1.026 MB / 0.732 GB, free: 8.188 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.6743, allocations: 0 / 0.732 GB, free: 8.188 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.565e-05/0.6744, allocations: 32.44 kB / 0.732 GB, free: 8.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.6744, allocations: 20 kB / 0.732 GB, free: 8.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.6761, allocations: 0.9655 MB / 0.7329 GB, free: 7.555 MB / 474.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.007319/0.6834, allocations: 4.07 MB / 0.7369 GB, free: 4.344 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007435/0.6909, allocations: 2.921 MB / 0.7398 GB, free: 1.68 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.6919, allocations: 0.6555 MB / 0.7404 GB, free: 1.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.6921, allocations: 24.67 kB / 0.7404 GB, free: 1.301 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.6921, allocations: 41.81 kB / 0.7405 GB, free: 1.258 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 3.587e-06/0.6921, allocations: 3.938 kB / 0.7405 GB, free: 1.254 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.01461/0.7068, allocations: 4.732 MB / 0.7451 GB, free: 13.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.7069, allocations: 93.61 kB / 0.7452 GB, free: 13.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.7084, allocations: 0.915 MB / 0.7461 GB, free: 12.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000277/0.7087, allocations: 44.33 kB / 0.7461 GB, free: 12.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.7091, allocations: 0.5198 MB / 0.7466 GB, free: 12.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003892/0.7095, allocations: 387.3 kB / 0.747 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.7095, allocations: 17.56 kB / 0.747 GB, free: 11.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7096, allocations: 343.4 kB / 0.7473 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008093/0.7105, allocations: 0.4913 MB / 0.7478 GB, free: 11.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008702/0.7113, allocations: 0.6265 MB / 0.7484 GB, free: 10.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008574/0.7122, allocations: 0.5407 MB / 0.749 GB, free: 10.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.7122, allocations: 0 / 0.749 GB, free: 10.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003141/0.7154, allocations: 1.781 MB / 0.7507 GB, free: 8.809 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.7154, allocations: 8.062 kB / 0.7507 GB, free: 8.801 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.7154, allocations: 7.984 kB / 0.7507 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008198/0.7236, allocations: 2.471 MB / 0.7531 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.7243, allocations: 127.8 kB / 0.7533 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004293/0.7286, allocations: 2.211 MB / 0.7554 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.7305, allocations: 207 kB / 0.7556 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.7306, allocations: 35.98 kB / 0.7556 GB, free: 3.715 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.0002701/0.7309, allocations: 152.8 kB / 0.7558 GB, free: 3.559 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.7312, allocations: 130.4 kB / 0.7559 GB, free: 3.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/0.7455, allocations: 4.872 MB / 0.7607 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.7455, allocations: 12 kB / 0.7607 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.7455, allocations: 3.953 kB / 0.7607 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.169e-05/0.7456, allocations: 11.97 kB / 0.7607 GB, free: 14.52 MB / 0.4948 GB 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.0171/0.7627, allocations: 6.628 MB / 0.7672 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.7628, allocations: 0 / 0.7672 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/0.7635, allocations: 103.9 kB / 0.7673 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006371/0.7698, allocations: 2.013 MB / 0.7692 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002492/0.7701, allocations: 16 kB / 0.7693 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/0.7884, allocations: 7.85 MB / 0.7769 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7885, allocations: 0 / 0.7769 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.017/0.8055, allocations: 5.807 MB / 0.7826 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006699/0.8062, allocations: 243 kB / 0.7828 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005409/0.8068, allocations: 27.95 kB / 0.7829 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/0.8085, allocations: 147.9 kB / 0.783 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008712/0.8094, allocations: 241 kB / 0.7832 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/0.8096, allocations: 31.94 kB / 0.7833 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001352/0.811, allocations: 0.7264 MB / 0.784 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.811, allocations: 3.938 kB / 0.784 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001788/0.8128, allocations: 439.5 kB / 0.7844 GB, free: 5.918 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.01703/0.8298, allocations: 6.506 MB / 0.7907 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006365/0.8362, allocations: 2.091 MB / 0.7928 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.8363, allocations: 0 / 0.7928 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00523/0.8415, allocations: 1.776 MB / 0.7945 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.8426, allocations: 96.64 kB / 0.7946 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.8468, allocations: 2.175 MB / 0.7967 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006004/0.8474, allocations: 1.15 MB / 0.7979 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003972/0.8478, allocations: 90.88 kB / 0.7979 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005813/0.8484, allocations: 487.2 kB / 0.7984 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/0.8484, allocations: 4 kB / 0.7984 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05578/0.9042, allocations: 32.48 MB / 0.8301 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.9045, allocations: 174.1 kB / 0.8303 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/3.849, allocations: 0 / 0.8303 GB, free: 6.797 MB / 0.5573 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)