Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.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.GENSAL,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL",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.001409/0.001408, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.273/1.273, allocations: 222.9 MB / 238.9 MB, free: 4.715 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.001144/0.001144, allocations: 188.4 kB / 289.2 MB, free: 2.453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4167/0.4167, allocations: 78.52 MB / 417.9 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 75.88 kB / 497 MB, free: 6.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1046, allocations: 68.18 MB / 0.552 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.188/0.2926, allocations: 7.344 MB / 0.5591 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003432/0.296, allocations: 2.25 MB / 0.5613 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005955/0.2966, allocations: 13.44 kB / 0.5613 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005155/0.2972, allocations: 217.1 kB / 0.5616 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.2993, allocations: 1.025 MB / 0.5626 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.3004, allocations: 0.5194 MB / 0.5631 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.3019, allocations: 1.882 MB / 0.5649 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.3023, allocations: 325 kB / 0.5652 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006585/0.303, allocations: 0.721 MB / 0.5659 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007429/0.3038, allocations: 0.9532 MB / 0.5668 GB, free: 34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.3039, allocations: 136.4 kB / 0.567 GB, free: 34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005037/0.3044, allocations: 361.8 kB / 0.5673 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.3046, allocations: 361.1 kB / 0.5677 GB, free: 33.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.3051, allocations: 0.7552 MB / 0.5684 GB, free: 33.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.3062, allocations: 1.845 MB / 0.5702 GB, free: 33.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3062, allocations: 0.625 kB / 0.5702 GB, free: 33.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3062, allocations: 0 / 0.5702 GB, free: 33.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.3063, allocations: 0.875 kB / 0.5702 GB, free: 33.21 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.0118/0.3181, allocations: 3.587 MB / 0.5737 GB, free: 32.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3181, allocations: 10.5 kB / 0.5737 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.3183, allocations: 133.6 kB / 0.5738 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004146/0.3224, allocations: 0.711 MB / 0.5745 GB, free: 32.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.3236, allocations: 0.8935 MB / 0.5754 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/0.3238, allocations: 359.4 kB / 0.5758 GB, free: 31.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.324, allocations: 96.11 kB / 0.5758 GB, free: 31.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.3261, allocations: 1.211 MB / 0.577 GB, free: 31.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.3261, allocations: 0 / 0.577 GB, free: 31.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.852e-05/0.3262, allocations: 33.59 kB / 0.5771 GB, free: 31.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.3262, allocations: 19.91 kB / 0.5771 GB, free: 31.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.3283, allocations: 1.155 MB / 0.5782 GB, free: 31.17 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.005894/0.3342, allocations: 4.085 MB / 0.5822 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007144/0.3414, allocations: 2.639 MB / 0.5848 GB, free: 27.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.3429, allocations: 0.8243 MB / 0.5856 GB, free: 27.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.343, allocations: 22.12 kB / 0.5856 GB, free: 27.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3431, allocations: 50.16 kB / 0.5856 GB, free: 27.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 3.367e-06/0.3431, allocations: 0 / 0.5856 GB, free: 27.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.04045/0.3835, allocations: 9.716 MB / 0.5951 GB, free: 25.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.3836, allocations: 87.7 kB / 0.5952 GB, free: 25.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.3851, allocations: 1.092 MB / 0.5963 GB, free: 25.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.3853, allocations: 46.92 kB / 0.5963 GB, free: 25.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.3856, allocations: 0.4932 MB / 0.5968 GB, free: 24.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000337/0.386, allocations: 393.5 kB / 0.5972 GB, free: 24.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004965/0.3865, allocations: 274.2 kB / 0.5974 GB, free: 24.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.3865, allocations: 303.1 kB / 0.5977 GB, free: 24.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.3882, allocations: 0.8493 MB / 0.5986 GB, free: 23.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.3901, allocations: 1.025 MB / 0.5996 GB, free: 23.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/0.3935, allocations: 1.867 MB / 0.6014 GB, free: 22.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.3935, allocations: 0 / 0.6014 GB, free: 22.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01218/0.4057, allocations: 4.253 MB / 0.6055 GB, free: 21.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.4058, allocations: 6.875 kB / 0.6055 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.4058, allocations: 3.281 kB / 0.6056 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008219/0.414, allocations: 2.368 MB / 0.6079 GB, free: 20.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.4152, allocations: 235.3 kB / 0.6081 GB, free: 20.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005669/0.4209, allocations: 2.596 MB / 0.6106 GB, free: 18.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.4229, allocations: 210.2 kB / 0.6108 GB, free: 18.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.4231, allocations: 51.98 kB / 0.6109 GB, free: 18.33 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 (142): * Single equations (assignments): 141 * 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 {(28,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004973/0.4236, allocations: 257 kB / 0.6111 GB, free: 18.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/0.4239, allocations: 135.8 kB / 0.6112 GB, free: 18.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/0.4379, allocations: 4.616 MB / 0.6158 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.4379, allocations: 12 kB / 0.6158 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4379, allocations: 0 / 0.6158 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.4379, allocations: 3.984 kB / 0.6158 GB, free: 13.69 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.01539/0.4533, allocations: 6.338 MB / 0.622 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-06/0.4534, allocations: 0.625 kB / 0.622 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/0.4539, allocations: 103.8 kB / 0.6221 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006563/0.4605, allocations: 2.147 MB / 0.6242 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.4606, allocations: 27.98 kB / 0.6242 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02284/0.4835, allocations: 10.05 MB / 0.634 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4835, allocations: 0 / 0.634 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/0.5003, allocations: 5.671 MB / 0.6395 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/0.5008, allocations: 229.1 kB / 0.6398 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.501, allocations: 24 kB / 0.6398 GB, free: 4.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.5023, allocations: 103.9 kB / 0.6399 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007517/0.503, allocations: 241.1 kB / 0.6401 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/0.5031, allocations: 32.98 kB / 0.6401 GB, free: 4.406 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008666/0.504, allocations: 0.7248 MB / 0.6408 GB, free: 3.676 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.504, allocations: 0 / 0.6408 GB, free: 3.676 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001176/0.5052, allocations: 471.5 kB / 0.6413 GB, free: 3.215 MB / 446.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,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.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 (64): * Single equations (assignments): 63 * 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.01711/0.5223, allocations: 6.261 MB / 0.6474 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008075/0.5304, allocations: 2.575 MB / 0.6499 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5304, allocations: 0 / 0.6499 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005559/0.536, allocations: 1.813 MB / 0.6517 GB, free: 8.523 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.5372, allocations: 114 kB / 0.6518 GB, free: 8.414 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03631/0.5735, allocations: 17.5 MB / 0.6689 GB, free: 6.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/0.5741, allocations: 1.113 MB / 0.67 GB, free: 5.375 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004646/0.5746, allocations: 109.1 kB / 0.6701 GB, free: 5.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/0.5752, allocations: 491.3 kB / 0.6706 GB, free: 4.789 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5752, allocations: 3.938 kB / 0.6706 GB, free: 4.785 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05361/0.6288, allocations: 35.53 MB / 0.7053 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.629, allocations: 207.6 kB / 0.7054 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/3.22, allocations: 4 kB / 0.7055 GB, free: 1.324 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)