Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08314/0.08314, allocations: 12.6 MB / 28.1 MB, free: 0.832 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 107.5 kB / 31.69 MB, free: 3.965 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.1 MB / 240.3 MB, free: 12.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 184.5 kB / 290.6 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4524/0.4524, allocations: 78.51 MB / 419.2 MB, free: 11.36 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002592/0.002592, allocations: 131.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2689, allocations: 68.11 MB / 0.5547 GB, free: 32.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.005919/0.2749, allocations: 7.052 MB / 0.5616 GB, free: 27.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003756/0.2787, allocations: 2.179 MB / 0.5637 GB, free: 25.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007083/0.2794, allocations: 10.5 kB / 0.5637 GB, free: 25.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005412/0.28, allocations: 269.3 kB / 0.564 GB, free: 25.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.2822, allocations: 1.151 MB / 0.5651 GB, free: 24.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.2833, allocations: 0.569 MB / 0.5656 GB, free: 24.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00179/0.2851, allocations: 1.885 MB / 0.5675 GB, free: 23.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004107/0.2856, allocations: 318.7 kB / 0.5678 GB, free: 23.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007832/0.2864, allocations: 0.7213 MB / 0.5685 GB, free: 22.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000841/0.2872, allocations: 0.9446 MB / 0.5694 GB, free: 21.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002164/0.2874, allocations: 140.7 kB / 0.5695 GB, free: 21.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006231/0.2881, allocations: 355.3 kB / 0.5699 GB, free: 21.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.2883, allocations: 369.2 kB / 0.5702 GB, free: 21.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000537/0.2888, allocations: 0.7415 MB / 0.571 GB, free: 20.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.2903, allocations: 1.853 MB / 0.5728 GB, free: 19.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2903, allocations: 0 / 0.5728 GB, free: 19.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2903, allocations: 3.938 kB / 0.5728 GB, free: 19.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.2903, allocations: 1.125 kB / 0.5728 GB, free: 19.59 MB / 398.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.01329/0.3036, allocations: 3.581 MB / 0.5763 GB, free: 17.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/0.3037, allocations: 11.98 kB / 0.5763 GB, free: 17.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.3039, allocations: 138.8 kB / 0.5764 GB, free: 17.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004405/0.3083, allocations: 0.7124 MB / 0.5771 GB, free: 16.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.3097, allocations: 0.895 MB / 0.578 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.31, allocations: 353.5 kB / 0.5783 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.3101, allocations: 91.94 kB / 0.5784 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.3122, allocations: 1.215 MB / 0.5796 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.3122, allocations: 0 / 0.5796 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.622e-05/0.3123, allocations: 32 kB / 0.5796 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.3123, allocations: 16 kB / 0.5796 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.3145, allocations: 1.156 MB / 0.5808 GB, free: 12.59 MB / 398.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.005718/0.3202, allocations: 4.083 MB / 0.5847 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007/0.3273, allocations: 2.651 MB / 0.5873 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.3287, allocations: 0.8205 MB / 0.5881 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.3288, allocations: 24.97 kB / 0.5882 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.3288, allocations: 39.56 kB / 0.5882 GB, free: 4.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 2.474e-06/0.3289, allocations: 8 kB / 0.5882 GB, free: 4.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=107): time 0.03935/0.3682, allocations: 9.722 MB / 0.5977 GB, free: 10.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.3683, allocations: 94.03 kB / 0.5978 GB, free: 10.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.3698, allocations: 1.081 MB / 0.5988 GB, free: 9.656 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002649/0.3701, allocations: 49.7 kB / 0.5989 GB, free: 9.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.3705, allocations: 0.4934 MB / 0.5994 GB, free: 9.102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004635/0.371, allocations: 386.4 kB / 0.5997 GB, free: 8.719 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005091/0.3715, allocations: 279.4 kB / 0.6 GB, free: 8.441 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3716, allocations: 301.1 kB / 0.6003 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.3735, allocations: 0.8433 MB / 0.6011 GB, free: 7.301 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.3756, allocations: 1.03 MB / 0.6021 GB, free: 6.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003919/0.3795, allocations: 1.87 MB / 0.604 GB, free: 4.312 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.3795, allocations: 0 / 0.604 GB, free: 4.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01299/0.3925, allocations: 4.248 MB / 0.6081 GB, free: 48 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.3926, allocations: 12.31 kB / 0.6081 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.3926, allocations: 0 / 0.6081 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008974/0.4016, allocations: 2.361 MB / 0.6104 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.403, allocations: 239.7 kB / 0.6107 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006509/0.4095, allocations: 2.591 MB / 0.6132 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.4116, allocations: 210.5 kB / 0.6134 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.4117, allocations: 51.98 kB / 0.6134 GB, free: 10.56 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.0005438/0.4123, allocations: 258.1 kB / 0.6137 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/0.4127, allocations: 134.2 kB / 0.6138 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/0.4287, allocations: 4.629 MB / 0.6183 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.378e-05/0.4287, allocations: 12 kB / 0.6183 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.4288, allocations: 3.984 kB / 0.6183 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.331e-05/0.4288, allocations: 7.984 kB / 0.6183 GB, free: 5.484 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.01808/0.4469, allocations: 6.318 MB / 0.6245 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.4469, allocations: 0 / 0.6245 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006373/0.4476, allocations: 111.8 kB / 0.6246 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007603/0.4552, allocations: 2.146 MB / 0.6267 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/0.4555, allocations: 23.94 kB / 0.6267 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0263/0.4818, allocations: 10.05 MB / 0.6366 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4818, allocations: 0 / 0.6366 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/0.4999, allocations: 5.674 MB / 0.6421 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006669/0.5006, allocations: 235.1 kB / 0.6423 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004838/0.5011, allocations: 20 kB / 0.6423 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.5027, allocations: 107.9 kB / 0.6424 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008036/0.5035, allocations: 237.1 kB / 0.6427 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-05/0.5036, allocations: 35.92 kB / 0.6427 GB, free: 12.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001031/0.5046, allocations: 0.7209 MB / 0.6434 GB, free: 11.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5046, allocations: 0 / 0.6434 GB, free: 11.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001399/0.506, allocations: 475.5 kB / 0.6439 GB, free: 11.02 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,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.01861/0.5246, allocations: 6.245 MB / 0.65 GB, free: 4.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009219/0.5339, allocations: 2.588 MB / 0.6525 GB, free: 2.145 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.534, allocations: 0 / 0.6525 GB, free: 2.145 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006199/0.5402, allocations: 1.817 MB / 0.6543 GB, free: 324 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.5416, allocations: 108.5 kB / 0.6544 GB, free: 216 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04158/0.5832, allocations: 17.09 MB / 0.6711 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009471/0.5843, allocations: 1.117 MB / 0.6721 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006102/0.5849, allocations: 104.2 kB / 0.6722 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008419/0.5857, allocations: 495.3 kB / 0.6727 GB, free: 12.95 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5858, allocations: 0 / 0.6727 GB, free: 12.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07514/0.6609, allocations: 36.85 MB / 0.7087 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.38, allocations: 7.312 kB / 0.7087 GB, free: 8.145 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)