Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.GENCLS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.001008/0.001008, allocations: 100.1 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.321/1.321, allocations: 223.2 MB / 238.9 MB, free: 5.672 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.001185/0.001185, allocations: 185 kB / 290.2 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5361/0.5361, allocations: 78.53 MB / 419.8 MB, free: 4.359 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005037/0.0005039, allocations: 12 kB / 499.7 MB, free: 6.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1726, allocations: 69.36 MB / 0.5558 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.3213/0.494, allocations: 5.364 MB / 0.561 GB, free: 37.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00482/0.4989, allocations: 1.851 MB / 0.5628 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008852/0.4998, allocations: 10.97 kB / 0.5628 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005675/0.5004, allocations: 171.2 kB / 0.563 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002/0.5024, allocations: 0.7334 MB / 0.5637 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.5038, allocations: 0.5491 MB / 0.5642 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.5058, allocations: 1.066 MB / 0.5653 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.5063, allocations: 228.8 kB / 0.5655 GB, free: 37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008555/0.5071, allocations: 0.5319 MB / 0.566 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007818/0.5079, allocations: 0.7068 MB / 0.5667 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.5081, allocations: 63.84 kB / 0.5668 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00043/0.5085, allocations: 170.4 kB / 0.5669 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.5087, allocations: 238 kB / 0.5672 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.509, allocations: 215 kB / 0.5674 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009772/0.51, allocations: 1.114 MB / 0.5684 GB, free: 36.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.51, allocations: 2.812 kB / 0.5684 GB, free: 36.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.51, allocations: 0 / 0.5684 GB, free: 36.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.51, allocations: 0 / 0.5684 GB, free: 36.41 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.007754/0.5178, allocations: 2.47 MB / 0.5709 GB, free: 35.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.5178, allocations: 9.406 kB / 0.5709 GB, free: 35.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002567/0.5181, allocations: 128 kB / 0.571 GB, free: 35.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004287/0.5224, allocations: 0.6873 MB / 0.5717 GB, free: 35.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.5242, allocations: 0.763 MB / 0.5724 GB, free: 35.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003696/0.5245, allocations: 365.5 kB / 0.5728 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.5247, allocations: 72.75 kB / 0.5728 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.5272, allocations: 1.21 MB / 0.574 GB, free: 34.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.5272, allocations: 0 / 0.574 GB, free: 34.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.349e-05/0.5273, allocations: 29.61 kB / 0.574 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.5273, allocations: 21.91 kB / 0.5741 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.5296, allocations: 1.163 MB / 0.5752 GB, free: 34.27 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.006187/0.5358, allocations: 3.796 MB / 0.5789 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007297/0.5431, allocations: 3.078 MB / 0.5819 GB, free: 30.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.5433, allocations: 20.08 kB / 0.5819 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.5434, allocations: 43.28 kB / 0.582 GB, free: 30.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.845e-06/0.5434, allocations: 0 / 0.582 GB, free: 30.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.04381/0.5872, allocations: 11.4 MB / 0.5931 GB, free: 29.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.5873, allocations: 87.73 kB / 0.5932 GB, free: 29.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.5892, allocations: 0.8975 MB / 0.5941 GB, free: 28.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003723/0.5895, allocations: 46.39 kB / 0.5941 GB, free: 28.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/0.59, allocations: 464.1 kB / 0.5945 GB, free: 28.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005248/0.5905, allocations: 345.1 kB / 0.5949 GB, free: 28.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/0.5906, allocations: 20 kB / 0.5949 GB, free: 28.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5908, allocations: 344.2 kB / 0.5952 GB, free: 27.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/0.5927, allocations: 0.7493 MB / 0.596 GB, free: 27.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.5945, allocations: 0.9042 MB / 0.5968 GB, free: 27.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.5963, allocations: 0.8001 MB / 0.5976 GB, free: 26.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.5963, allocations: 0.5 kB / 0.5976 GB, free: 26.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01834/0.6146, allocations: 5.663 MB / 0.6032 GB, free: 25.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.6147, allocations: 7.062 kB / 0.6032 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.6147, allocations: 7.859 kB / 0.6032 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008645/0.6234, allocations: 2.694 MB / 0.6058 GB, free: 25.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/0.6242, allocations: 136.6 kB / 0.6059 GB, free: 25.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02792/0.6521, allocations: 12.32 MB / 0.618 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.6539, allocations: 203.1 kB / 0.6182 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.654, allocations: 36.98 kB / 0.6182 GB, free: 13.92 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 (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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004976/0.6545, allocations: 237.5 kB / 0.6184 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.6547, allocations: 122.5 kB / 0.6185 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/0.6692, allocations: 5.475 MB / 0.6239 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.6693, allocations: 8 kB / 0.6239 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.6693, allocations: 8.516 kB / 0.6239 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/0.6693, allocations: 3.984 kB / 0.6239 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/0.6859, allocations: 7.117 MB / 0.6308 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.686, allocations: 1.688 kB / 0.6309 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.6865, allocations: 97.08 kB / 0.6309 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007641/0.6941, allocations: 2.53 MB / 0.6334 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/0.6944, allocations: 21.83 kB / 0.6334 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02619/0.7206, allocations: 10.77 MB / 0.644 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7206, allocations: 0 / 0.644 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01854/0.7392, allocations: 6.633 MB / 0.6504 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.7397, allocations: 211.5 kB / 0.6506 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.7399, allocations: 20 kB / 0.6507 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.7411, allocations: 148.8 kB / 0.6508 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007895/0.7419, allocations: 233 kB / 0.651 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.259e-05/0.742, allocations: 30.25 kB / 0.651 GB, free: 11.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009298/0.7429, allocations: 0.6148 MB / 0.6516 GB, free: 11.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.743, allocations: 0 / 0.6516 GB, free: 11.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001609/0.7446, allocations: 459.5 kB / 0.6521 GB, free: 10.84 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 (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 {27 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.01823/0.7628, allocations: 7.275 MB / 0.6592 GB, free: 3.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008033/0.7709, allocations: 2.866 MB / 0.662 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.7709, allocations: 3.938 kB / 0.662 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006031/0.777, allocations: 2.001 MB / 0.6639 GB, free: 14.63 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008926/0.7779, allocations: 88.91 kB / 0.664 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005587/0.7835, allocations: 5.67 MB / 0.6696 GB, free: 8.758 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.7841, allocations: 1.111 MB / 0.6706 GB, free: 7.613 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003197/0.7844, allocations: 86.27 kB / 0.6707 GB, free: 7.527 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.7849, allocations: 429.2 kB / 0.6711 GB, free: 7.109 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7849, allocations: 0 / 0.6711 GB, free: 7.109 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05286/0.8378, allocations: 33.69 MB / 0.704 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/0.8381, allocations: 193.6 kB / 0.7042 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/3.586, allocations: 0 / 0.7042 GB, free: 5.473 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENCLS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1) Environment - environmentSimulation: