Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.GENCLS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_dev_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.001374/0.001374, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.364/1.364, allocations: 223.3 MB / 239 MB, free: 5.445 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.001208/0.001208, allocations: 176.5 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4892/0.4892, allocations: 79.48 MB / 420.8 MB, free: 3.93 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005243/0.0005248, allocations: 12 kB / 0.4892 GB, free: 5.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4382, allocations: 69.51 MB / 0.5571 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.005364/0.4437, allocations: 5.708 MB / 0.5627 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004024/0.4477, allocations: 1.808 MB / 0.5644 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008169/0.4486, allocations: 11.47 kB / 0.5644 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005474/0.4491, allocations: 174.2 kB / 0.5646 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.4506, allocations: 0.5061 MB / 0.5651 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.4522, allocations: 0.6808 MB / 0.5658 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001667/0.4538, allocations: 1.354 MB / 0.5671 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.4542, allocations: 231.6 kB / 0.5673 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006711/0.4549, allocations: 0.5326 MB / 0.5678 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009668/0.4559, allocations: 0.7212 MB / 0.5685 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.456, allocations: 64 kB / 0.5686 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.4565, allocations: 165.2 kB / 0.5688 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.4568, allocations: 244.5 kB / 0.569 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.4571, allocations: 219.2 kB / 0.5692 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.4582, allocations: 1.147 MB / 0.5703 GB, free: 35.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4582, allocations: 2.906 kB / 0.5703 GB, free: 35.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4582, allocations: 1.188 kB / 0.5703 GB, free: 35.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.189e-05/0.4583, allocations: 0 / 0.5703 GB, free: 35.32 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.007248/0.4655, allocations: 2.455 MB / 0.5727 GB, free: 34.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.4656, allocations: 10.47 kB / 0.5727 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003122/0.4659, allocations: 124 kB / 0.5728 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003956/0.4699, allocations: 0.6859 MB / 0.5735 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.4711, allocations: 0.7714 MB / 0.5743 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003002/0.4714, allocations: 352.1 kB / 0.5746 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.4716, allocations: 83.05 kB / 0.5747 GB, free: 33.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.4737, allocations: 1.207 MB / 0.5759 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.4737, allocations: 0 / 0.5759 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/0.4738, allocations: 36.02 kB / 0.5759 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.4738, allocations: 17.53 kB / 0.5759 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.4759, allocations: 1.167 MB / 0.5771 GB, free: 32.71 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.005502/0.4814, allocations: 3.672 MB / 0.5806 GB, free: 30.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006598/0.4881, allocations: 3.074 MB / 0.5836 GB, free: 29.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.4899, allocations: 0.8546 MB / 0.5845 GB, free: 29.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.49, allocations: 26.48 kB / 0.5845 GB, free: 29.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.49, allocations: 44.77 kB / 0.5845 GB, free: 29.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.236e-06/0.49, allocations: 0 / 0.5845 GB, free: 29.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03947/0.5295, allocations: 11.39 MB / 0.5957 GB, free: 27.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.5296, allocations: 93.08 kB / 0.5958 GB, free: 27.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.5317, allocations: 0.8974 MB / 0.5966 GB, free: 27.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002904/0.532, allocations: 41.98 kB / 0.5967 GB, free: 26.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.5324, allocations: 464.8 kB / 0.5971 GB, free: 26.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005932/0.533, allocations: 345.7 kB / 0.5974 GB, free: 26.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.5332, allocations: 19.72 kB / 0.5975 GB, free: 26.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5334, allocations: 347.1 kB / 0.5978 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.5352, allocations: 0.7502 MB / 0.5985 GB, free: 25.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.5372, allocations: 0.9077 MB / 0.5994 GB, free: 25.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.5392, allocations: 0.7971 MB / 0.6002 GB, free: 25.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.5392, allocations: 1.062 kB / 0.6002 GB, free: 25.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01774/0.557, allocations: 5.666 MB / 0.6057 GB, free: 23.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.5571, allocations: 7.25 kB / 0.6057 GB, free: 23.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.5571, allocations: 4.391 kB / 0.6057 GB, free: 23.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008567/0.5657, allocations: 2.703 MB / 0.6084 GB, free: 23.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/0.5665, allocations: 138.9 kB / 0.6085 GB, free: 23.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02567/0.5922, allocations: 11.74 MB / 0.62 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.5939, allocations: 207.6 kB / 0.6202 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002457/0.5942, allocations: 36 kB / 0.6202 GB, free: 11.82 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.0006879/0.5949, allocations: 229.6 kB / 0.6204 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004187/0.5953, allocations: 122.5 kB / 0.6205 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.6087, allocations: 5.475 MB / 0.6259 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.6087, allocations: 8 kB / 0.6259 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.6088, allocations: 1.438 kB / 0.6259 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-05/0.6088, allocations: 7.984 kB / 0.6259 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/0.6255, allocations: 7.122 MB / 0.6329 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/0.6255, allocations: 4 kB / 0.6329 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/0.6261, allocations: 91.89 kB / 0.633 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007346/0.6334, allocations: 2.526 MB / 0.6354 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/0.6337, allocations: 23.98 kB / 0.6354 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02449/0.6582, allocations: 10.19 MB / 0.6454 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.6582, allocations: 4.938 kB / 0.6454 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/0.6754, allocations: 6.624 MB / 0.6519 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005533/0.6761, allocations: 219.5 kB / 0.6521 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/0.6765, allocations: 16 kB / 0.6521 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.6779, allocations: 139.9 kB / 0.6522 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008189/0.6787, allocations: 237 kB / 0.6525 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.6788, allocations: 27.98 kB / 0.6525 GB, free: 10.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001094/0.6799, allocations: 0.6148 MB / 0.6531 GB, free: 9.789 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.68, allocations: 3.938 kB / 0.6531 GB, free: 9.785 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001976/0.6819, allocations: 455.6 kB / 0.6535 GB, free: 9.34 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.01719/0.6991, allocations: 7.19 MB / 0.6605 GB, free: 2.113 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007826/0.707, allocations: 2.862 MB / 0.6633 GB, free: 15.24 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.707, allocations: 0 / 0.6633 GB, free: 15.24 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005671/0.7127, allocations: 2.011 MB / 0.6653 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.7143, allocations: 108.2 kB / 0.6654 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02818/0.7425, allocations: 12.19 MB / 0.6773 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008166/0.7434, allocations: 1.088 MB / 0.6784 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004882/0.7439, allocations: 86.22 kB / 0.6785 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006529/0.7446, allocations: 423.3 kB / 0.6789 GB, free: 15.04 MB / 494.1 MB Notification: Performance of SimCode: time 4.428e-06/0.7446, allocations: 0 / 0.6789 GB, free: 15.04 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06056/0.8051, allocations: 34.27 MB / 0.7123 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.8054, allocations: 195 kB / 0.7125 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/3.422, allocations: 0 / 0.7125 GB, free: 12.85 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1) Environment - environmentSimulation: