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.001103/0.001103, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.315/1.315, allocations: 223.2 MB / 238.9 MB, free: 5.492 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.001287/0.001287, allocations: 193 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4644/0.4644, allocations: 79.45 MB / 420.7 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003932, allocations: 15.98 kB / 0.4891 GB, free: 5.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4263, allocations: 69.51 MB / 0.557 GB, free: 37.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.005382/0.4317, allocations: 6.132 MB / 0.5629 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004117/0.4359, allocations: 2.215 MB / 0.5651 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007261/0.4366, allocations: 14.72 kB / 0.5651 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005052/0.4371, allocations: 186.5 kB / 0.5653 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.4393, allocations: 0.9265 MB / 0.5662 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.4404, allocations: 498.5 kB / 0.5667 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.4419, allocations: 1.126 MB / 0.5678 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/0.4423, allocations: 260.8 kB / 0.568 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006208/0.443, allocations: 0.6223 MB / 0.5686 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007567/0.4437, allocations: 0.8297 MB / 0.5695 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.4439, allocations: 76.44 kB / 0.5695 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005242/0.4444, allocations: 220.1 kB / 0.5697 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.4446, allocations: 300.8 kB / 0.57 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.4448, allocations: 243.2 kB / 0.5703 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009892/0.4458, allocations: 1.322 MB / 0.5715 GB, free: 34.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.4458, allocations: 2.344 kB / 0.5715 GB, free: 34.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4458, allocations: 0 / 0.5715 GB, free: 34.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.4459, allocations: 0 / 0.5715 GB, free: 34.72 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.0107/0.4566, allocations: 3.091 MB / 0.5746 GB, free: 33.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.4566, allocations: 8.562 kB / 0.5746 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000468/0.4571, allocations: 138.2 kB / 0.5747 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/0.4618, allocations: 0.7237 MB / 0.5754 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.4635, allocations: 0.8804 MB / 0.5763 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003269/0.4639, allocations: 371.2 kB / 0.5766 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.4641, allocations: 85.12 kB / 0.5767 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.4664, allocations: 1.294 MB / 0.578 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.4664, allocations: 0 / 0.578 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.4665, allocations: 36.95 kB / 0.578 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.4665, allocations: 19.12 kB / 0.578 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.4688, allocations: 1.246 MB / 0.5792 GB, free: 31.55 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.00729/0.4761, allocations: 4.324 MB / 0.5835 GB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008207/0.4844, allocations: 3.236 MB / 0.5866 GB, free: 27.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.4846, allocations: 30.98 kB / 0.5867 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.4847, allocations: 43.22 kB / 0.5867 GB, free: 27.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.236e-06/0.4847, allocations: 0 / 0.5867 GB, free: 27.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.04732/0.532, allocations: 12.27 MB / 0.5987 GB, free: 26.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.5321, allocations: 92.27 kB / 0.5988 GB, free: 25.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/0.5341, allocations: 1.101 MB / 0.5998 GB, free: 25.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003774/0.5345, allocations: 47.09 kB / 0.5999 GB, free: 25.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.5349, allocations: 0.4977 MB / 0.6004 GB, free: 25.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004852/0.5354, allocations: 399.3 kB / 0.6007 GB, free: 24.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.5355, allocations: 29.28 kB / 0.6008 GB, free: 24.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.5356, allocations: 370.4 kB / 0.6011 GB, free: 24.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/0.5377, allocations: 0.9322 MB / 0.602 GB, free: 24.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/0.5399, allocations: 1.115 MB / 0.6031 GB, free: 23.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.5421, allocations: 1.007 MB / 0.6041 GB, free: 23.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.5421, allocations: 1 kB / 0.6041 GB, free: 23.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01844/0.5605, allocations: 6.101 MB / 0.6101 GB, free: 21.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.5606, allocations: 6.375 kB / 0.6101 GB, free: 21.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.5606, allocations: 3.969 kB / 0.6101 GB, free: 21.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009445/0.5701, allocations: 2.976 MB / 0.613 GB, free: 19.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.5714, allocations: 244.5 kB / 0.6132 GB, free: 19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005919/0.5773, allocations: 2.965 MB / 0.6161 GB, free: 16.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/0.5796, allocations: 238.7 kB / 0.6163 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.5798, allocations: 55.97 kB / 0.6164 GB, free: 15.72 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 (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.000502/0.5803, allocations: 265.5 kB / 0.6166 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.5805, allocations: 134.3 kB / 0.6168 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/0.5952, allocations: 5.605 MB / 0.6222 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.5953, allocations: 12 kB / 0.6223 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.5953, allocations: 7.891 kB / 0.6223 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.234e-05/0.5953, allocations: 11.97 kB / 0.6223 GB, free: 9.672 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 postOpt removeSimpleEquations (simulation): time 0.01681/0.6121, allocations: 7.381 MB / 0.6295 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/0.6122, allocations: 1.344 kB / 0.6295 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006501/0.6129, allocations: 111.8 kB / 0.6296 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00723/0.6201, allocations: 2.51 MB / 0.632 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.6203, allocations: 21.42 kB / 0.6321 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02554/0.6459, allocations: 10.88 MB / 0.6427 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6459, allocations: 0 / 0.6427 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01863/0.6645, allocations: 6.783 MB / 0.6493 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000618/0.6652, allocations: 236.3 kB / 0.6495 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/0.6655, allocations: 27.89 kB / 0.6496 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.6669, allocations: 147.9 kB / 0.6497 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000802/0.6677, allocations: 237 kB / 0.6499 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.812e-05/0.6678, allocations: 29 kB / 0.65 GB, free: 13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001049/0.6688, allocations: 0.7406 MB / 0.6507 GB, free: 12.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6688, allocations: 0 / 0.6507 GB, free: 12.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001466/0.6703, allocations: 475.5 kB / 0.6511 GB, free: 11.79 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 (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.0192/0.6895, allocations: 7.433 MB / 0.6584 GB, free: 4.316 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008648/0.6982, allocations: 2.913 MB / 0.6612 GB, free: 1.406 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.6983, allocations: 3.938 kB / 0.6612 GB, free: 1.402 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006251/0.7045, allocations: 2.056 MB / 0.6633 GB, free: 15.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009899/0.7056, allocations: 84.66 kB / 0.6633 GB, free: 15.25 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006578/0.7122, allocations: 5.704 MB / 0.6689 GB, free: 9.504 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/0.7128, allocations: 1.153 MB / 0.67 GB, free: 8.324 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004703/0.7133, allocations: 107.6 kB / 0.6701 GB, free: 8.219 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006045/0.7139, allocations: 487.3 kB / 0.6706 GB, free: 7.742 MB / 478.1 MB Notification: Performance of SimCode: time 9.91e-07/0.7139, allocations: 0 / 0.6706 GB, free: 7.742 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05829/0.7722, allocations: 32.84 MB / 0.7027 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.7725, allocations: 197.9 kB / 0.7029 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.762/3.534, allocations: 0 / 0.7029 GB, free: 6.984 MB / 0.4981 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/linux/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) Environment - environmentSimulation: