Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.conf.json 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/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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1134/0.1134, allocations: 12.19 MB / 27.43 MB, free: 1.395 MB / 19.64 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 120.4 kB / 30.94 MB, free: 4.668 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.587/1.587, allocations: 205.1 MB / 239.4 MB, free: 10.92 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.001506/0.001506, allocations: 188.5 kB / 289.6 MB, free: 15.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5259/0.5259, allocations: 78.5 MB / 418.1 MB, free: 31.74 MB / 318.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.002486/0.002486, allocations: 136.9 kB / 498.5 MB, free: 444 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.4815, allocations: 68.03 MB / 0.5533 GB, free: 37.58 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.007047/0.4886, allocations: 6.588 MB / 0.5597 GB, free: 32.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003861/0.4925, allocations: 1.876 MB / 0.5615 GB, free: 31.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000696/0.4932, allocations: 11.5 kB / 0.5615 GB, free: 31.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.4939, allocations: 183.1 kB / 0.5617 GB, free: 31.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.4959, allocations: 0.7134 MB / 0.5624 GB, free: 30.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.4973, allocations: 0.5968 MB / 0.563 GB, free: 30.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.499, allocations: 1.626 MB / 0.5646 GB, free: 29.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004101/0.4994, allocations: 293.5 kB / 0.5649 GB, free: 29.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006017/0.5, allocations: 0.6223 MB / 0.5655 GB, free: 29.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007063/0.5008, allocations: 0.8033 MB / 0.5662 GB, free: 28.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.5009, allocations: 115.6 kB / 0.5664 GB, free: 28.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.5014, allocations: 235.4 kB / 0.5666 GB, free: 28.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.5016, allocations: 304.4 kB / 0.5669 GB, free: 28.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004509/0.502, allocations: 0.6476 MB / 0.5675 GB, free: 28.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.5033, allocations: 1.538 MB / 0.569 GB, free: 27.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5033, allocations: 3.281 kB / 0.569 GB, free: 27.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5033, allocations: 4 kB / 0.569 GB, free: 27.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.5034, allocations: 0 / 0.569 GB, free: 27.6 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.00784/0.5112, allocations: 2.623 MB / 0.5716 GB, free: 26.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.5113, allocations: 14.42 kB / 0.5716 GB, free: 26.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.5114, allocations: 121.9 kB / 0.5717 GB, free: 26.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003944/0.5154, allocations: 0.6819 MB / 0.5724 GB, free: 26.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.5165, allocations: 0.8138 MB / 0.5732 GB, free: 25.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003226/0.5168, allocations: 342.7 kB / 0.5735 GB, free: 25.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.517, allocations: 71.47 kB / 0.5736 GB, free: 25.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/0.5192, allocations: 1.141 MB / 0.5747 GB, free: 24.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.5192, allocations: 0 / 0.5747 GB, free: 24.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.5193, allocations: 32.81 kB / 0.5747 GB, free: 24.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.5194, allocations: 17.38 kB / 0.5747 GB, free: 24.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.5215, allocations: 1.084 MB / 0.5758 GB, free: 24.5 MB / 414.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.006973/0.5285, allocations: 3.6 MB / 0.5793 GB, free: 22.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008094/0.5366, allocations: 2.519 MB / 0.5818 GB, free: 21.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.5385, allocations: 0.7873 MB / 0.5825 GB, free: 21.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.5387, allocations: 17.86 kB / 0.5825 GB, free: 21.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.5387, allocations: 44.06 kB / 0.5826 GB, free: 21.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.595e-06/0.5387, allocations: 1.719 kB / 0.5826 GB, free: 21.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=97): time 0.04122/0.5799, allocations: 9.397 MB / 0.5918 GB, free: 17.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.58, allocations: 87.52 kB / 0.5918 GB, free: 17.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.5816, allocations: 0.9081 MB / 0.5927 GB, free: 16.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001696/0.5818, allocations: 45.58 kB / 0.5928 GB, free: 16.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.5821, allocations: 463.9 kB / 0.5932 GB, free: 16.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/0.5824, allocations: 344.3 kB / 0.5935 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003747/0.5828, allocations: 176 kB / 0.5937 GB, free: 15.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.5829, allocations: 343.1 kB / 0.594 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.5845, allocations: 0.6692 MB / 0.5947 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.5862, allocations: 0.8342 MB / 0.5955 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002957/0.5892, allocations: 1.525 MB / 0.597 GB, free: 13.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5892, allocations: 7.875 kB / 0.597 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01364/0.6028, allocations: 4.539 MB / 0.6014 GB, free: 8.902 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.6029, allocations: 11.28 kB / 0.6015 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.6029, allocations: 8 kB / 0.6015 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00694/0.6099, allocations: 2.349 MB / 0.6038 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.6105, allocations: 135.8 kB / 0.6039 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02642/0.637, allocations: 11.33 MB / 0.6149 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.6389, allocations: 159 kB / 0.6151 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/0.6392, allocations: 43.98 kB / 0.6151 GB, free: 10.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (83): * Single equations (assignments): 82 * 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 {(27,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0007506/0.6399, allocations: 231.2 kB / 0.6154 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000503/0.6404, allocations: 118.5 kB / 0.6155 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/0.6559, allocations: 4.436 MB / 0.6198 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.6559, allocations: 11.98 kB / 0.6198 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.656, allocations: 4 kB / 0.6198 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/0.656, allocations: 11.92 kB / 0.6198 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01847/0.6745, allocations: 6.077 MB / 0.6258 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.6745, allocations: 0 / 0.6258 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006715/0.6752, allocations: 87.89 kB / 0.6259 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00791/0.6832, allocations: 2.173 MB / 0.628 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.6834, allocations: 20 kB / 0.628 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02692/0.7103, allocations: 9.947 MB / 0.6377 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.7104, allocations: 4 kB / 0.6377 GB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01756/0.7279, allocations: 5.506 MB / 0.6431 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007321/0.7287, allocations: 215.4 kB / 0.6433 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004504/0.7292, allocations: 19.94 kB / 0.6433 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/0.7308, allocations: 104 kB / 0.6434 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009697/0.7318, allocations: 237.1 kB / 0.6436 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.7319, allocations: 23.98 kB / 0.6437 GB, free: 13.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001362/0.7333, allocations: 0.6304 MB / 0.6443 GB, free: 12.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7333, allocations: 0 / 0.6443 GB, free: 12.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002291/0.7356, allocations: 455.6 kB / 0.6447 GB, free: 12.07 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,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 (55): * Single equations (assignments): 54 * 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 {(27,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01813/0.7538, allocations: 6.077 MB / 0.6506 GB, free: 5.953 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008843/0.7627, allocations: 2.588 MB / 0.6532 GB, free: 3.355 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7627, allocations: 0 / 0.6532 GB, free: 3.355 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006021/0.7687, allocations: 1.764 MB / 0.6549 GB, free: 1.574 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.7705, allocations: 100.2 kB / 0.655 GB, free: 1.477 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04748/0.818, allocations: 17.12 MB / 0.6717 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.819, allocations: 1.088 MB / 0.6728 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005528/0.8196, allocations: 86.97 kB / 0.6729 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007197/0.8204, allocations: 431.2 kB / 0.6733 GB, free: 14.32 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/0.8204, allocations: 4 kB / 0.6733 GB, free: 14.31 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07487/0.8953, allocations: 36.84 MB / 0.7092 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.8955, allocations: 210.6 kB / 0.7094 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.987/3.883, allocations: 3.938 kB / 0.7094 GB, free: 9.27 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)